Solved

Question of Beans And servlets

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

Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

Question has a verified solution.

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

If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
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.

688 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