Forums Register Login

Problems in EJB Home accessing EJB Bean

+Pie Number of slices to send: Send
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?
+Pie Number of slices to send: Send
A home method must have a matching implementation in the bean class with the signature ejbHome<METHOD-NAME>
+Pie Number of slices to send: Send
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
"How many licks ..." - I think all of this dog's research starts with these words. Tasty tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 573 times.
Similar Threads
Unable to deploy an EJB.
ejbc error
Error Message: Filter [applicationContextMapFilter]: could not be initialized
Error from ejbc on ejbCreate and ejbPostCreate
ERROR: Error from ejbc
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 12:51:18.