I followed this thread all long .

What I understand is this
 
BusinessInterface defines all your business methods
 
StateObject is derived from the BusinessInterface -contains the EntityBean state information and is
used as immutable(only getters are implemented) object to send state information back to the
client.Write the code for validation and creation of the StateObject here
 
YourEntityBean's Remote interface and Bean class also dervie from the BusinessInterface.This
assures that all methods are implemented.
 
You can have one or more entity beans like this and they can be wrapped by a SessionBean.This
can have its own Business Interface .This session bean returns the StateObjects for the entity beans.
 
 
Finally we have an AccessBean( AccessBean ( or what ever it is called http://www.c2.com/cgi/wiki?AccessBean
or http://www.c2.com/cgi/wiki?ClientViewOfEjb )at the client side as wrapper to the SessionBean so that we do
 all the OtherCode(-validation,notification of errors, user exceptions etc..) in this AccessBean
 
Could some make this clear ..

Thank you
Sesh

Reply via email to