March 11th, 2002, 07:39 PM
Beans or Servlets
What is the most used method of deployment
Iv'e just setup a Java enviroment to develop servlets but im wondering why would i want to deploy servlets when beans do the same job with less development time
100 trillion calculations per nanosecond
March 12th, 2002, 05:18 AM
Servlets and Bean have different aims in this live. Servlets are used as a controller and beans as a entity objects.
So with Servlets you should analize Ur HTTP requests and make solutions what to make next - what of JSP to show. Beans contain only engine to access DB, process other functions. If you use beans in GUI - they are as Visual objects at Your pages.