Java EE.

Slides:



Advertisements
Similar presentations
J0 1 Marco Ronchetti - Basi di Dati Web e Distribuite – Laurea Specialistica in Informatica – Università di Trento.
Advertisements

11 Copyright © 2005, Oracle. All rights reserved. Creating the Business Tier: Enterprise JavaBeans.
XML-based web services with the java 2 platform, Enterprise edition (j2EE) by anis karimpour-fard.
J2EE Architecture Overview
Netscape Application Server Application Server for Business-Critical Applications Presented By : Khalid Ahmed DS Fall 98.
Introduction to Java EE (J2EE)
An architecture for webb applications, J2EE
Integrating SOA and the Application Development Framework Shaun O’Brien Principal Product Manager – Oracle JDeveloper / ADF.
Introduction to Java 2 Enterprise Edition About myself –Neutrinos, Cancer Research, IT Applications Today’s topic: J2EE –Context –Advantages –Components.
 Java  Python  Bigtable(Bt) is a distributed storage system for managing structured data that is designed to scale to a very large size.  Query Language.
Technical Architectures
1 Build a Web Application on J2EE. 2 J2EE Scenario Client – Web Server – EIS Resources Client – Web Server – EIS Resources Client – Application Server.
Java 2 Platform, Enterprise Edition (J2EE). Source: Computer, August 2000 J2EE and Other Java 2 Platform Editions.
J2EE Java 2 Enterprise Edition. Relevant Topics in The Java Tutorial Topic Web Page JDBC orial/jdbc
Introduction to EJB INFORMATICS ENGINEERING – UNIVERSITY OF BRAWIJAYA Eriq Muhammad Adams J
© 2004 IBM Corporation BEA WebLogic Server Introduction and Training.
Java Pet Store Application. Outline Introduction Introduction Information Layer Information Layer Application Layer Application Layer Infrastructure Layer.
Distributed System Using Java 2 Enterprise Edition (J2EE)
INTRODUCING THE JAVA EE PLATFORM Ch-5. Introduction Java is a  platform-independent programming language  secure and robust applications  may run on.
J AVA SE, EE, AND ME Compiled (with permission) from Sang Shin’s Introduction to Java EE Online Course Introduction to Java EE Online Course.
Chapter 10 EJB Concepts of EJB Three Components in Creating an EJB Starting/Stopping J2EE Server and Deployment Tool Installation and Configuration of.
Introduction to Java EE (J2EE)
EJB Overview Celsina Bignoli Distributed Business Applications Server DB Client DB Server DB.
Distributed Multitiered Applications The J2EE platform uses a multitiered distributed application model. Application logic is divided into components 1.
Chapter 4: Core Web Technologies
Enterprise Java Beans CS-422. Application Servers In the late 1980s and though the mid 1990s a number of corporations (Broadvision, Netscape…) marketed.
Bayu Priyambadha, S.Kom. What is J2EE? * Open and standard based platform for developing, deploying and managing n-tier, Web-enabled, server-centric,
CS 493/693: Distributed Systems Programming V. “Juggy” Jagannathan CSEE, West Virginia University March 21, 2005.
Introduction to J2EE Architecture Portions by Kunal Mehta.
第十四章 J2EE 入门 Introduction What is J2EE ?
Enterprise Java v120131Intro to JavaEE1 Java EE 5 TM Introduction.
® IBM Software Group © 2007 IBM Corporation J2EE Web Component Introduction
Enterprise Java Beans Java for the Enterprise Server-based platform for Enterprise Applications Designed for “medium-to-large scale business, enterprise-wide.
Java 2 Enterprise Edition Presented by: Reem Osama Shehata Supervised by: Dr. Sherif Aly 16 th March 2006.
Source: Peter Eeles, Kelli Houston, and Wojtek Kozaczynsky, Building J2EE Applicationa with the Rational Unified Process, Addison Wesley, 2003 Prepared.
1 Geospatial and Business Intelligence Jean-Sébastien Turcotte Executive VP San Francisco - April 2007 Streamlining web mapping applications.
Introduction to Java EE (J2EE). CSE, IITB Umesh Bellur Session Objectives Understanding the value propositions of J2EE Getting a big picture of J2EE architecture.
Databases JDBC (Java Database Connectivity) –Thin clients – servlet,JavaServer Pages (JSP) –Thick clients – RMI to remote databases –most recommended way.
Assignment of JAVA id : BSSE-F10-M-10-JAVA1 Overview of J2EE/Session 2/Slide 1 of 38.
© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/3 JSP Application Models.
1 Copyright © 2004, Oracle. All rights reserved. Oracle Application Development Framework.
Introduction to EJB. What is an EJB ?  An enterprise java bean is a server-side component that encapsulates the business logic of an application. By.
1 Distributed System using J2EE. 2 What is J2EE?  J2EE (Java2 Enterprise Edition) offers a suite of software specification to design, develop, assemble.
Java Programming: Advanced Topics 1 Enterprise JavaBeans Chapter 14.
©NIIT Introducing Enterprise JavaBeans (EJB) Lesson 1A / Slide 1 of 43J2EE Server Components Objectives In this lesson, you will learn about: The features.
The Holmes Platform and Applications
Java Web Services Orca Knowledge Center – Web Service key concepts.
J2EE Lecture 10: EJB 3.0 Overview
J2EE Platform Overview (Application Architecture)
Introduction to Oracle Forms Developer and Oracle Forms Services
Netscape Application Server
The Client/Server Database Environment
Introduction to Oracle Forms Developer and Oracle Forms Services
EJB (Enterprise Java Beans)
Chapter 9: The Client/Server Database Environment
Introduction to J2EE Architecture
#01 Client/Server Computing
Java EE Overview The problem Java Enterprise Edition attempts to solve: maximize the use of Java technologies by providing a suite of Java technology specifications.
Java EE Overview The problem Java Enterprise Edition attempts to solve: maximize the use of Java technologies by providing a suite of Java technology specifications.
Distributed System Using Java 2 Enterprise Edition (J2EE)
ESIS Consulting LLC (C) ESIS Consulting LLC. All rights reserved
JavaServer Faces: The Fundamentals
Web Application Server 2001/3/27 Kang, Seungwoo. Web Application Server A class of middleware Speeding application development Strategic platform for.
Introduction of Week 11 Return assignment 9-1 Collect assignment 10-1
Component-based Applications
Component Technology Bina Ramamurthy 2/25/2019 B.Ramamurthy.
Understanding and Designing with EJB
Knowledge Byte In this section, you will learn about:
Intro to J2EE Concepts.
#01 Client/Server Computing
Presentation transcript:

Java EE

Topics To Be Covered Introduction and Objectives Introduction to Java EE Enterprise Tiers Why Jaw EE? APIs and Technologies Java EE Roles Summary

Introduction and Objectives

Introduction Welcome to the course on Java EE! The Java Platform, Enterprise Edition or Java EE (formerly known as Java 2 Platform, Enterprise Edition or J2EE) has undergone several changes since 1.0 as well as numerous additions of new specifications. Java EE is Oracle's enterprise Java computing platform. The platform provides an API and runtime environment for developing and running enterprise software, including network and web services, and other large-scale, multi-tiered, scalable, reliable, and secure network applications. www.prolearninghub.com

Introduction Java EE extends the Java Platform, Standard Edition (Java SE). providing an API for object-relational mapping, distributed and multitier architectures, and web services. The platform incorporates a design based largely on modular components running on an application server. Software for Java EE is primarily developed in the Java programming language. This course first introduces you to Java EE. Then, you will learn about Java 2 Platform. Enterprise tiers. Java EE specifications, platform architectures, Java APIs and technologies, and at the end about Java EE roles. www.prolearninghub.com

Objectives When you complete this course, you will be able to: Define need for Java EE. List different editions in Java. Explain different types of enterprise tiers. Identify different layers in multi-tired distributed programming. Describe Java EE platform architecture. List specifications of Java EE. Explain Java EE APIs & technologies. Describe various roles in Java EE. Explain about the latest developments in Java EE Objectives www.prolearninghub.com

Introduction to Java EE

Introduction to Java EE Java EE Origin Sun Microsystems, together with one of its partner IBM, designed Java EE to define a multi-tier architecture for developing Enterprise Information Systems (EIS) to answer the needs from various industries. Goals: To reduce the cost and complexity of development. To allow Java EE applications to be rapidly deployed and easily enhanced. www.prolearninghub.com

Introduction to Java EE The History SCA Let us take a look at the history of Java EE Spring 2006 SDO Hibermate 2003 Portlets Java EE 5 EJB 3 POJO components POJO persistence Web Services POJO components Protocol independence JAXB StAX JSF JSP Com mom EL Annotation loc BPEL 2001 J2EE1.4 EJB 2.1 timers pluggable JMS Web Services Basic SOAP/HTTP Registry JMX Mgmt J2EE Deployment JACC 2000 1998 J2EE 1.3 EJB Events Local EJBs Filters abs CMP JSP MDB XML Connectors JXAP JAAS Servlet 2.3 J2EE 1.2 EJB Servlet JSP JMS JavaMail EJB 1.0 Servlet 2.1 www.prolearninghub.com

Introduction to Java EE Enterprise Computing Let us take a look at the enterprise Computing of Java EE Challanges Key Technologies Products Legacy Systems Portability Diverse Environments Time-to-market Core Competence Assembly Integration J2SE™ J2EE™ JMS Servlet, JSP Connector XML Data Binding XSLT App Servers Web Servers Components Databases Object to DB tools Databases TP Monitors EIS Systems www.prolearninghub.com

Introduction to Java EE The Java Platform Java platform consists of three levels of APIs & technologies such as Java Micro Edition, Java Standard Edition, and Java Enterprise Edition. Let us learn about each of them in detail. Java Micro Edition Java Standard Edition Java Enterprise Edition Java Technology Enabled Devices Java Technology Enabled Desktop Workgroup Server Hight-End www.prolearninghub.com

Introduction to Java EE Open & Standard Solution Use "component and container" model in which container provides system services in a well-defined and as industry standard. Java EE is a standard that provides portability of code, because it is based on Java technology and standard-based Java programming APIs. www.prolearninghub.com

Introduction to Java EE Java EE Classic Architecture The figure illustrates the availability of the J2EE 14 platform APIs in each Java EE container type. J2SE Applet Container JACC Web Srvcs Mgmt JMX JAXR JAX-RPC SAAJ J2SE JSP Web Container JAAS JAXP JAVA Mail JAF Servlet HTTP SSL JACC Web Srvcs Mgmt JMX JAXR JAX-RPC SAAJ J2SE Web Container JAAS JAXP JAVA Mail JAF EJB JMS Web Srvcs Mgmt JMX JAXR JAX-RPC SAAJ J2SE Application Client Container HTTP SSL Database www.prolearninghub.com

Enterprise Tiers

Enterprise Tiers Evolution of Enterprise Application Framework The evolution of enterprise application framework consists of: Single-tier (Mainframe based) Two-tier Three-tier (HTML browser and Web server) Proprietary application server Standard application server www.prolearninghub.com

Enterprise Tiers Single-tier is a Dumb terminals are directly connected to mainframe Centralized model (as opposed distributed model). Presentation, business logic, and data access are intertwined in one monolithic mainframe application. Personal Computer Mainframe www.prolearninghub.com

Enterprise Tiers Two-tier is a SQL request SQL response Fat client talking to back end database. SQL queries sent, raw data returned. Presentation, business logic, and data model processing logic in client application. SQL request SQL response Personal Computer Database www.prolearninghub.com

Enterprise Tiers Three-tier is a Thinner client: Business and data model separated from presentation. Business logic & data access logic reside in middle tier server, while client handles presentation. Middle tier server is now required to handle system services. Concurrency control, threading, transaction, security, persistence, multiplexing, performance, etc. HTML request SQL request HTML response SQL response Personal Computer Web Server Database www.prolearninghub.com

Enterprise Tiers N-tier Architecture The N-tier architecture model describes any type of application architecture that programmatically separates application functionality across three or more tiers. The components in each tier, as well as the server-side infrastructure that is available in each tier, are generally distinctly suited to a particular task. N-Tier Architectural Model Client Tier Presentation Tier Business Tier Integration Tier EIS/Data (Resource) Tier Separates Application Functionality Includes Tier Components and Server-side Infrastructure www.prolearninghub.com

Why Java EE?

Why Java EE? Java EE specifications Java EE specification comprises suite of other APIs such as: Java Authentication and Authorization Service (JAAS) Enterprise JavaBeans Technology (EJB) Java Architecture for XML Binding (JAXB) Java Database Connectivity {JDBC) API Java Persistence Java Servlet Technology Java Server Faces Java Server Pages (JSP) Technology Java API for XML Web Services (JAX-WS) Java Message Service (JMS) Java Specification Request (JSR-181), and Java Naming and Directory Interface (JNDI) Streaming API for XML (StAX) Java Transaction API Java Mail API JavaBeans Activation Framework Java API for XML Processing Java EE Connector Architecture www.prolearninghub.com

Enterprise Java Bean (EJB) Technology Why Java EE? Java EE Suite Let us take a look at the different types of Java EE suite. Core Technology Web Technology Enterprise Java Bean (EJB) Technology XML Technology Platform Services www.prolearninghub.com

Enterprise Java Bean (EJB) Technology Why Java EE? Java EE Suite Core Technology Web Technology Enterprise Java Bean (EJB) Technology Core technology consists of: Container infrastructure Language Environment support Web technology consists of: Java Servlets Java Server Pages Java Server Pages standard tag library Enterprise Java Bean (EJB) technology comprises of 3 kinds of bears: Session beans Entity beans Message-driven beans www.prolearninghub.com

Why Java EE? Java EE Suite XML Technology Platform Services XML technology is classified into: The Java API for XML Processing (JAXP). The Java API for XML-based RPC (JAX-RPC). SOAP with Attachments API for Java (SAAJ). The Java API for XML Registries (JAXR) Platform services are classified as: Security Transactions Resources Connectors Java Message Service www.prolearninghub.com

Why Java EE? Java EE Communication Technologies Web client: Browser that access resources located in the web tier (web pages written in HTML or XML, JSP or servlets). Protocol used: HTTP or HTTPS. Enterprise Java bean client: Access to one or more Enterprise Java bean located on the Enterprise Java Bean Tier. Protocol used are Java Remote Method Protocol or Internet Inter-ORB Protocol. Enterprise information system client: Interface between the users and the resources located on the EIS tier. Protocol used: proprietary to utilize resources such as DBMS and legacy data sources. Multi-tier client: Uses the Java Message Service to asynchronously communicate with other tiers. www.prolearninghub.com

Why Java EE? Component and Container Let us take a look at the Java EE Component and Container. A component is an application level software unit. The Java EE supports the components such as: Applets Application clients Web components Enterprise Java Beans (EJB) Component All Java EE components depend on the runtime support of a system level entity called a Container. Containers provide components with services such as: Connection & Object pooling Security Transaction Deployment Container www.prolearninghub.com

Application Client Container Why Java EE? Platform Architecture This figure shows the required relationships of architectural elements of the Java EE platform Applet Constanter J2SE Applet Application Client Container Application Client JMS JAAS JAXP JOBC Web Container JAVA Mail JAF JDBC Connectors EJB Servlet JSP Database HTTP SSL www.prolearninghub.com

Why Java EE? Runtime Architecture Tier-0: Client-Side Presentation Server-Side Presentation Tier-2: Server-Side Business Logic Client Container Web Container Web Container EJB JSP Datasystem Servlet JDBC/Connectors J2EE Server Code JAAS JAXP JAVA Mail JAF JDBC J2EE Server Code JAAS JAXP JAVA Mail JAF JDBC J2EE Server Code JAAS JAXP JAVA Mail JAF JDBC HTTP/HTTPS RMI/IIOP www.prolearninghub.com

Why Java EE? Platform Value to Developers Can use any Java EE implementation for development and deployment, such as Production-quality standard implementation which is free for development/deployment. High-end commercial Java EE products for scalability and fault-tolerance. Vast amount of Java EE community resources: Many Java EE related books, articles, tutorials, quality code can be used as best practice guidelines, design patterns, etc. Can use off-the-shelf 3rd-party business components. www.prolearninghub.com

Why Java EE? Platform Value to Vendors Java EE value proposition to vendors are: Vendors work together on specifications, and then compete in implementations. The areas in which they compete are scalability, performance, reliability, availability, management, development tools, and so on. Freedom to innovate, while maintaining the portability of applications. Do not have to create/maintain their own proprietary APIs. www.prolearninghub.com

Why Java EE? Platform Value to Business Customers Application Portability: Many implementation choices are possible based on various requirements: Price (free to high-end), scalability (single CPU to clustered model), reliability, performance, tools, and more. Best of breed of applications and platforms. Large developer pool. www.prolearninghub.com

Why Java EE? Enterprise Application A typical Enterprise Application is made up of: Presentation logic: It deals with how to present information to the end-users. Business logic: It includes the business logic of the application. Data access logic: It deals with accessing data in the back-end database. System services: It includes security, caching, logging, transaction, and other services. www.prolearninghub.com

Why Java EE? Enterprise Application Features of Enterprise Applications are: Scalability Fault-Tolerant Secure Availability (24/7 without any downtime} Robust Maintainability Distributed Reliable Transactional Speed/Performance Vendor Independent Multi-User Flexible www.prolearninghub.com

Why Java EE? Enterprise Application Architecture An architecture of an enterprise application has: Java EE components Web components EJB components Utility jars Deployment descriptor application.xml Application .war .jar META-INF application.xml www.prolearninghub.com

Why Java EE? Components Web Components Web components are used for Web App Foldder All jsp, html files WEB-INF All resources (.jar) classes All .class files web.xml Web components are used for handling presentation logic. They consist of: Static content HTML pages Images Style-sheets Dynamic content Servlets JSPs Deployment descriptor web.xml weblogic.xml www.prolearninghub.com

Why Java EE? Components EJB Components Application Home. class, Business. class, Bean. class META-INF ejb-jar.xml weblogic-ejb-jar.xml EJB component is a body of code that has fields & methods to implement modules to business logic. Java content Home interface Business interface Bean class Deployment descriptor web.xml weblogic.xml www.prolearninghub.com

Knowledge Check Start www.prolearninghub.com

Java EE provides Component & Container specification? True False www.prolearninghub.com

What are the features of enterprise application? Maintainability Scalability Transactional All of the above www.prolearninghub.com

The Results

APIs & Technologies

API & Technologies What is Servlet? A servlet is a Java object which extends the functionality of a HTTP server. Drawback with CGI: Dynamic contents generation Solution to CGI, or proprietary APIs such as NSAPI or ISAPI are: Efficient Platform and server independent Session management Java-based www.prolearninghub.com

Servlet Based Webserver API & Technologies Servlet vs. CGI The figure shows the difference between CGI and servlet-based model. CGI Based Webserver Child for CGI 1 Child for CGI 2 Request CGI1 Request CGI2 CGI Model Servlet Based Webserver JVM Request Servlet 1 Request Servlet 2 Servlet- based Model Servlet 1 Servlet 2 www.prolearninghub.com

API & Technologies What is JSP Technology? Java Server Pages (JSP) is a technology that helps software developers create dynamically generated web pages based on HTML, XML, and other document types. Enables separation of business logic from presentation: Presentation is in the form of HTML or XML/XSLT. Business logic is implemented as Java beans or custom tags. Better maintainability, and reusability. Extensible via custom tags. Builds on servlet technology. www.prolearninghub.com

API & Technologies What is EJB Technology? EJB (Enterprise JavaBean) is a server-side component technology, which enables the easy development and deployment of Java- based enterprise applications in the form of components that have to be enterprise-quality. They are transactional, distributed, multi-tier, portable, scalable, secure, and reliable, and so on. EJB benefits: Agreed upon by the industry. Portability is easier. Rapid Application Development. Provides support for characteristics required by an Enterprise Application. www.prolearninghub.com

API & Technologies Why EJB Technology? EJB leverages the benefits of component-model on the server side. It separates business logic from system code: - Container provides system services. It provides framework for portable components: Over different J2EE-compliant servers. Over different operational environments. It enables deployment-time configuration. Deployment descriptor. www.prolearninghub.com

API & Technologies EJB Architecture Container Client EJB Server EJB The figure shows a simplified architecture of EJB. Let us learn about the simplified architecture of EJB in detail. Container EJB Server Client EJB Home Object (Home Interface) (Remote Interface) Enterprise JavaBeans™ Component Database or www.prolearninghub.com

Container-Managed Persistance (CMP) API & Technologies EJB Components EJB components come in three varieties, each with its own define role and life cycle. Let us take a look at each of them in detail. Synchronous communication Enterprise JavaBeans Session beans Entity beans Message-driven beans Stateless Stateful Bean-Managed Parsistence (BMP) Container-Managed Persistance (CMP) Asynchronous www.prolearninghub.com

API & Technologies JMS The Java Message Service (JMS) API is a Java Message Oriented Middleware (MOM) API for sending messages between two or more clients. The JMS API was developed by Sun, working in a close co-operation with the leading enterprise message vendors. It is a messaging standard that allows application components based on the Java Enterprise Edition (Java EE) to create, send, receive, and read messages. Messaging systems (MOM) provide: De-coupled communication Asynchronous communication Plays a role of centralized post office. Benefits of messaging systems: - Flexible, reliable, scalable communication systems. Point-to-Point, publish and subscribe. www.prolearninghub.com

API & Technologies Connector Architecture Defines standard API for integrating Java EE technology with EIS systems: CICS, SAP, PeopleSoft, etc Before connector architecture, each App server has to provide an proprietary adaptor for each EIS system: m (# of App servers) x n (# of EIS's) Adaptors With connector architecture, same adaptor works with all Java EE compliant containers: 1 (common to all App servers) x n (# of EIS's) Adaptors www.prolearninghub.com

API & Technologies JAAS Authentication Java Authentication and Authorization Service, (JAAS), is the Java implementation of the standard Pluggable Authentication Module (PAM| information security framework. JAAS was introduced as an extension library to the Java platform, standard edition 1,3 and was integrated in version 1.4. Pluggable authentication framework; User id/password Smartcard Kerberos Biometric Application portability regardless of authentication schemes underneath: JAAS provides authentication scheme independent API. Authentication schemes are specified; login configuration file, which will be read by JAAS. www.prolearninghub.com

API & Technologies JAAS Pluggable Authentication Configuration The figure shows the pluggable authentication framework of JAAS. Applications LoginContext API LoginModule SPI Configuration Kerberos Smart Card Biometric www.prolearninghub.com

API & Technologies JNDI JNDI (Java Naming and Directory Interface) API is utilized by Java EE applications to locate resources and objects in a portable fashion. Applications use symbolic names to find object references to resources via JNDI. When the application is deployed, the symbolic names and object references have to be configured by system administrator. JNDI provides methods for performing standard directory operations, such as associating attributes with objects, and searching for objects using their attributes. JNDI organizes its name into a hierarchy. A name can be any string such as "com.mydomain.ejb.MyBean" or an object that implements the 'Name' interface. However, a string is the most common way to name an object. JNDI is divided into five packages: Javax.naming Javax.naming.directory Javax.naming.event Javax.naming.Idap Javax.naming.spi www.prolearninghub.com

API & Technologies JDBC JDBC (Java Database Connectivity) is a Java API that can access any kind of tabular data, stored in a relational database. JDBC defines interfaces and classes for writing database applications in Java by making database connections. It works with Java on a variety of platforms, such as Windows, Mac OS, and the various version of OS. Vendors provide JDBC complaint driver, which can be invoked via Standard Java Programming API. www.prolearninghub.com

API & Technologies Java EE Management (JSR – 77) Java EE management specification is a Java specification request (JSR-77) for standardization of Java server management. The things Java EE management is trying to address are: Management applications should be able to discover, and interpret the managed data of any Java EE platform. Single management platform can manage multiple Java EE servers from different vendors. Management protocol specifications to ensure a uniform view by SNMP and WBEM management stations. Leverages JMX. www.prolearninghub.com

Standard Deployment API (Universal Remote) API & Technologies Java EE Management (JSR – 88) – J2EE 1.4 IDEs Vendor Deploy Tools Management Tools Tools Standard Deployment API (Universal Remote) J2EE Platforms www.prolearninghub.com

API & Technologies JMX App J2EE App Server JMX API Into the JMX™ (Java Management Extensions) is a standard API for management and monitoring of resources such as applications, devices, services, and the Java virtual machine. The figure illustrates “A single technology for the Java EE platform” JMX App J2EE App Server Dynamic deployment JMX API Into the J2EE 1.4 platform JMX defacto www.prolearninghub.com

Knowledge Check Start www.prolearninghub.com

Identify the correct feature of servlets? Servlets are client-side components that generate dynamic contents Servlets by default can service only one client request at a time Servlets are platform dependent Servlets can service multiple client requests www.prolearninghub.com

Which of the following is the component technology in Java EE? Servlet JSP EJB JMS www.prolearninghub.com

Which of the following is a standard API for management and monitoring of resources? JMS JAAS JNDI JMX www.prolearninghub.com

What are the components that can run in a web container? Application Client An EJB A Servlet and JSP Java Messaging Service www.prolearninghub.com

Which beans can be developed using Bean-Managed Persistence (BMP) or Container-Managed Persistence (CMP), implemented by the container? Session beans Message-driven beans Entity beans All of the above www.prolearninghub.com

Which of the below API supports Asynchronous communication? JMS JMX JNDI JAAS www.prolearninghub.com

Match the description with the correct APIs and Technologies Match the description with the correct APIs and Technologies. It can access any kind of tabular data, stored in a relational database JAAS JNDI JDBC www.prolearninghub.com

Match the description with the correct APIs and Technologies Match the description with the correct APIs and Technologies. It is the Java implementation of the standard Pluggable Authentication Module (PAM) information security framework JAAS JNDI JDBC www.prolearninghub.com

Match the description with the correct APIs and Technologies Match the description with the correct APIs and Technologies. It is utilized by Java EE applications to locate resources and objects in a portable fashion JAAS JNDI JDBC www.prolearninghub.com

The Results

Java EE Roles

Application Component Provider Application Assembler Java EE Roles Roles Java EE specification defines several rotes involved in development, deployment, and management of an enterprise application. The rotes include: Application Component Provider Application Assembler Deployer System Administrator Tool Provider Product Provider www.prolearninghub.com

Creating deployment description Java EE Roles Steps for Developing Java Applocations Steps for developing Java EE applications include: Designing Coding Creating deployment descriptor Packaging Assembling Deployment Deployment Assembling Packaging Creating deployment description Coding Designing www.prolearninghub.com

Web Services Interoperability Technology (WSIT) Java EE Roles Latest Development Let us take a look at the latest developments in Java EE. Annotations EJB 3.0 Web Services Interoperability Technology (WSIT) Small Footprint Glassfish Weblogic 10 www.prolearninghub.com

Web Services Interoperability Technology (WSIT) Java EE Roles Latest Development Annotations EJB 3.0 Web Services Interoperability Technology (WSIT) Annotations are like meta-tags that can be added to the code, and apply them to package declaration, type declarations, constructors, methods, fields, parameters, and variables. As a result, helpful ways can be found to indicate whether the methods are dependent on other methods, or they are incomplete, or the classes have references to other classes, and so on. EJB 3.0 makes another attempt at delivering that promise by EJB's complexity for developers. Features are: No need of home & object interface. No need of any component interface, Makes use of Java annotations. The Java Persistence API (JPA). Simplifies APIs to make flexible for bean's environment. Web Services Interoperability Technology (WSIT) is an open- source project started by Sun Microsystems to develop the next-generation of web service technologies. It provides interoperability between Java Web Services, and Microsoft's Windows Communication Foundation (WCF). www.prolearninghub.com

Java EE Roles Latest Development Small Footprint Glassfish Weblogic 10 With a small memory footprint and fast execution speeds, this API is great for straight-through transformations of data into XML, or out of it. GlassFish is an open source application server project led by Sun Microsystems for the Java EE platform. It is based on source code donated by Sun and Oracle Corporation’s TopLink persistence system. Weblogic 10 Server is an enterprise-ready Java EE application server that supports the deployment of mission- critical applications in a robust, secure, highly available, and scalable environment. It is an Ideal foundation for building applications based on Service Oriented Architectures (SOA). www.prolearninghub.com

Java EE Roles References Everything is available at: Blueprints: A Java Series book: Designing Enterprise Applications with the Java™ 2 Platform Enterprise Edition (downloadable). A sample application "Java Pet Store" Demo: http://java.sun.com/Java EE/blueprints Simplified Java EE guide available at: htlp://java.sun.comJJava EE/white/Java EE_guide.pdf Useful enterprise Java URLs: www.theserverside.com www.onjava.com www.javaworld.com www.prolearninghub.com

Knowledge Check Start www.prolearninghub.com

_____deploys the application in the running operational environment. Bean Developer Application Assembler Bean Deployer System Administrator www.prolearninghub.com

The Results

Summary

Summary In this course, you have learnt to: Define need for Java EE. List different editions in Java. Explain different types of enterprise tiers. Identify different layers in multi-tired distributed programming. Describe Java EE platform architecture. List specifications of Java EE. List components of Java EE architecture. Explain Java EE APIs & technologies. Describe various roles in Java EE. Explain about the latest developments in Java EE.