Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How it can

Status
Not open for further replies.

linusSanto

Programmer
Jul 31, 2003
15
IN
How can a JavaBeans can be called as a Client-side component model?

 
JavaBeans reside serverside, please elaborate on your meaning of "Client-side component model"
 
>>> How can a JavaBeans can be called as a Client-side component model?


OK, you are slightly misuderstnding the article at the link you supplied. JavaBeans represent a client-side model by way of modelling the client's requirements.

Take for example, a JSP page that asks for a username, a password and a telephone number. In this sense a JavaBean, residing on the server would be instantiated to hold this information (username, password, tel number), and the bean would be populated when the client clicked "send data now" or whatever. This bean now represents the clients login details, and so is a "component model" which represents the client.

Hope this clears up things.

Beware that JavaBeans and EJB (Enterprise JavaBeans) are VERY different kettles of fish.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top