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

Answer Posted / rajashree

There are four types of J2EE component:

Enterprise Applications:-
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.
Web Applications:-
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.
Resource Applications:-
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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain java coding standards for methods?

595


what do you understand by the term string with respect to java?

520


I want to persist data of objects for later use. What’s the best approach to do so?

498


Can a vector contain heterogenous objects?

586


Can a constructor be made final?

652






Explain the difference between string, stringbuffer and stringbuilder in java?

549


Can we use catch statement for checked exceptions?

505


Define an applet in java?

621


If I only change the return type, does the method become overloaded?

533


What is Garbage Collection in Java

599


What is the final keyword in java?

543


What is a substring of a string?

553


Is java an open source?

515


What is the exception hierarchy in java?

477


What is the purpose of checked and unchecked exceptions in JAVA?

554