How can I access EJBs from JavaBeans Components?

Alex Chaffee

In short, JavaBeans are not special; you access EJBs from JavaBeans the way you would from any other EJB client.

However, JavaBeans can be useful as a 'wrapper' for EJBs that hide some of the complexities of EJBs and allow their use from other Java programs. A visual JavaBean, in particular, can be assembled in a GUI "bean builder" application, while an EJB often cannot. However, adapting an EJB to become a JavaBean can be very complicated and should not be undertaken lightly.

Perhaps another Guru can give feedback to this response with an example and/or source code demonstrating this technique.

0 Comments  (click to add your comment)
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

About | Sitemap | Contact