Results 1 to 6 of 6

Thread: Java Beans Vs Servlets

  1. #1
    Join Date
    Dec 2009
    Posts
    38

    Java Beans Vs Servlets

    Hello Guys,

    I am learning Advanced java programming. The advanced java is mostly related to the GUI. The java beans can be used to design specific application. I am totally confused between Servlet and Beans. What is the exact difference between Servlet and Beans? If you have sound knowledge about the servlet and beans than please let me know difference between them. I am waiting for your help,

  2. #2
    Join Date
    May 2008
    Posts
    2,302

    Re: Java Beans Vs Servlets

    See following some differences between sevlet and beans:
    • java bean is nothing but a reusable component while java servlet is the program which is used for to extends the capability of server.
    • The java servlet can be used as MVC architecture controller. On other hand the beans can be utilized as MVC architecture model.
    • The beans comprises getter and setter method and which are used into the java servlets to be initialized.

  3. #3
    Join Date
    Oct 2005
    Posts
    2,394

    Re: Java Beans Vs Servlets

    A Java Bean is a reusable software component that can be visually manipulated in builder tools. Reusable software components are basically designed fro to implement the benefit as well as the power of reusable, interchangeable parts from other industries to the field of software construction. The example of the reusable software components are text fields, push buttons, list boxes, dialogs, scrollbars.

  4. #4
    Join Date
    May 2008
    Posts
    2,393

    Re: Java Beans Vs Servlets

    Reusable software component and which can be manipulated visually in a development environment, and can be combined with other components to create applets is known as "Java Beans". The term control JavaBeans, Inspired ActiveX control Microsoft has not been retained as a synonym for the same reasons given for rejecting the term ActiveX control. The JavaBeans component software is the equivalent of ActiveX component, but endowed with the portability and hardware independence specific to Java.

  5. #5
    Join Date
    Feb 2008
    Posts
    1,856

    Re: Java Beans Vs Servlets

    Servlets is program which provides a logical connections to other computers through a network serves. On another machine logic, proposing also support connections to other computers via a network, runs a program that makes requests to machines acting as server to use the services provided. A server program can handle, usually several requests both from the same or different clients. A client program can generally use multiple connections to the same or different servers simultaneously.

  6. #6
    Join Date
    Jan 2008
    Posts
    1,521

    Re: Java Beans Vs Servlets

    Servlets are an independent part of web server. For such a thing is possible, we must assume that the web server is developed in Java. An example of such servers is the Java Web Server or Tomcat. The external servlet engines are a combination between a plugin "grafted" to the server and a virtual machine running outside of it. To contact them, the plugin and the processes associated with virtual machine using a mechanism of inter-process communication such as TCP / IP sockets.

Similar Threads

  1. Why we use Introspection in Java Beans?
    By taher in forum Software Development
    Replies: 4
    Last Post: 17-02-2010, 05:23 AM
  2. Sessions with Java Servlets
    By Sheenas in forum Software Development
    Replies: 5
    Last Post: 15-02-2010, 07:15 PM
  3. What are the advantages of java servlets over JSP?
    By Mithun Seth in forum Software Development
    Replies: 5
    Last Post: 23-01-2010, 12:21 PM
  4. Concept of java beans
    By Jabeen in forum Software Development
    Replies: 4
    Last Post: 01-12-2009, 09:59 AM
  5. How to use Java Servlets
    By Wyvern in forum Software Development
    Replies: 3
    Last Post: 24-10-2009, 06:24 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •