• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Problems in EJB Home accessing EJB Bean

 
Ranch Hand
Posts: 124
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Ranch Hand
Posts: 186
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
A home method must have a matching implementation in the bean class with the signature ejbHome<METHOD-NAME>
 
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic