Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

pg 155. pls guide

 
Deepa Korecherla
Ranch Hand
Posts: 197
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HFEJB pg.155.....I found only the 4th option as true.Am I right??
Can anyone give me the answers..pls don't ask to read or direct me to other link..
What r the answers??
 
Deepa Korecherla
Ranch Hand
Posts: 197
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can anyone guide me???
 
Chengwei Lee
Ranch Hand
Posts: 884
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why don't you post the question & suggested solutions out? Not many would have a copy of HFEJB with them at all times.
 
Saket Barve
Ranch Hand
Posts: 229
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This post will perhaps be confusing for those without HF-EJB.

Well, point #2 seems to make sense too "Entity Beans can be removed through a local home interface". What say?

Regards,
Saket
 
Deepa Korecherla
Ranch Hand
Posts: 197
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
a)The Only way to remove a local sess bean is thru the comp. interface.
b)Entity beans can be removed thru a local home interface
c)if u see isIdentical() call this must be a local bean
d)if u see a getHandle() thes must be a remote bean
e)If client is catching a rem. exp on a home meth, the bean's home interface must extend EJBLoaclHome

f)If client is not handling a rem. exp on a business meth, the bean's comp interface must extend EJBObject
g)If u see a call to getEJBMetaData(), the bean's comp interface must extend EJBLocalObject
h)if u do a jndi lookup on lcal home, u must narrow the obj returned from jndi
i)there r 3 meths in EJBLocalObj interface
j)there r 2 meths in EJBLocalhome interface

I find now that a,b,d r correct.
Pls clarify
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic