Vous êtes sur la page 1sur 10

J2EE Overview

J2EE ³Java 2 Platform Enterprise Edition´. Provides a programming platform for developing and running Distributed, and Multi-tier architecture Java applications

Allows developers to create an enterprise application that is portable between platforms.


ÄWrite once, run anywhere, and reuse everywhere³ Possible, because J2EE is standardized.

J2EE Containers
A J2EE container is a run-time environment for Enterprise Java Beans, Java Server Pages, Servlets, etc. It includes some basic functions as security, life cycle management, transaction management, and deployment services.

‡ The application server maintains control and provides services through an interface or framework known as a container ‡ There are five defined container types in the J2EE specification

Different types of Containers


Application Container Applet Container EJB-Container - Entity Beans, Session Beans, Message-driven Beans Web-Container - Servlets, JSPs

Components
‡ Client components run on the client machine, which correlate to the client containers ‡ Web components -servlets and JSP pages ‡ EJB Components

What is a J2EE Container


J2EE applications run in a special environment called a J2EE Container/Server

J2EE server The runtime portion of a J2EE product is the J2EE Server. A J2EE server provides EJB and Web containers. Enterprise JavaBeans (EJB) container Manages the execution of enterprise beans for J2EE applications. Enterprise beans and their container run on the J2EE server.

Web container

Manages the execution of JSP page and servlet components for J2EE applications. Web components and their container run on the J2EE server.
Application client container

Manages the execution of application client components. Application clients and their container run on the client.
Applet container

Manages the execution of applets. Consists of a Web browser and Java Plug-in running on the client together.

WebServices

‡ The term Web services describes a standardized way of integrating Webbased applications using the XML, SOAP, WSDL and UDDI. ‡ XML is used to tag the data, SOAP is used to transfer the data, WSDL is used for describing the services available and UDDI is used for listing what services are available

Vous aimerez peut-être aussi