Solved

Question of Beans And servlets

Posted on 2000-05-14
1
302 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

Suggested Solutions

Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
This video teaches viewers about errors in exception handling.
Suggested Courses

739 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