• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Stateful session beans

 
Piyush Jain
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HFEJB pg 218

public void ejbCreate(String name)
{
//some code
}

pg 220

home interface:

public Advice create() throws CreateException, RemoteException

wouldn't the home create() should match (create(String str)) the ejbCreate method?

Thanks
 
alzamabar
Ranch Hand
Posts: 379
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've landed the book to a colleague. But for your exam you are right. There should be an ejbCreate method in the session bean class matching each create method declared in the home interface.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic