• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

What is the equivalent of Java Persistence API for .NET?

anergos

Junior Member
Hello,

I would like to ask two things:

1)Which is the equivalent of Java Persistence API for .NET?
2)Which is the best book for someone who knows Java but knows nothing for Java EE?

Thanks alot
 
1. The java language. One thing I'll give to java, the full implementation has about everything under the sun (or is it the oracle now?)

2. the Java docs? If you know java and want to program in Java EE, then I would just suggest reading up on the API. It isn't like it is a radically different language.
 
Hello,

I would like to ask two things:

1)Which is the equivalent of Java Persistence API for .NET?
2)Which is the best book for someone who knows Java but knows nothing for Java EE?

Thanks alot

1. There is an nHibernate framework for .Net. You can also use ADO.Net for entities 4.0 to persist objects to a relational database.
 
1. There is an nHibernate framework for .Net. You can also use ADO.Net for entities 4.0 to persist objects to a relational database.

I used Subsonic on a recent project and was pretty impressed by it. Much less intrusive than nHibernate. You basically just create your database, point the subsonic templates at it, and it generates a set of classes for CRUD access. Worth checking out.
 
1.) Linq to Sql - absolute pleasure to use. Mark - any first hand experience on how LINQ to SQL compares to SubSonic?
 
I thought that through COM+ .NET can achieve persistence and all this enterprise-like java abilities. Is it true? Any good book for Java EE except of java docs?
 
I havent used it yet, but the .Net Entity Framework seems to be getting a lot of press lately. I guess (not an expert on it) is that it is the natural successor to Linq-to-SQL
 
1.) Linq to Sql - absolute pleasure to use. Mark - any first hand experience on how LINQ to SQL compares to SubSonic?

It's basically the same thing. Have a look at it and you'll see what I mean. They have linq2sql templates, and probably the biggest advantage for me is simple programmatic access to stored procedures.
 
I havent used it yet, but the .Net Entity Framework seems to be getting a lot of press lately. I guess (not an expert on it) is that it is the natural successor to Linq-to-SQL

Thats what I hear. My brother informs me that Linq to SQL is supposed to be deprecated here in the future.

As for my first post, disregard it, I misunderstood the question 😀
 
I havent used it yet, but the .Net Entity Framework seems to be getting a lot of press lately. I guess (not an expert on it) is that it is the natural successor to Linq-to-SQL

I've only heard bad things about Enitity Framework.
I've heard good things about nHibernate, but I haven't used any of them.


L2SQL is great though (it's not perfect, but it gets the job done).
 
The equivalent for JPA is NPA (.NET Persistence API)
It is a specification based on JPA.
An implementation of the NPA spec also exists and is base on NHibernate.
see: http://www.npersistence.org
http://en.wikipedia.org/wiki/.NET_Persistence_API

Thanks for the information, but if you're planning on hanging around please don't necro 18 month-old threads in order to get a link in them.

Markbnj
Programming Moderator
 
Last edited by a moderator:
Back
Top