Hello,
        I think the answer to your question is "a little begining the
project, a little at middle, a little ending it".

        If you're using UML notation, for example, and something like RUP, a
good way to decide if an EJB is Session or Entity could be identify control
classes and entity classes (<<control>> and <<entity>> in UML standard). So
in early stages you can decide which analysis classes will be implemented
with one, two,... many session beans, and which will be with entity beans.

        Usually, I identify the entities (and from them I obtain the entity
beans -not directly, of course) and then the operations between entities
will be put inside session beans. Boundary classes (for example, those which
interact with user) will be session beans too. And there are a lot of
classes which are not enterprise beans!

        The best way to know if a class must be a session, an entity or
"standard" class is the stereotype. Take a look at RUP process.

Regards.
Luis Canals

-----Original Message-----
From: AMIT MALHOTRA [mailto:[EMAIL PROTECTED]]
Sent: jueves, 14 de septiembre de 2000 6:42
To: [EMAIL PROTECTED]
Subject: Application Design?


What should be design strategy while designing an EJB application? What
point of time should one decide on Entity/Session bean? Should one go for
EJB identification after all the business objects have been identified OR
the business objects should be identified,from the start itself,as entity
or session? Should a application be heavily loaded with entity beans?

Amit Malhotra

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

This message and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed.
No confidentiality or privilege is waived or lost by any wrong transmission.
If you have received this message in error, please immediately destroy it
and kindly notify the sender by reply email.
You must not, directly or indirectly, use, disclose, distribute, print, or
copy any part of this message if you are not the intended recipient.
Opinions, conclusions and other information in this message that do not
relate to the official business of Newknow shall be understood as neither
given nor endorsed by it.

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to