I am trying to explore what are the different options to package and deploy hibernate code in addition to EJB.jar in an ear file. I would ideally want hibernate sessionfactory to be registered in JNDI.
The only option that i have come across is creating a har file and configuring jboss-app.xml.
Are there any other options available ?