Seam uses (can use) EJB session beans implementing a local interface for its 
"action components". You could just as well have a separate session bean that 
is just a standard EJB3 thing with all your business methods and without any 
seam anotations and then have your action beans look up the session bean and 
call its methods. This all depends on what you need. If you want to use your 
session beans from the outside world (desktop app) you'll have to implement a 
remote interface and it's not always sure that you want to have the same 
interfaces for local and remote anyway. I think the lack of strict layers in 
the examples is as you say for brevity. There's nothing in Seam that forces you 
to do it as it's done in the examples. And at the same time there is no law 
that says you need strict layers to acomplish the tasks that the example apps 
are there to solve.

For your other question I'd say you just have to get used top it, you'll love 
it :-)

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

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


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to