Win a copy of Java 9 Modularity: Patterns and Practices for Developing Maintainable Applications this week in the Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Question from Petstore  RSS feed

ranjeeth kumar
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In petstore implementation There is

AccountEJB-(Entity Bean)
CustomerEJB-(Session Bean)

What is my understanding is that AccountEJB is for creating an account and CustomerEJB is maintaining the current logged in user details.

What I confused with is that both has methods to create customer ie.
AccountEJB.ejbCreate() & CustomerEJB.createAccount()

Any idea why it has been done like this?

Thanks in advance

[ February 10, 2005: Message edited by: ranjeeth kumar ]
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!