Tuesday, November 29, 2011

In normal javabean, bean object is serailizable,and Connectuin object is transient object.Then How we using javabean for communnication between Servlet and JSP for data Transfer?

Bean components are the data transfer objects betwen Servletsand JSPs which are goign to travel and hence they have to be serialized. Connection object is just to make a physical connection to the database specified and no need to serialize hence made transient.
Category:Servlet Interview Questions

No comments:

Post a Comment