Title: useBean : how does it get the object instance
I see the JavaBean as an extension of the JSP, i.e., it's CLIENT code.
Using JavaBeans cleans up your JSP code, which should remain predominantly HTML.
The useBean tag should be used just as you would use a client side javabean- to get/set properties.
 
In future, when tools are available, an HTML author can whip up a sophisticated client that talks to EJB servers by simple dragging/dropping into HTML, server-side JavaBeans that encapsulate the client method calls to EJB.
 
Regards,
Murali Krishna Devarakonda
----- Original Message -----
Sent: Monday, September 20, 1999 11:49 AM
Subject: useBean : how does it get the object instance

the useBean uses a Java bean and not an EJB. the javabean is a place holder for the data coming back from EJBs (potentially)..

i know one mechanism the java bean instance can be sent to the jsp.....
*** session beans create the holder object and return the instance to the servlet
*** servlet puts the instsance in the session object using putValue
*** jsp uses the session object to get the instance


how does useBean fit it.......where does it get the instance from?
is there another approach???

thanks for all your help.
Rupesh.

Reply via email to