Middleware Middleware Java 2 Enterprise Edition Enterprise Java Beans.

Post on 16-Dec-2015

238 Views

Category:

Documents

0 Downloads

Preview:

Click to see full reader

Transcript

MiddlewareMiddleware

Java 2 Enterprise Edition

Enterprise Java BeansEnterprise Java Beans

Java 2 Enterprise Edition

J2EE - Arquitectura

J2EE - Arquitectura

J2EE – Dinamic Content

J2EE Container / Component

Container es el auto

Componente es el chofer

Container es la plataforma

Componente es la aplicacion

J2EE Enterprise Java BeansOverview

An enterprise bean is a server-side software componentserver-side software component that can be deployed in a distributed multitier environment.

An enterprise bean can compose one orone or more Java more Java

objectsobjects because a component may be more than just a simple object.

Regardless of an enterprise bean’s composition, the clients clients

of the bean dealof the bean deal with a single exposed component with a single exposed component

interfaceinterface. This interface, as well as the enterprise bean itself, must conform to the EJB specification.

The specification requires that your beans expose a few beans expose a few

required methodsrequired methods

J2EE - EJB

J2EE - EJBTipos

Session (verbos)

• Stateless• Statefull

Entity (sustantivos)

• Bean Managed Persistence• Container Managed Persistence

Message Driven• Message Oriented Middleware (MOM)

J2EE - EJB

Development ProcessServerClient

El container resuelve la mayoria de El container resuelve la mayoria de las tareas complejas propias del las tareas complejas propias del desarrollo en ambientes desarrollo en ambientes distribuidosdistribuidos

J2EE - EJB

Server Development1. Interface Development

1. Implementar Interfaces Standard EJB2. Implementar Interfaces Especificas de la Aplicacion3. Crear Interfaces Remotas para Clientes4. Crear Interfaces Home para Clientes

2. Compile3. Deployment

1. Configurar Module Deployment Descriptors2. Package EJB en EJB JAR3. Configurar Application Deployment Descriptor4. Package EJB Modules en J2EE EAR Application5. Deploy

J2EE - EJB

J2EE - EJB

Client Development1. Verificacion de Standard Client Library

2. Generacion de EJB Client Interface

3. Implementacion Client

4. Compile

5. Configurar Descriptors

6. Package Client App en JAR

7. Lanzar J2EE Client App

top related