Java Mailing List Archive

http://www.junlu.com/

Google
Google
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
Subjects
JSP editor plugin for eclipse ?
org apache jasper JasperException: Unable to compile class for JSP
Tomcat: Connection reset by peer: socket write error
Cannot retrieve definition for form bean null
Struts Tiles Tutorial (free Struts training)
Where do I download Tomcat 4 0 6?
Data Access Object (DAO) pattern, example DAO 's
Where to download Tomcat v 4 1 24 from?
Tomcat 5 0 16 Requested resource not available
Oracle Connection Pooling in 3 2 2
Servlet : Session invalidate
Servlet action is currently unavailable
Tomcat/Struts Unicode Encoding/Decoding problems
Tomcat and webapplication specific java library path
Running a Simple JMS Example
Mapping in workers2 properties
org apache jasper JasperException
Cannot find message resources under key org apache struts action
   MESSAGE
problem with html:text bean throwing exception
Cannot find message resources under key org apache struts action MESSAGE
invalid direct reference problem with solution
Tool for jsp debug Try Sysdeo Eclipse Plugin
Tomcat 5 Cannot load JDBC driver class 'null ' SQL state: null
weblogic ejbc
java properties file
Jboss 3 2 3 Coyote Can 't re
Tomcat 5, Apache2 and mod jk2 integration problem
JBoss example problem new to J2EE
url string for connecting jboss to oracle
Value attribute of <html:checkbox
javax servlet ServletException: BeanUtils populate
HTTP Status 404 The requested resource is not available
5 0 18: Windows XP Pro vs Windows 2000
 
EntityContext.equals

EntityContext.equals

2004-02-03       - By Vineeth Varghese

 Back
Reply:     1     2     3     4     5     6  

If this is true how is
java.lang.Object Source code of 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>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Obtain the primary
key of the EJB object that is currently
associated with this instance.</tt></td>
   </tr>
 </tbody>
</table>
<tt><br>
of&nbsp; 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)">&lt;Alok_Band@(protected)        To:      
J2EE-INTEREST@(protected)
                     .COM&gt;</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)">&lt;J2EE-INTEREST@(protected)
                     VA.SUN.COM&gt;</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>

©2008 junlu.com - Jax Systems, LLC, U.S.A.