• 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
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

Hibernate in JBoss

 
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
Can anybody pls give me a step by step procedure to follow in order to use Hibernate in JBoss, ie (building application using .har) as i am fairly new to Hibernate.I have read tutorials and i am able to deploy an application with Hibernate and deploy as WAR but i want to do it with .har (JBoss specific feature) can anybody pls tell me how to do it?.

Next question is when i developed application using Hibernate and putting it in .war i used hibernate.cfg.xml file to provide database specific information, where do i give this info when i am developing application using .har? is it oracle-ds.xml? if so where should i put this file in META-INF/* or somewhere else pls advice.

The app server i am using is JBoss.
thanks
aziz
 
rahul karwal
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i am using JBoss 4.0.2
 
Ranch Hand
Posts: 293
Mac OS X Netbeans IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There's a document on the JBoss Wiki that explains how to use HAR files.

Have a look at:

http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossHibernate3
 
rahul karwal
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Anyone??? pls help me configure hibernate in JBoss.
Where should i put the oracle-ds.xml file?
<module>
<har>
test.har
</har>
</module>
in application.xml or jboss-app
 
Do you want ants? Because that's how you get ants. And a tiny ads:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic