Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

EJB spec in exam?

 
Pourang Emami
Ranch Hand
Posts: 127
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
According to the spec for an ejbHome method:
The method must be declared as public.
The method must not be declared as static.
So is it ok for instance having a final or abstract ejbHome method?
 
Joyce Lee
Ranch Hand
Posts: 1392
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So is it ok for instance having a final or abstract ejbHome method?

I don't know abt the final. But definitely not for abstract. The Container is responsible for implementing abstract accessors (getter/setter) in entity bean class, but not the ejbHome method.
Joyce
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic