| Author |
Hibernate with WebSphere/WebLogic.
|
Patrick Finnegan
Ranch Hand
Joined: Mar 05, 2002
Posts: 179
|
|
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
Joined: Jul 04, 2003
Posts: 1312
|
|
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 ]
|
SCJA,SCJP,SCWCD,SCBCD,SCEA I
Java Developer, Thailand
|
 |
Gavin King
author
Ranch Hand
Joined: Aug 31, 2004
Posts: 76
|
|
|
It is easy to use Hibernate in any J2EE application server. Hibernate will integrate with the appserver's transaction manager and JDBC Datasource.
|
Co-Author of <a href="http://www.amazon.com/exec/obidos/ASIN/193239415X/ref=jranch-20" target="_blank" rel="nofollow">Hibernate in Action</a>
|
 |
Alexandru Popescu
Ranch Hand
Joined: Jul 12, 2004
Posts: 995
|
|
[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.
|
blog - InfoQ.com
|
 |
Paul Sturrock
Bartender
Joined: Apr 14, 2004
Posts: 10336
|
|
|
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.
|
JavaRanch FAQ HowToAskQuestionsOnJavaRanch
|
 |
somkiat puisungnoen
Ranch Hand
Joined: Jul 04, 2003
Posts: 1312
|
|
Hi Paul Sturrock, Do you have some tutorial about Config Hibernate with WebLogic ?
|
 |
Robert Chisholm
Ranch Hand
Joined: Jul 18, 2004
Posts: 69
|
|
|
Just thought I'd add that I have recently set-up Hibernate in an Oracle App Server, and integrated the Data Source functionality effortlessly.
|
SCJP 1.4<br />(WIP) SCJD B&S v2.3.3
|
 |
somkiat puisungnoen
Ranch Hand
Joined: Jul 04, 2003
Posts: 1312
|
|
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
|
 |
 |
|
|
subject: Hibernate with WebSphere/WebLogic.
|
|
|