• Post Reply Bookmark Topic Watch Topic
  • New Topic

EJB spec in exam?  RSS feed

 
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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!