• Post Reply Bookmark Topic Watch Topic
  • New Topic

Generating CMP Entity Beans

 
Andy Fisher
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm wanting to generate some CMP Entity Beans and have defined the "public abstract" methods within the bean, but was wondering if I moved the getter methods into an Interface, but still keep them defined within my Deployment Descriptor, will the EJB container still go ahead and generate the method for me?
 
Deepak Bala
Bartender
Posts: 6663
5
Firefox Browser Linux MyEclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
if I moved the getter methods into an Interface,


The getter for the persistence fields ?

have defined the "public abstract" methods


Even ejbSelect methods are public and abstract so you need to be a touch more specific about these methods
 
Andy Fisher
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yeah, I was meaning for the persistence fields.

Cheers!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!