-
1. Re: Does Jboss eap 7.0.0 supports ejb 2.1 entity beans?
pjhavariotis Jan 20, 2017 5:57 AM (in response to anithamuppa)I am afraid you should consider a migration to EJB3 and JPA.
This error is related with the EJB3.2 specification where the EJB EntityBeans and the EJB-QueryLanguage for CMP (Container Managed Persistence) are optional and a Java EE7 container might not implement this old technology.
Unfortunately EJB Entity Beans are not supported in JBoss EAP 7. All the CMP & BMP entity beans must be rewritten to use Java Persistence API (JPA) entities.
-
2. Re: Does Jboss eap 7.0.0 supports ejb 2.1 entity beans?
andey Jan 20, 2017 6:09 AM (in response to pjhavariotis)1 of 1 people found this helpfulHi,
EJB entity beans are no longer supported in JBoss EAP 7. If your application uses EJB entity beans, you should migrate the code to use JPA, which offers a much more performant and flexible API.
Support for EJB Entity Beans is optional in Java EE 7 and they are not supported in JBoss EAP 7. This means container-managed persistence (CMP) and bean-managed persistence (BMP) entity beans must be rewritten to use Java Persistence API (JPA) entities when you migrate to JBoss EAP 7.
In JBoss EAP 7, you must replace any CMP and BMP entity beans in your code with Java Persistence API (JPA) entities. JPA entities are created using the javax.persistence.* classes and are defined in the
persistence.xml
file.