This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Originally posted by omkar: i want to know how we can use MBean in hibernate Annotation.
Could you please tell us more about what you are trying to do? That will help us in pointing you to the right examples.
Joined: Dec 17, 2006
i have to use mbean with hibernate annotation in my project,basicaly i have used mbean with hibernate core in the same project.which is to be changed on hibernate annotation and mbean. the project is based on struts.
1 i have created har file which contains jboss-service.xml and hibernate-ds.xml
above is my jboss-service.xml
above is my hibernateannotation-ds.xml
This is my POJO class
This is my servlet which Access the database through JNDI
the error which is comming is
i think that ihave to configure the pojo but how i could do because i am getting the sessionfectory object through