Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Hibernate in JBoss

 
rahul karwal
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • 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
  • Quote
  • Report post to moderator
i am using JBoss 4.0.2
 
Dave Salter
Ranch Hand
Posts: 293
Java Mac OS X Netbeans IDE
  • Mark post as helpful
  • send pies
  • 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
  • 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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic