• Post Reply Bookmark Topic Watch Topic
  • New Topic

Problems in EJB Home accessing EJB Bean  RSS feed

 
Mellihoney Michael
Ranch Hand
Posts: 124
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, I am a beginner in EJB. I have implemented and deployed a simple EJB Architecture using WebLogic. But when I run it, there is an error



My PortfolioHome, Remote and Bean class are defined appropriately, I think I need to define a method called retrievePortfolio(java.lang.String) in the PortfolioHome class to match the method used in the PortfolioRemote class. But this doesn't solve the problem, I still get the similar errors.

Could anyone provide me some hints to solve this problem?
 
Daniel Rhoades
Ranch Hand
Posts: 186
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A home method must have a matching implementation in the bean class with the signature ejbHome<METHOD-NAME>
 
Rajesh Agarwal
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Mellihoney,

I guess that is a business method and all business methods should be in the Remote interface and not in the home interface. But still there needs to be an implementation in the Bean class
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!