Everything is now a POJO... so some of the design patterns from EJB 2 are not 
valid any more.


For example:

- Value Objects...

    You don't need that as you don't need to convert your POJO to a POJO.

- SetEntityContext
    Lots of the events from EJB2 are not needed on EJB3. And even if you need 
then you can simply use an annotation

- Server State on EntityBeans
   While you could have server state on Entity Beans, you can't have them on 
POJOs. (You would serialize useless information needed on the client).


You will probably find some tools that will "convert" your application to EJB3, 
but my recommendation would be don't use them. 



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3971147#3971147

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3971147
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to