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

Question from Petstore

 
ranjeeth kumar
Greenhorn
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

-Ranjeeth
[ February 10, 2005: Message edited by: ranjeeth kumar ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic