Solved

Question of Beans And servlets

Posted on 2000-05-14
1
287 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
Comment Utility

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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Article by: kevp75
Hey folks, 'bout time for me to come around with a little tip. Thanks to IIS 7.5 Extensions and Microsoft (well... really Windows 8, and IIS 8 I guess...), we can now prime our Application Pools, when IIS starts. Now, though it would be nice t…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

771 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now