Won Contests Let Us Talk Mail Me Light of Knowledge


 J 2EE Architecture
  
 The Java 2 SDK, Enterprise Edition (J2EE SDK) is the reference implementation provided by Sun Microsystems


 
 Software's that you Need

1. J2EE1.3.1 - j2sdkee-1_3_1-win.exe
2. J2SDK1.3.1 - j2sdk-1_3_1_09-windows-i586.exe
3. Oracle 9i Client Setup
4. Macromedia HomeSite Editor[Optional]

 J2EE Server

The J2EE server provides the following services:

1) Naming and Directory - allows programs to locate services and components through the Java Naming and Directory Interface (JNDI)
2) Authentication - enforces security by requiring users to log in
3) HTTP - enables Web browsers to access servlets and JavaServer Pages (JSP) files
4) EJB - allows clients to invoke methods on enterprise beans
 EJB Container

Enterprise bean instances run within anEJB container. The container is a runtime environment that controls the enterprise beans and provides them with important system-level services

1) Transaction Management
2) Security
3) Remote Client Connectivity
4) Life Cycle Management
5) Database Connection Pooling
 Web Container

The Web container is a runtime environment for JSP files and and servlets. Although these Web components are an important part of a J2EE application
 Contents of a J2EE Application



    A J2EE application may contain one or more enterprise beans, Web components, or J2EE application client components. An enterprise bean is composed of three class files-- the EJB class, the remote interface, and the home interface.

    A Web component may contain files of the following types: servlet class, JSP, HTML, and GIF. A J2EE application client is a Java application that runs in an environment (container) which allows it to access J2EE services

J2EE Application .ear
J2EE Application Deployment Descriptor .xml
Enterprise Bean ejb .jar
EJB Deployment Descriptor .xml
EJB Class .class
Remote Interface .class
Home Interface .class
Web Component .war
Web Component Deployment Descriptor .xml
JSP File .jsp
Servlet Class .class
GIF File.gif
HTML File.html
J2EE Application Client .jar
J2EE Application Client Deployment Descriptor.xml
Java Application .class
 People and Roles : 1) Person: Software Developer

Enterprise Bean Creation

1) Codes and compiles the Java source code needed by the enterprise bean
2) Specifies the deployment descriptor for the enterprise bean
3) Bundles the .class files and deployment descriptor into an EJB .jar file

J2EE Application Client Creation

1) Codes and compiles the Java source code needed by the client
2) Specifies the deployment descriptor for the client
3) Bundles the .class files and deployment descriptor into the .jar file for the client.

J2EE Application Assembly

1) Assembles enterprise beans (EJB .jar) and Web components (.war) created in the previous phases into a J2EE application (.ear)
2) Specifies the deployment descriptor for the J2EE application
 People and Roles : 2) Person: System Administrator

J2EE Application Deployment

1) Adds the J2EE application (.ear) created in the preceding phase to the J2EE server
2) Configures the J2EE application for the operational environment by modifying the deployment descriptor of the J2EE application
3) Deploys (installs) the J2EE application (.ear) into the J2EE server
 NEXT >> Coding the Enterprise Bean

 My Dream to be your Friend and Create a Group of Intelligent and Understanding Programmers
     If you like this article and/or code mailme or Join our small Java User Group which is by the Programmers for the Programmers ,
Till we meet next time BYE      Kind Regards - James Smith

  Java, J2EE, J2SE and all Java-based marks are trademarks or registered trademarks of Sun Microsystems, Inc.
in the United States and other countries.