views:

88

answers:

4

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?

+5  A: 

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
Almost everyone uses Apache Commons on top of Java standard edition.
Dean J
@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
hah, what they call "enterprise" in .NET, in Java is called "commons" :)
Bozho
A: 

Logging: log4j (or the logging built into Java)

Configuration and data access helpers: Spring and perhaps Hibernate.

Jon Skeet
log4j and especially JUL aren't good compared to Logback or slf4j.
TheLQ
@Lord.Quackstar log4j is completely sufficient ;)
Bozho
A: 

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
A: 

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

TheLQ