This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin 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!