J2EE Roles J2EE Product Provider Tool Provider Application Component Provider Application Assembler Applicaton Deployer and System Administrator J2EE Roles: J2EE Product Provider Company that develops, markets, and sells an Implementation of the J2EE architecture Follows the various J2EE specifications and validates the implementation using the CTS (Compatibility Test Suite) Typically operating system, ORB, database, application server, and web server vendors Examples: BEA WebLogic, IBM WebSphere, Oracle 9iAS, Borland Application Server, iPlanet Application Server, etc, etc Copyright 2001-2002, Dan Harkey. All rights reserved. DO NOT COPY OR DISTRIBUTE. J2EE Roles: Tool Provider Company that creates development, assembly, and packaging tools Examples: Borland JBuilder Enterprise, WebGain Studio, IBM VisualAge, Oracle JDeveloper, Sun's Forte Enterprise J2EE Roles: Application Component Provider Company or person who creates web components, enterprise beans, applets, or application clients for use in J2EE applications Writes Java interfaces and classes, HTML, JSP pages, etc. and packages them as components into ejb-jar, war, and jar files Copyright 2001-2002, Dan Harkey. All rights reserved. DO NOT COPY OR DISTRIBUTE. J2EE Roles: Application Component Assembler Company or person who gets application component JAR files from component providers and assembles them into a J2EE application EAR file Writes or modifies XML deployment descriptors to assemble an application using tools or by hand Verifies the application is J2EE compliant J2EE Roles: Applicaton Deployer and System Administrator Company or person who configures and deploys the J2EE application, administers the computing and networking infrastructure where J2EE applications run, and oversees the runtime environment Moves the J2EE EAR file to the J2EE server Modifies EAR file for operational environment Sets transaction controls and security Manages clustering and failover Copyright 2001-2002, Dan Harkey. All rights reserved. DO NOT COPY OR DISTRIBUTE. The EJB Roles The EJB Development Process Copyright 2001-2002, Dan Harkey. All rights reserved. DO NOT COPY OR DISTRIBUTE. J2EE Packaging J2EE Components are packaging in component specific jar files ejb-jar for EJB Components WAR files for Web Components (Servlets and JSPs) JAR files for client components Enterprise ARchive files for J2EE applications Includes ejb-jar, WAR, and JAR files All J2EE component jar files contain an XML deployment descriptor file J2EE Packaging: WAR files Contains HTML, JSP pages, Servlet .class files, resource files, bitmap files, etc. Can contain multiple web components Has a web.xml deployment descriptor file Copyright 2001-2002, Dan Harkey. All rights reserved. DO NOT COPY OR DISTRIBUTE. J2EE Packaging: ejb-jar files Contains EJB home and remote interface files, EJB file, helper classes, resource files, bitmap files, etc. Can contain multiple EJBS Has an ejb-jar.xml deployment descriptor file J2EE Packaging: EAR files Contains application WAR, ejb-jar, and jar files Includes application.xml deployment descriptor and J2EE server specific XML deployment descriptor. Copyright 2001-2002, Dan Harkey. All rights reserved. DO NOT COPY OR DISTRIBUTE. From Assembly to Deployment J2EE Application Packaging Copyright 2001-2002, Dan Harkey. All rights reserved. DO NOT COPY OR DISTRIBUTE. Deploying an EJB The JNDI Environment for an EJB Copyright 2001-2002, Dan Harkey. All rights reserved. DO NOT COPY OR DISTRIBUTE. An Application Client Deployment Descriptor Copyright 2001-2002, Dan Harkey. All rights reserved. DO NOT COPY OR DISTRIBUTE. J2EE Tools: The J2EE Reference Implementation Complete J2EE architecture implementation Not Intended (or licensed) for production deployment Provides packaging, deployment, execution of J2EE components, clients, and resource adapters GUI and command line based tools Includes Cloudscape database for storing SQL data The J2EE RI Reference Implementation Deploytool Copyright 2001-2002, Dan Harkey. All rights reserved. DO NOT COPY OR DISTRIBUTE.