What is a J2EE component? List out all the component?
Answers were Sorted based on User's Feedback
Answer / rajashree
There are four types of J2EE component:
These components provide a top-level
structure which contains any number of other J2EE
components (except other J2EE Enterprise Applications). The
JAR file holding an enterprise application has the
suffix .ear, so Enterprise Applications are frequently
referred to as EARs.
These J2EE components may contain Servlets,
Java ServerPages, Tag Library Definitions and plain Java
classes or resources as required for proper operation. The
documents and Java classes of Web Applications frequently
create markup language (HTML, WML, XML, etc.) responses to
requests from web browsers or business applications. The
JAR file holding a Web application has the suffix .war, so
WebApps are frequently referred to as WARs.
Enterprise JavaBean Applications:-
These components hold server-side business
logic packaged within Enterprise JavaBeans.
These J2EE components hold Java classes that
act as drivers or communication gateways to Enterprise
Information Systems (EISs). It is highly likely that the
manufacturer of an EIS packages its driver into a J2EE
resource archive (RAR).
|Is This Answer Correct ?||27 Yes||9 No|
Answer / 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.
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
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
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.
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|
how to write a server program and sending the mails to the server using smtp protocol please help me
What are the different tags provided in jstl?
What is a local, member and a class variable?
Why singleton pattern is better than creating singleton class with static instance?
What is the use of jtable?
What will happen inside init() in servlet. my interviewer asked servlet lifecycle. i said "once servlet is loaded in to memory init() will be called which performs servlet initialization " . Again interview asked what values will be initialized . what is difference between init() and init(ServletConfig config).
What are the Object and Class that classes used for?
Does it matter in what order catch statements for filenotfoundexception and ioexception are written?
What is dynamic binding(late binding)?
What is java’s garbage collected heap?
Explain different types of thread priorities ?