| What is the difference between EJB Create() and EJB PostCreate() |
|
|
|
| < Prev | Next > |
|---|
Java Technologies
EJB - Interview Questions
What is the difference between EJB Create() and EJB PostCreate() | Fresher Jobs |
| BPO - ITES Jobs |
| Experienced Jobs |
| Management / HR Jobs |
| GovtJobs |
| Placement Papers |
| Resume Submission |
| Companies & Consultants |
| Leadership Skills |
| Gate Preparation |
| What is the difference between EJB Create() and EJB PostCreate() |
|
|
|
| < Prev | Next > |
|---|
| Certification Zone |
A feed could not be found at http://www.sgeek.com/option,com_rd_rss/Itemid,146/
|
|
The ejbPostCreate method returns void, and it has the same input parameters as the ejbCreate method. If we want to set a relationship field to initialize the bean instance, we should do so in the ejbPostCreate method. we cannot set a relationship field in the ejbCreate method.
The ejbPostCreate() allows the bean to do any post-create processing before it begins serving client requests. For every ejbCreate() there must be a matching (matching arguments) ejbPostCreate() method.