Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



Java Beans Vs Servlets

Software Development


Reply
 
Thread Tools Search this Thread
  #1  
Old 02-02-2010
Member
 
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,

Reply With Quote
  #2  
Old 02-02-2010
Member
 
Join Date: May 2008
Posts: 2,293
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.
Reply With Quote
  #3  
Old 02-02-2010
Member
 
Join Date: Oct 2005
Posts: 2,389
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.
Reply With Quote
  #4  
Old 02-02-2010
Member
 
Join Date: May 2008
Posts: 2,384
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.
Reply With Quote
  #5  
Old 02-02-2010
Member
 
Join Date: Feb 2008
Posts: 1,848
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.
Reply With Quote
  #6  
Old 02-02-2010
Member
 
Join Date: Jan 2008
Posts: 1,515
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.
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags: , , , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Java Beans Vs Servlets"
Thread Thread Starter Forum Replies Last Post
Why we use Introspection in Java Beans? taher Software Development 4 17-02-2010 06:23 AM
Sessions with Java Servlets Sheenas Software Development 5 15-02-2010 08:15 PM
What are the advantages of java servlets over JSP? Mithun Seth Software Development 5 23-01-2010 01:21 PM
Concept of java beans Jabeen Software Development 4 01-12-2009 10:59 AM
How to use Java Servlets Wyvern Software Development 3 24-10-2009 07:24 PM


All times are GMT +5.5. The time now is 12:57 AM.