[jboss-user] [JBoss Seam] - Mixing EJB3 and POJO

smithbstl do-not-reply at jboss.com
Fri May 11 12:25:57 EDT 2007

Is it wise to mix the two when developing Seam applications?  I have situations where I need to create components that do nothing but perform database queries for me.  A SFSB is not really necessary (results will be passed to a SFSB from the querying component) and SLSB in Seam seem to be sort of pointless.  Can I create a simple POJO for this?  Can I use a TransactionalSeamPhaseListener with EJBs since I think I can only define one Phase Listener or the other to get a Persistence Context injected.

Or do I need to stick to a purely EJB3 application or purely POJO (J2EE)?



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

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

More information about the jboss-user mailing list