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