Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Helper class for EJB  RSS feed

 
Deepa Malhotra
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Question 1:
Can I have a helper class (a regular java bean) for my entity beans? If yes, should it be added to the ejb jar.
Question 2:
A Entity bean BMP has instance variables representing the columns in the database. The bean can also have additional instance variables. Can entity bean CMP have additional instance variables?
 
Pradeep bhatt
Ranch Hand
Posts: 8933
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes for both.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!