Is there a way for JavaBeans (not EJB) to communicate directly with each other, or to know what other beans are currently in scope? Is it necessary for me to use a JSP to tie two beans together?

John Zukowski

As long as the beans know about each other, they can communicate directly, without going through the JSP to tie them together. This is usually done by setting one bean to being a property of another. There isn't really a way for the bean to find out what beans are in scope. They are stored in the context of the servlet/JSP.

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

 

 

 

 

 


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

 

 

About | Sitemap | Contact