[jboss-user] [JBoss Seam] - Re: Jsf form without entity component
wschwendt
do-not-reply at jboss.com
Sat Jul 7 11:52:52 EDT 2007
"luuzz" wrote : It's working great but i don't understand why i have to expose the setters and getters in the bean interface...
| Thanks
if my understanding is correct, you have to the declare getters and setters in the so-called "business interface" of your EJBs because with the EJB(3) architecture you're never accessing EJB bean instances directly. Technically, when a EJBean is called, a container-generated proxy/stub object is called which in turn delegates to the EJB instance. These container-generated proxy/stub objects implement the same methods as declared in the business interface of your EJB, that's why you need to define a business interface.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061609#4061609
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061609
More information about the jboss-user
mailing list