dcsimg
Wrapping a Javabean with an Enterprise Javabean
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Sriramya_Jambunathan
Posted On:   Monday, April 16, 2001 02:27 AM

hi,
I have a JavaBean (includes event publishing too) and I want to wrap all the Javabean methods in to an EJB. Can I do this? is there anything that I should be taking care. Right now, I am trying to use in weblogic and even though the javabean is there in the classpath, the server is not recognising it. In the J2EE container, I tried adding it in the library and after addition, it does not recognize the classfiles. Can someone please help?

Re: Wrapping a Javabean with an Enterprise Javabean

Posted By:   Django_Boonman  
Posted On:   Wednesday, April 25, 2001 08:32 AM

What I did is Made an EJB which inherits all functionality of the JavaBean. Now just select some of the methods to add to the remote interface.

public class myWrapperEJB extends myJavaBean implements SessionBean {...}
Should work!
About | Sitemap | Contact