Hi,
Please give a brief explanation regarding the difference between 'Servlets as a Session Manager' and 'Session Bean'.
Thanx.
Regards,
Shibin
-
Session Bean Vs Servlets (2 messages)
- Posted by: Shibin Raghavan
- Posted on: March 19 2001 02:25 EST
Threaded Messages (2)
- Session Bean Vs Servlets by muthu swamy on March 19 2001 13:18 EST
- Session Bean Vs Servlets by Shibin Raghavan on March 20 2001 05:07 EST
-
Session Bean Vs Servlets[ Go to top ]
- Posted by: muthu swamy
- Posted on: March 19 2001 13:18 EST
- in response to Shibin Raghavan
how can you basically handle the resources in servlets, you have to take care about the time for closing the resources, if not the resources(like database connection) will be getting wasted in your servlet, but in the session bean if it is not needed so that it goes to passivation state it calls a ejbPassivate method where you can close the resources, and ejbActivate method. And one more thing is client can be a servlet, application, COM client, CORBA client. this is not possible in servlet. And method transaction attribute is taken care in the session bean. but not in servlet.
These are some of the qualities of session bean
bye
muthu -
Session Bean Vs Servlets[ Go to top ]
- Posted by: Shibin Raghavan
- Posted on: March 20 2001 05:07 EST
- in response to muthu swamy
Thanx for the response.
Regards,
Shibin