aspose file tools*
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
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Hibernate and Weblogic" Watch "Hibernate and Weblogic" New topic
Author

Hibernate and Weblogic

Rang sri
Greenhorn

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.

Thanks,

Regards,
Rang
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8866
    
    8

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.


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Hibernate and Weblogic