[jboss-user] [JBoss Seam] - Re: When to use SessionBeans and when Pojos?

alexg79 do-not-reply at jboss.com
Wed Aug 22 20:02:14 EDT 2007


You only have to use @Remote when you plan to make the session bean available to clients outside the container JVM (for a client application).

There are a number of advantages to using EJB3 session beans instead of POJOs.
SFSB replication across the cluster is handled by the container, as is persistence context injection and transaction demarcation.
As I recall, the Seam documentation says that SFSB replication across the cluster is more efficient than that of Seam POJO components.

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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4077104



More information about the jboss-user mailing list