Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

pls answer this

 
Grishma Dube
Ranch Hand
Posts: 275
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can anyone answer these questions?
1. which object will you find in directory service? --- EJB
a.EJB home
b.EJB object
c.EJB instance
d.JNDI reference
2. How to serialize EJB?

Thanx in advance
 
Vishwa Kumba
Ranch Hand
Posts: 1066
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
1. EJB Home
2. We do not actually serialize EJBs or bean instances. We can retrieve handles to both home and remote interfaces, which can be seriliazed and used later to reconstruct back the home and remote interfaces, without doing a JNDI lookup.
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
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!