#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2001
    Location
    On a screen near you
    Posts
    498
    Rep Power
    13

    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


    Mark
    100 trillion calculations per nanosecond
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2001
    Posts
    36
    Rep Power
    14
    Hi,

    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.


    That's it,
    Ciao

IMN logo majestic logo threadwatch logo seochat tools logo