-
1. Re: Does JBOSS AS 7.1.x still support EJB2.0?
wdfink Nov 30, 2017 3:31 AM (in response to ericxiaomingzhao)Yes, AS7.1 still include EJB2.0 support.
But it is a complete redesign and some of the optimizations are not available, especially for EntityBeans using CMP!
A few enhancements were made for EAP6 which is the Enterprise version based on AS7.x
Since Wildfly 10 the support for EJB2.x EntityBeans is removed and the deploy will show an error if you try to deploy such Beans.
This is because the EJB3.2 specification marked EntityBeans as optional because it is a 10 year old approach.
Note: EJB2.0 SessionBeans are still allowed, but I recommend to use EJB3 implementation and if really necesarry use the legacy EJB2.x interfaces if you need to run EJB2.x clients. But you should aware that this is even more difficult and you need to change the client anyway.