• Post Reply Bookmark Topic Watch Topic
  • New Topic

Question from Petstore

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 ]
I think I'll just lie down here for a second. And ponder this tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!