CS6320 – J2EE L. Grewe MOTIVATION: E-commerce and Enterprise Computing Models Four models for e-commerce and enterprise computing: Four models for e-commerce.

Slides:



Advertisements
Similar presentations
3 Copyright © 2005, Oracle. All rights reserved. Designing J2EE Applications.
Advertisements

JNDI Java Naming Directory Interface JNDI is an API specified in Java that provides naming and directory functionality to applications written in Java.
An architecture for webb applications, J2EE
Sapana Mehta (CS-6V81) Overview Of J2EE & JBoss Sapana Mehta.
Introduction to Enterprise JavaBeans. Integrating Software Development Server-side Component Model Distributed Object Architecture –CORBA –DCOM –Java.
Chapter 13 Physical Architecture Layer Design
Layers & Tiers Umair Javed Lec - 41.
1 Build a Web Application on J2EE. 2 J2EE Scenario Client – Web Server – EIS Resources Client – Web Server – EIS Resources Client – Application Server.
Satzinger, Jackson, and Burd Object-Orieneted Analysis & Design
J2EE Java2 Enterprise Edition by Damian Borth. Contents Introduction Architectures styles Components Scenarios Roles Processing a HTTP request.
Slide 1 Systems Analysis & Design CS183 Spring Semester 2008 Dr. Jonathan Y. Clark Course Website:
The Architecture of Transaction Processing Systems
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 Servlet & JSP
Enterprise Programming By J Pearce. Enterprise Software Sales HR Inventory Customer Support Shipping.
Nikolaos Korfiatis The Java 2 Enterprise Edition Platform Dept. of Management & Technology-Athens University of Economics and Business Java 2 Platform.
E-business Architecture.NET vs J2EE Judith Molka-Danielsen Feb.27, 2004.
Application Architectures Vijayan Sugumaran Department of DIS Oakland University.
CS 483 Enterprise and Web Application Programming
Understanding and Managing WebSphere V5
Distributed System Using Java 2 Enterprise Edition (J2EE)
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.
Database Architectures and the Web
Introduction to Java EE (J2EE)
Copyright © 2012 Accenture All Rights Reserved.Copyright © 2012 Accenture All Rights Reserved. Accenture, its logo, and High Performance Delivered are.
EJB Overview Celsina Bignoli Distributed Business Applications Server DB Client DB Server DB.
Oracle8 JDBC Drivers Section 2. Common Features of Oracle JDBC Drivers The server-side and client-side Oracle JDBC drivers provide the same basic functionality.
Chapter 4: Core Web Technologies
HTTP client wide area network (Internet) HTTP proxy HTTP server HTTP gateway firewall HTTP tunnel Copyright Springer Verlag Berlin Heidelberg 2004.
Ing. Ignacio Roqueta ARTech GeneXus and J2EE.
Bayu Priyambadha, S.Kom. What is J2EE? * Open and standard based platform for developing, deploying and managing n-tier, Web-enabled, server-centric,
Modern Software Technologies Java™, J2EE™, JSP™, JDBC™ by Radoslav Tr. Ivanov
1 Copyright © 2004, Oracle. All rights reserved. Introduction to Oracle Forms Developer and Oracle Forms Services.
CS 493/693: Distributed Systems Programming V. “Juggy” Jagannathan CSEE, West Virginia University March 21, 2005.
Enterprise Java Beans Part I Kyungmin Cho 2001/04/10.
Enterprise JavaBeans. What is EJB? l An EJB is a specialized, non-visual JavaBean that runs on a server. l EJB technology supports application development.
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.
Slide 1 Physical Architecture Layer Design Chapter 13.
J2EE Overview ver 1.0Page 1 © Wipro Technologies Talent Transformation J2EE Overview.
Source: Peter Eeles, Kelli Houston, and Wojtek Kozaczynsky, Building J2EE Applicationa with the Rational Unified Process, Addison Wesley, 2003 Prepared.
Databases JDBC (Java Database Connectivity) –Thin clients – servlet,JavaServer Pages (JSP) –Thick clients – RMI to remote databases –most recommended way.
1 Java EE Programming Enterprise JavaBeans. 2 Topics J2EE Overview Enterprise JavaBeans Overview Enterprise Entity Beans Case Study How to build them.
Enterprise Java Beans. Model 1 J2EE – Web View Model/View/Controller Model View Control Data base Web Server Model One Architecture HTTP Request HTTP.
© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/3 JSP Application Models.
What is J2EE Platform The Java 2 Platform Enterprise Edition (J2EE) defines the standard for developing multitier enterprise applications.
1 Copyright © 2004, Oracle. All rights reserved. Oracle Application Development Framework.
1 Distributed System using J2EE. 2 What is J2EE?  J2EE (Java2 Enterprise Edition) offers a suite of software specification to design, develop, assemble.
Modern Programming Language. Web Container & Web Applications Web applications are server side applications The most essential requirement.
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.
JDBC Chapter 1 JDBC Introduction
Creating competitive advantage Copyright © 2003 Enterprise Java Beans Presenter: Wickramanayake HMKSK Version:0.1 Last Updated:
©NIIT Introducing Enterprise JavaBeans (EJB) Lesson 1A / Slide 1 of 43J2EE Server Components Objectives In this lesson, you will learn about: The features.
EJB Enterprise Java Beans JAVA Enterprise Edition
J2EE Platform Overview (Application Architecture)
Introduction to Oracle Forms Developer and Oracle Forms Services
Netscape Application Server
Introduction to Oracle Forms Developer and Oracle Forms Services
Introduction to Oracle Forms Developer and Oracle Forms Services
EADD – Introduction Chapter -1.
Introduction to J2EE Architecture
Distributed System Using Java 2 Enterprise Edition (J2EE)
Web Application Server 2001/3/27 Kang, Seungwoo. Web Application Server A class of middleware Speeding application development Strategic platform for.
Component-based Applications
Component Technology Bina Ramamurthy 2/25/2019 B.Ramamurthy.
Seminarium on Component-based Software Engineering
Presentation transcript:

CS6320 – J2EE L. Grewe

MOTIVATION: E-commerce and Enterprise Computing Models Four models for e-commerce and enterprise computing: Four models for e-commerce and enterprise computing: Business to businessBusiness to business Business to customerBusiness to customer Customer to customerCustomer to customer Intra-businessIntra-business Implementation technology has gone through two-tier to component- based n-tier architecture. Implementation technology has gone through two-tier to component- based n-tier architecture.

Why N-tier Systems Architecture Different presentations of the same business data. Different presentations of the same business data. Change the business logic, or database type or schema without impacting the clients. Change the business logic, or database type or schema without impacting the clients. Hide middle tier (business logic) behind a firewall. Hide middle tier (business logic) behind a firewall. Database connection pools. Database connection pools. Selectively upgrade parts of the architecture without rewriting the entire application. Selectively upgrade parts of the architecture without rewriting the entire application.

N-tier Systems

Java™2 Platform, Enterprise Edition (J2EE) J2EE is introduce to reduce the cost and complexity of developing n-tired enterprise applications J2EE is introduce to reduce the cost and complexity of developing n-tired enterprise applications J2EE defines a complete platform that guarantees services in such areas as: J2EE defines a complete platform that guarantees services in such areas as: SecuritySecurity Transaction ManagementTransaction Management Resource ManagementResource Management Naming and DirectoryNaming and Directory MessagingMessaging Concurrency controlConcurrency control InteroperabilityInteroperability

J2EE Architecture The J2EE runtime environment consists of four major parts: The J2EE runtime environment consists of four major parts: Application componentsApplication components ContainersContainers Resource manager driversResource manager drivers Database supportDatabase support

J2EE Application Components J2EE defines four application component types: J2EE defines four application component types: Application clientsApplication clients AppletsApplets Servlets and JavaServer pages (JSP)Servlets and JavaServer pages (JSP) Enterprise JavaBeans™ components (EJB)Enterprise JavaBeans™ components (EJB)

J2EE Containers J2EE supports four separate types of containers, corresponding to the four types of components: J2EE supports four separate types of containers, corresponding to the four types of components: Application client containersApplication client containers Applet containersApplet containers Web containersWeb containers Enterprise bean containersEnterprise bean containers All types of containers must provide Java 2 Platform Standard Edition (J2SE) compatible runtime environment All types of containers must provide Java 2 Platform Standard Edition (J2SE) compatible runtime environment

J2EE Architecture

Benefits of J2EE Architecture J2EE server core manages resources and transactions and includes the java 2 platform virtual machine J2EE server core manages resources and transactions and includes the java 2 platform virtual machine J2EE platform services may be implemented on a single system or distributed over disparate platforms. J2EE platform services may be implemented on a single system or distributed over disparate platforms. J2EE-compliant servers guarantee the seamless and correct execution of all components and middleware services. J2EE-compliant servers guarantee the seamless and correct execution of all components and middleware services. Developers do not need to manage the integration of service implementations from various vendors (it is the J2EE platform vendor’s responsibility). Developers do not need to manage the integration of service implementations from various vendors (it is the J2EE platform vendor’s responsibility).

Other benefits of J2EE Architecture Service API are specified as Enterprise Java technology interfaces, which may be plugged seamlessly into the server Service API are specified as Enterprise Java technology interfaces, which may be plugged seamlessly into the server The application server provides services such as: The application server provides services such as: Load balancingLoad balancing ReplicationReplication Database connection poolingDatabase connection pooling Thread poolingThread pooling CachingCaching J2EE is vendor independent – Application builders can choose from a variety of server implementations. J2EE is vendor independent – Application builders can choose from a variety of server implementations.

Component-based Server Development The application server may be implemented using reusable components. The application server may be implemented using reusable components. Server components: Server components: Have well-defined business interfaces for their clients.Have well-defined business interfaces for their clients. Interact with the container through well- defined API.Interact with the container through well- defined API. J2EE technology provides a set of vendor- independent programming interfaces for the implementation of the container (middle tier). J2EE technology provides a set of vendor- independent programming interfaces for the implementation of the container (middle tier).

Component-based Server Development EJB technology forms one core of the J2EE architecture. EJB technology forms one core of the J2EE architecture. Presentation logic is implemented using servlets and JSP. Presentation logic is implemented using servlets and JSP. Business logic objects are implemented as EJB and/or servlets. Business logic objects are implemented as EJB and/or servlets. Data layer represented with EJB. Data layer represented with EJB.

J2EE Containers J2EE containers provide: J2EE containers provide: An environment and context for J2EE components to execute.An environment and context for J2EE components to execute. Resource management and other system services to the components.Resource management and other system services to the components. Operating system processes. Operating system processes. Threads. Threads. Container services are exposed to components through interfaces (the container itself is specified using interfaces). Container services are exposed to components through interfaces (the container itself is specified using interfaces).

J2EE Connectors Connectors are used to integrate various existing information systems in a J2EE- based application. Connectors are used to integrate various existing information systems in a J2EE- based application.

J2EE Connectors Leverage investments in existing enterprise systems. Leverage investments in existing enterprise systems. A connector is a vendor-specific bridge used to link an existing system to the J2EE system. A connector is a vendor-specific bridge used to link an existing system to the J2EE system. Connectors manage (and hide) all the logic used to integrate with proprietary systems and present their services as JavaBeans components. Connectors manage (and hide) all the logic used to integrate with proprietary systems and present their services as JavaBeans components.

J2EE Applications A J2EE application is a collection of software components that are engineered to be distributed across multiple tires of an N-tier system. These software components are implemented as EJB. A J2EE application is a collection of software components that are engineered to be distributed across multiple tires of an N-tier system. These software components are implemented as EJB. J2EE applications may play the role of a client or a server depending on which tier they are deployed. J2EE applications may play the role of a client or a server depending on which tier they are deployed. J2EE applications are not required to be distributed, but they should be engineered so that they may be deployed on a distributed system. J2EE applications are not required to be distributed, but they should be engineered so that they may be deployed on a distributed system.

J2EE Application Components There are two types of J2EE application components: Web components for handling presentation logic and EJB components for handling the business logic. There are two types of J2EE application components: Web components for handling presentation logic and EJB components for handling the business logic. Web components are implemented as JSP or servlets. These components shield the first-tier clients from the complexity of the application server.Web components are implemented as JSP or servlets. These components shield the first-tier clients from the complexity of the application server. JSP presents application server services in a form that is usable by any browser-based client.JSP presents application server services in a form that is usable by any browser-based client. Servlets manage the presentation of application server services for clients such as Java appplets, Java applications and Web browsers.Servlets manage the presentation of application server services for clients such as Java appplets, Java applications and Web browsers.