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

Compiler complaints in abstract class

 
Magnus Stattin
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Will the compiler complain with an error if you do not include the the methods from the javax.ejb.EntityBean in an CMP? i.e ejbLoad, ejbStore...
As the bean class in a CMP is abstract wouldn't it make it through compilation and fail at deployment instead?
The sharpen your pencil exercise on page 319 got me thinking about this.
/Magnus
 
Philippe Maquet
Bartender
Posts: 1872
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As the bean class in a CMP is abstract wouldn't it make it through compilation and fail at deployment instead?

You're right.
Best,
Phil.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic