开发者

Enterprise Library DAAB for JAVA?

I'm looking for a java library thats similar to .NET's Enterprise Library specifically the Data Access block.

More details.. working on a java poc and would like a library t开发者_运维技巧o build the data access.. no ORM's or something too complicated. The library should be able to use MsSQL as a database.


Sounds like the Spring Framework's JdbcTemplate might be what you're looking for. It's a helper class for Java's built-in database library, JDBC. It wraps and simplifies JDBC calls, and allows you to pretty easily map rows to objects.

As their description says,

The Spring Framework takes care of all the grungy, low-level details that can make JDBC such a tedious API to develop with.

The Spring Framework library is available on the SpringSource download page. You can download the library, and it will be packaged with all of the JARs it depends on.


Apache DB Utils is somewhat similar to DAAB. Lightweight, simple, flexible. It wraps JDBC API.

However, mapping result sets to objects is all up to you.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜