Solved

Question of Beans And servlets

Posted on 2000-05-14
1
300 Views
Last Modified: 2013-11-24
whats the diff between beans and servlets?
and whats the diff between java beans and enterprise java beans?
0
Comment
Question by:ibo
1 Comment
 
LVL 7

Accepted Solution

by:
Ravindra76 earned 50 total points
ID: 2808291

Servlet:-


Servlets are modules that run inside request/response-oriented servers, such as Java-enabled web servers, and extend them in
some manner. For example, a servlet might be responsible for taking data in an HTML order-entry form and applying the
business logic used to update a company's order database. Servlets are to servers what applets are to browsers.


Bean:-

  It is a reusable Software component mostly used in client sideand GUI applications.


Servlets will always run on server side.
Ans servlet will require a webserver or
servlet runnable application to run it.

Java Beans mainly run on client side.


Servlets are an effective substitute for CGI scripts: they provide a way to generate dynamic documents that is both easier to
write and faster to run. They also address the problem of doing server-side programming with platform-specific APIs. Servlets
are developed with the Java Servlet API, a standard Java extension. While it is not part of the core Java framework, which
must always be part of all products bearing the Java brand, it will be made available with such products by their vendors as an
add-on package. It is already supported by many popular web servers.


EJB:-




Enterprise JavaBeansTM (EJB) technology is a framework for developing and executing distributed applications. These
applications require system-level services, such as transaction management, security, client connectivity, and database access.
Enterprise JavaBeans technology provides these services, allowing you to focus on the business logic in your applications, not
the system-level plumbing. You code the business logic in enterprise beans, reusable components that can be accessed by client
programs. Enterprise beans run on an EJB server, which functions as a middle-tier server in a 3-tier client/server system.

Note:-

Visit this excellant site

http://www.execpc.com/~gopalan/java/ejb.html 

EJB :- It runs in server side and uses RMI.





0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this post we will learn different types of Android Layout and some basics of an Android App.
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

685 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question