  | Mailing List | | Home | | Forum Home | | JBoss - Java Application Server | | Struts - A MVC web framework | | Tomcat - JSP/Servlet container | | iText - An open source PDF Java Library | | JDOM - JDOM XML Parser | | J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition | | J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog | | Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology | | JSP - A mailing list about Java Server Pages specification and reference | |
Struts & Hibernate
|
|
|
  | | | EntityContext.equals | EntityContext.equals 2004-02-03 - By Vineeth Varghese
Back If this is true how is java.lang.Object getPrimaryKey <cid:part1.08010609.08070304@(protected)>() Obtain the primary key of the EJB object that is currently associated with this instance.
of EntityContext supposed to behave
Peace, Vineeth.
Deepak Rustagi wrote:
>Entitiy Context is a shared object and 10 instances of same bean should >have one Entity Context. Any Comments. > >Bye >deepak rustagi > > > > > Alok_Band > <Alok_Band@(protected) To: J2EE-INTEREST@(protected) .SUN.COM > .COM> cc: > Sent by: "A Subject: Re: EntityContext .equals > mailing list for > Java(tm) 2 > Platform, > Enterprise > Edition" > <J2EE-INTEREST@(protected) > VA.SUN.COM> > > > 03/02/2004 05:55 > Please respond to > "A mailing list > for Java(tm) 2 > Platform, > Enterprise > Edition" > > > > > >I think .equals method in EntityContext is inherited from Object class. >IMHO >it does not provide any specialized services. > >EntityContext is one per each Bean instance. If there are 10 bean instances >then there would be 10 EntityContext objects. > >EJB spec only mandates behavior of EntityContext object not implementation. > >Regards, >Alok > >-- --Original Message-- -- >From: Xie, Jinpeng [mailto:JXie@(protected)] >Sent: Monday, February 02, 2004 11:59 PM >To: J2EE-INTEREST@(protected) >Subject: EntityContext.equals > >How do I understand EntityContext.equals? >How many EntityContexts exist in one container? Is EntityContext a >singlet in one container? > > >Jim > >=========================================================================== >To unsubscribe, send email to listserv@(protected) and include in the body >of the message "signoff J2EE-INTEREST". For general help, send email to >listserv@(protected) and include in the body of the message "help". >************************************************************************** >This email (including any attachments) is intended for the sole use of the >intended recipient/s and may contain material that is CONFIDENTIAL AND >PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or >distribution or forwarding of any or all of the contents in this message is >STRICTLY PROHIBITED. If you are not the intended recipient, please contact >the sender by email and delete all copies; your cooperation in this regard >is appreciated. >************************************************************************** > >=========================================================================== >To unsubscribe, send email to listserv@(protected) and include in the body >of the message "signoff J2EE-INTEREST". For general help, send email to >listserv@(protected) and include in the body of the message "help". > >=========================================================================== >To unsubscribe, send email to listserv@(protected) and include in the body >of the message "signoff J2EE-INTEREST". For general help, send email to >listserv@(protected) and include in the body of the message "help". > > >
=========================================================================== To unsubscribe, send email to listserv@(protected) and include in the body of the message "signoff J2EE-INTEREST". For general help, send email to listserv@(protected) and include in the body of the message "help".
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859 (See http://ISO-8859.ora-code.com)-1"> <title></title> </head> <body text="#000000" bgcolor="#ffffff"> <tt>If this is true how is <br> </tt> <table border="1" width="100%" cellpadding="3" cellspacing="0" summary=""> <tbody> <tr bgcolor="white" class="TableRowColor"> <td align="right" valign="top" width="1%"><tt><font size="-1"><code>java .lang.Object</code></font></tt></td> <td><tt><code><b><a href="cid:part1.08010609.08070304@(protected)" >getPrimaryKey</a></b>()</code> <br> Obtain the primary key of the EJB object that is currently associated with this instance.</tt></td> </tr> </tbody> </table> <tt><br> of EntityContext supposed to behave<br> <br> Peace,<br> Vineeth.<br> </tt><br> Deepak Rustagi wrote:<br> <blockquote type="cite" cite="midOF407A2B6A.F145107E-ON65256E2F.00300976@(protected)"> <pre wrap="">Entitiy Context is a shared object and 10 instances of same bean should have one Entity Context. Any Comments.
Bye deepak rustagi
Alok_Band <a class="moz-txt-link-rfc2396E" href="mailto:Alok_Band @(protected):J2EE-INTEREST@(protected)"><Alok_Band@(protected) To: J2EE-INTEREST@(protected) .COM></a> cc: Sent by: "A Subject: Re: EntityContext .equals mailing list for Java(tm) 2 Platform, Enterprise Edition" <a class="moz-txt-link-rfc2396E" href="mailto:J2EE -INTEREST@(protected)"><J2EE-INTEREST@(protected) VA.SUN.COM></a>
03/02/2004 05:55 Please respond to "A mailing list for Java(tm) 2 Platform, Enterprise Edition"
I think .equals method in EntityContext is inherited from Object class. IMHO it does not provide any specialized services.
EntityContext is one per each Bean instance. If there are 10 bean instances then there would be 10 EntityContext objects.
EJB spec only mandates behavior of EntityContext object not implementation.
Regards, Alok
-- --Original Message-- -- From: Xie, Jinpeng [<a class="moz-txt-link-freetext" href="mailto:JXie@(protected) .FSU.EDU">mailto:JXie@(protected)</a>] Sent: Monday, February 02, 2004 11:59 PM To: <a class="moz-txt-link-abbreviated" href="mailto:J2EE-INTEREST@(protected) ">J2EE-INTEREST@(protected)</a> Subject: EntityContext.equals
How do I understand EntityContext.equals? How many EntityContexts exist in one container? Is EntityContext a singlet in one container?
Jim
=========================================================================== To unsubscribe, send email to <a class="moz-txt-link-abbreviated" href="mailto :listserv@(protected)">listserv@(protected)</a> and include in the body of the message "signoff J2EE-INTEREST". For general help, send email to <a class="moz-txt-link-abbreviated" href="mailto:listserv@(protected)" >listserv@(protected)</a> and include in the body of the message "help". ************************************************************************** This email (including any attachments) is intended for the sole use of the intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or distribution or forwarding of any or all of the contents in this message is STRICTLY PROHIBITED. If you are not the intended recipient, please contact the sender by email and delete all copies; your cooperation in this regard is appreciated. **************************************************************************
=========================================================================== To unsubscribe, send email to <a class="moz-txt-link-abbreviated" href="mailto :listserv@(protected)">listserv@(protected)</a> and include in the body of the message "signoff J2EE-INTEREST". For general help, send email to <a class="moz-txt-link-abbreviated" href="mailto:listserv@(protected)" >listserv@(protected)</a> and include in the body of the message "help".
=========================================================================== To unsubscribe, send email to <a class="moz-txt-link-abbreviated" href="mailto :listserv@(protected)">listserv@(protected)</a> and include in the body of the message "signoff J2EE-INTEREST". For general help, send email to <a class="moz-txt-link-abbreviated" href="mailto:listserv@(protected)" >listserv@(protected)</a> and include in the body of the message "help".
</pre> </blockquote> </body> </html> =========================================================================== To unsubscribe, send email to listserv@(protected) and include in the body of the message "signoff J2EE-INTEREST". For general help, send email to listserv@(protected) and include in the body of the message "help". <p>
|
|
 |