This week's book giveaway is in the JavaFX forum.
We're giving away four copies of Introducing JavaFX 8 Programming and have Herbert Schildt on-line!
See this thread for details.
The moose likes BEA/Weblogic and the fly likes Hibernate and Weblogic Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Introducing JavaFX 8 Programming this week in the JavaFX forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Hibernate and Weblogic" Watch "Hibernate and Weblogic" New topic

Hibernate and Weblogic

Rang sri

Joined: Nov 22, 2007
Posts: 4
Hi All,

I have a query regarding how to deploy hibernate in Weblogic. I have been using Hibernate Archives in Jboss(.har file). Could you please tell me how do I package it in Weblogic and how to make a JNDI lookup in Weblogic to get the Session Factory.


Joe Ess

Joined: Oct 29, 2001
Posts: 9150

Hibernate Archive is a Jboss-only feature, so you'll have to package your app like a standard J2EE app (war/ear), configure Hibernate in the standard way (hibernate.cfg.xml) and bind the object yourself via InitalContext.bind() in a startup object.

[How To Ask Questions On JavaRanch]
I agree. Here's the link:
subject: Hibernate and Weblogic
It's not a secret anymore!