开发者

glassfish and hibernate

i saw that my glassfish server has a number of updates available, and i`ve noticed that hibernate 3.5 was one among them. I was wondering why would glassfish use hibernate. Then i have searched a little and i found that glassfish's default persistence implementention is toplink, and some guys tried to switch to hibernate.

But again, why ?

Is there a way of remove hibernate jar's from my app and put them on the application server so that every app that runs on glassfish can use them. I already use connection pool managed by glassfish and here i can understand the advantages.

Can someone explain or p开发者_Go百科oint me somewhere where i can find some documentation about that ?

Thank you


According to this, the default persistence provider of glassfish is toplink which now became eclipselink. So, I am not sure about the updates you mentioned. May be hibernate was added to the AS.

If you would like to use the jar but have it commonly stored in a repository, may be Maven would be a better choice. This is because, when you have the jar in the AS and not in your development environment, both development and unit testing would become difficult.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜