"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#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...