Solved

Question of Beans And servlets

Posted on 2000-05-14
1
289 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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…

937 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

4 Experts available now in Live!

Get 1:1 Help Now