EJB
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   mandeep_baruah
Posted On:   Thursday, March 21, 2002 07:16 AM

What is the use of ejbPostCreate method, give me a example of it;s use.

Re: EJB

Posted By:   anupama_jagadeesh  
Posted On:   Thursday, March 21, 2002 11:46 AM

Typically you can code in the ejbPostCreate whatever you need to do after the instance of the bean becomes fully available, because the instance is created after the ejbCreate is called.

In the case of entity beans, we can realize the primary key by calling the getPrimaryKey() in the ejbPostCreate.
About | Sitemap | Contact