• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Hibernate with WebSphere/WebLogic.

 
Patrick Finnegan
Ranch Hand
Posts: 179
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hibernate with WebSphere/WebLogic.

To what extent does Hibernate integrate with WebSphere/WebLogic?

Both application servers are EJB centric offering transaction isolation, XA two phase commit and EJB workload management capabilities through EJB container services. These features are made available across a multi-server clustered environment.

Can Hibernate enabled applications served by WebLogic/WebSphere implement two phase commit in a federated database(multi database) environment and support clustered high availability architecture?
 
somkiat puisungnoen
Ranch Hand
Posts: 1312
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Patrick Finnegan:
Hibernate with WebSphere/WebLogic.

To what extent does Hibernate integrate with WebSphere/WebLogic?

Both application servers are EJB centric offering transaction isolation, XA two phase commit and EJB workload management capabilities through EJB container services. These features are made available across a multi-server clustered environment.

Can Hibernate enabled applications served by WebLogic/WebSphere implement two phase commit in a federated database(multi database) environment and support clustered high availability architecture?




First :: Integrate Hibernate with WebSphere 5.x

http://hibernate.org/173.html


Second :: Two-Phase-Commit with Hibernate
Hibernate support JTA ...

JTA transaction: one or more (XA) resources with start(), prepare(), commit()/rollback(). This is used for distributed transactions with 2 phase commit protocol. However, if only one resource is involved, a smart transaction manager should optimize the 2 phase commit into one phase commit by skiping the prepare() and calling commit(xid, true).
[ August 31, 2004: Message edited by: Somkiat Puisungnoen ]
 
Gavin King
author
Ranch Hand
Posts: 76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It is easy to use Hibernate in any J2EE application server. Hibernate will integrate with the appserver's transaction manager and JDBC Datasource.
 
Alexandru Popescu
Ranch Hand
Posts: 995
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
[Gavin completion - if he allows me ] offering you a viable solution for not using CMP.

Till this moment I have used Hibernate inside JBoss and Weblogic. Everything runs very smooth if you follow the guidelines given by the guys.
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We're currently deploying Hibernate on JBoss, Weblogic and WebSphere. All work as expected and it was considerably easier than configuring and deploying Entity Beans across the three.
 
somkiat puisungnoen
Ranch Hand
Posts: 1312
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Paul Sturrock,


Do you have some tutorial about Config Hibernate with WebLogic ?
 
Robert Chisholm
Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just thought I'd add that I have recently set-up Hibernate in an Oracle App Server, and integrated the Data Source functionality effortlessly.
 
somkiat puisungnoen
Ranch Hand
Posts: 1312
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I found some link about WebLogic with Hibernate

http://www.hibernate.org/120.html#A8

http://blogs.atlassian.com/scuttlebutt/archives/000201.html

//Chinese Language
http://www.hibernate.org.cn/60.html
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic