What is a J2EE component? List out all the component?

Answer Posted / rani

J2EE Application Components

J2EE applications are made up of components. A J2EE
component is a self-contained functional software unit that
is assembled into a J2EE application with its related
classes and files and communicates with other components.
The J2EE specification defines the following J2EE components:

* Application clients and applets are client components.
* Java Servlet and JavaServer Pages (JSP) technology
components are web components.
* Enterprise JavaBeans (EJB) components (enterprise
beans) are business components.

J2EE components are written in the Java programming language
and compiled in the same way as any Java programming
language program. The difference when you work with the J2EE
platform, is J2EE components are assembled into a J2EE
application, verified that they are well-formed and in
compliance with the J2EE specification, and deployed to
production where they are run and managed by the J2EE server.
Client Components

A J2EE application can be web-based or non-web-based. An
application client executes on the client machine for a
non-web-based J2EE application, and a web browser downloads
web pages and applets to the client machine for a web-based
J2EE application.
Application Clients

An application client runs on a client machine and provides
a way for users to handle tasks such as J2EE system or
application administration. It typically has a graphical
user interface created from Project Swing or Abstract Window
Toolkit (AWT) APIs, but a command-line interface is
certainly possible.

Application clients directly access enterprise beans running
in the business tier. However, if the J2EE application
client requirements warrant it, an application client can
open an HTTP connection to establish communication with a
servlet running in the web tier.
Web Browsers

The user's web browser downloads static or dynamic Hypertext
Markup Language (HTML), Wireless Markup Language (WML), or
Extensible Markup Language (XML) web pages from the web
tier. Dynamic web pages are generated by servlets or JSP
pages running in the web tier.

Is This Answer Correct ?    16 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to read and write image from a file ?

561


Give example to differentiate between call by value and call by reference.

592


What is the applet security manager, and what does it provide?

541


how a programmer confirms that the data submitted has been succesfully inserted into the database(either oracle or my sql).. How a programmer confirm if there is any problem with the program he wrote for insertion... ANS:--- >executeupdate method is having boolean return type, if anything goes wrong in data insertion or data updation, it would return false. otherwise, if it successfully inserts data into the database, it would return true NOW HOW TO I CHECK IN MY DURING EXECUTION WHETHER IT RETURNS TRUE OR FALSE... WELL IT WILL DISPLAY ANY MESSAGE OR NOT

1852


Convert Binary tree to linked list.

591






What is the concatenation operator in java?

580


How do you declare an empty string?

622


What is one third plus one third as a fraction?

489


Is 0 true or false?

514


What are the steps involved to create a bean?

685


Why we use set in java?

518


What is string substring?

563


What is callablestatement? How you can call stored procedure to pass in parameter?

545


Why are generics used?

522


What class allows you to read objects directly from a stream in java programming?

514