java ee 5 - javaee 5 bookstore sample to run with jboss 4.0 and hibernate

when i am trying to deploy bookstore1 web application from Netbeans ( JavaEE5 sample ) , i have changed the persistence.xml file to use hibernate :<persistence version="1.0" xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd"> <persistence-unit name="book" transaction-type="JTA"> <provider>org.hibernate.ejb.HibernatePersistence</provider> <jta-da...Read more

java ee 5 - Can JPA used with EE 5 servers

Can JPA 2.1 be used in EE 5 servers? I want to benefit the option of calling stored procedure capability. Iknow JPA can be used in a stand alone but i woder if this will has any affect on transactions management when used as a managed entity manager by the server as the specs specify that only JPA 1 which must be supported...Read more