Originally posted by Suhas Madap:
Hi,
May I know, when the ejbCreate() method will get executed?
ejbCreate() is called behind the scenes when the client calls create() on your
EJB's home interface.
Can we pass arguments to the ejbCreate()?
Yes. You can write your own ejbCreate methods and then those signatures are valid.
If so for which session bean, we should do that? please explain this some pratical scenario.
This is more frequently done for entity beans than session beans. You could use it for stateless session beans though - if you wanted to pass some initialization information.