3

I am a .NET guy but recently have been placed on a Java project. Is there a java equivalent of .NET's Enterprise Library? More specifically, I only need a configuration manager, data access helper (parametrization and sanitize), and maybe a logger.

What are the hot tools for java development?

Haoest
  • 13,610
  • 29
  • 89
  • 105

4 Answers4

5

Sounds like the sort of horizontal tools that the likes of Apache Commons provides. These have been around for years, in some cases remaining useful today (e.g. Commons Lang, Commons Configuration), in other case now outdated and superseded by better things (Commons Collections by Google Guava, Commons Logging by SLF4J).

For simplified data access, the likes of iBatis or Spring JDBC are good starting points.

skaffman
  • 398,947
  • 96
  • 818
  • 769
  • Almost everyone uses Apache Commons on top of Java standard edition. – Dean J Aug 17 '10 at 20:55
  • @Dean J: I think its usage may be decreasing, partly due to the outdated examples mentioned, and also because the language itself has caught up a fair bit. – skaffman Aug 17 '10 at 20:59
  • 3
    hah, what they call "enterprise" in .NET, in Java is called "commons" :) – Bozho Aug 17 '10 at 20:59
0

Logging: log4j (or the logging built into Java)

Configuration and data access helpers: Spring and perhaps Hibernate.

Jon Skeet
  • 1,421,763
  • 867
  • 9,128
  • 9,194
0

It seems the .NET Enterprise Library is just a collection of libraries. For your particular needs there are many options. I'll suggest one of each:

Bozho
  • 588,226
  • 146
  • 1,060
  • 1,140
0

For DAO, I use Easier Java Persistence, which is extremely light and requires 0 configuration. Its really worth it

TheLQ
  • 14,830
  • 14
  • 69
  • 107