Hello,
Do we require the ejbPostCreate() in CMP ?
-
ejbPostCreate() in CMP beans (6 messages)
- Posted by: Jayashree Gopalakrishnan
- Posted on: December 23 2002 03:23 EST
Threaded Messages (6)
- ejbPostCreate() in CMP beans by David Jones on December 23 2002 18:02 EST
- ejbPostCreate() in CMP beans by Amit Gupta on December 24 2002 01:05 EST
- ejbPostCreate() in CMP beans by karthikeyan kandaswamy on December 24 2002 13:09 EST
- ejbPostCreate() in CMP beans by Bill Withers on December 28 2002 19:32 EST
- ejbPostCreate() in CMP beans by uu snow on January 08 2003 12:43 EST
- ejbPostCreate() in CMP beans by uu snow on February 12 2003 10:27 EST
- ejbPostCreate() in CMP beans by Bill Withers on December 28 2002 19:32 EST
-
ejbPostCreate() in CMP beans[ Go to top ]
- Posted by: David Jones
- Posted on: December 23 2002 18:02 EST
- in response to Jayashree Gopalakrishnan
yes -
ejbPostCreate() in CMP beans[ Go to top ]
- Posted by: Amit Gupta
- Posted on: December 24 2002 01:05 EST
- in response to David Jones
it is must;With out that how else will u return a reference to ejbObject ? -
ejbPostCreate() in CMP beans[ Go to top ]
- Posted by: karthikeyan kandaswamy
- Posted on: December 24 2002 13:09 EST
- in response to Jayashree Gopalakrishnan
Yes ejbPostCreate() is neccessary for CMP beans. You may leave it without any implementation or you may do post intialization operations in this method. It should have same parameters as in ejbCreate() method.
K.Siva Swamynatha -
ejbPostCreate() in CMP beans[ Go to top ]
- Posted by: Bill Withers
- Posted on: December 28 2002 19:32 EST
- in response to karthikeyan kandaswamy
If you wish to maintain relationships between your EJB's, you will then need to implement ejbPostCreate(). Until then, you'll probably leave it unimplemented. -
ejbPostCreate() in CMP beans[ Go to top ]
- Posted by: uu snow
- Posted on: January 08 2003 00:43 EST
- in response to Bill Withers
hi Bill Withers
you sain:If you wish to maintain relationships between your EJB's, you will then need to implement ejbPostCreate().
I can not understand your means.
can you give me a code example for this?
Thanks -
ejbPostCreate() in CMP beans[ Go to top ]
- Posted by: uu snow
- Posted on: February 12 2003 22:27 EST
- in response to Bill Withers
I means:
When do we need to writing code in the ejbPostCreate?