|
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 |
- Re: 'local' entity beans vs dependent objec... Marcus Ahnve
- Re: 'local' entity beans vs dependent o... Dave Muirhead
- Re: 'local' entity beans vs dependent objects Tom Larson
- Re: 'local' entity beans vs dependent objects Tom Larson
- Re: 'local' entity beans vs dependent objects Louth, William (Exchange)
- Re: 'local' entity beans vs dependent objects Jon Tirs�n
- Re: 'local' entity beans vs dependent objec... Dave Muirhead
- Re: 'local' entity beans vs dependent objects Jon Tirs�n
- Re: 'local' entity beans vs dependent objec... Marcus Ahnve
- Re: 'local' entity beans vs dependent objects Randy Stafford
- Sesh Kumar Jalagam
