You should read relation ships in ejb 2.0 . initial text will clear your
doubts. There is no such concept of helper class. Previously it was called
dependent objects.



                    Manoj Kumar
                    <[EMAIL PROTECTED]        To:     [EMAIL PROTECTED]
                    OM>                      cc:     (bcc: ashwani.kalra/Polaris)
                    Sent by: A               Subject:     when a table should be 
represented as Entity Bean?
                    mailing list for
                    Enterprise
                    JavaBeans
                    development
                    <EJB-INTEREST@JAV
                    A.SUN.COM>


                    01/11/2003 05:10
                    PM
                    Please respond to
                    m.kumar







Hi,
   While designing the EJBs, a table can be represented as a Entity bean
and it could also be represented by just a helper class. e.g If i have a
Order table and a LineItem table and there is a one to many relationship
between the two tables. In my design i have represented them as two
seperate entity beans. However, LineItems could also be represented as a
helper class, instead of making it a Entity bean.What are the
guidelines, which tells that when a table should be represented as a
entity bean and when it should be a helper class???

Thanks
Manoj

===========================================================================
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 e-Mail may contain proprietary and confidential information and is sent for the 
intended recipient(s) only.
If by an addressing or transmission error this mail has been misdirected to you, you 
are requested to delete this mail immediately.
You are also hereby notified that any use, any form of reproduction, dissemination, 
copying, disclosure, modification,
distribution and/or publication of this e-mail message, contents or its attachment 
other than by its intended recipient/s is strictly prohibited.

Visit Us at http://www.polaris.co.in

Reply via email to