ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip       Ask Questions on ANYTHING, that arise in your Daily Life at     FORUM9.COM
Google
 
Categories  >>  Software  >>  Core Java  >>  Java J2EE  >>  Java Related
 
 


 

 
 Core Java interview questions  Core Java Interview Questions
 Advanced Java interview questions  Advanced Java Interview Questions
 Swing interview questions  Swing Interview Questions
 EJB interview questions  EJB Interview Questions
 Servlets interview questions  Servlets Interview Questions
 Struts interview questions  Struts Interview Questions
 JDBC interview questions  JDBC Interview Questions
 JMS interview questions  JMS Interview Questions
 SunOne interview questions  SunOne Interview Questions
 J2EE interview questions  J2EE Interview Questions
 Weblogic interview questions  Weblogic Interview Questions
 Websphere interview questions  Websphere Interview Questions
 Java Networking interview questions  Java Networking Interview Questions
 Java J2EE AllOther interview questions  Java J2EE AllOther Interview Questions
Question
What is a J2EE component? List out all the component?
 Question Submitted By :: Raviraja N
I also faced this Question!!     Rank Answer Posted By  
 
  Re: What is a J2EE component? List out all the component?
Answer
# 1
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 ?    4 Yes 0 No
Rani
 
  Re: What is a J2EE component? List out all the component?
Answer
# 2
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 ?    7 Yes 0 No
Rajashree
 
 
 

 
 
 
Other Core Java Interview Questions
 
  Question Asked @ Answers
 
y cant i declare method like public final static show()  2
What are the steps to do connection pooling in weblogic? TCS1
what is the difference b/w design pattern and architecture Covansys2
why the constructor should be used in class,if there is no constructor what will happen?  4
Hi friends, i am new to java. can you explain how java is secured.  1
What is the relationship between a method?s throws clause and the exceptions that can be thrown during the method?s execution?  2
What class is used to implement a Throwable array?  3
What is Generic in java? Where can we write Generic ( class or method or objects or etc...)? with simple example? Thanks, Bose. Infosys1
what is the output ? Math.floor(-2.1) a)2 b)-2 c)-3.0 d)0 Accenture2
can anyone explain me the concept of autoboxing?  3
write a progam hashmap & hashtable? IBM2
How are Observer and Observable used?  2
what is the difference between HashMap And HashTable? Hexaware3
What is UNICODE?  3
What are access modifiers in Java ?  5
What is Runtime class and its purpose?  2
Is there any use of an abstract class which has no methods and no attributes? Wipro1
what is difference between front controller and action servlet?  2
Are there any tools available in java to create reports?  5
When does the compiler supply a default constructor for a class? TCS8
 
For more Core Java Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com