• Post Reply Bookmark Topic Watch Topic
  • New Topic

When the EJBHome object is created?

 
Gregory Boissinot
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I begin to learn the EJB 2.0 for the SCBCD 1.3.

My question is :

When the EJBHome object is created at the lifecyle of the EJB?
There is an EJBHome object per entreprise bean deployed. Is the server creates an instance of each EJJBHome object for each EJB deployed at the startup? Or, perhaps, the creation of the home object is done at the first JNDI lookup by a client?

Thanks.
 
Alex Sun
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The EJBObject is created when the client call EJBHome.create().
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!