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?

Questions by srikanth.sunjava

Showing Answers 1 - 1 of 1 Answers

Lakshmi

  • Dec 30th, 2005
 

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.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions