• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Hibernate with WebSphere/WebLogic.

 
Ranch Hand
Posts: 179
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Ranch Hand
Posts: 1312
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
author
Posts: 76
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 995
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Bartender
Posts: 10336
Hibernate Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Paul Sturrock,


Do you have some tutorial about Config Hibernate with WebLogic ?
 
Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
reply
    Bookmark Topic Watch Topic
  • New Topic