J2EE Platform Overview (Application Architecture)

Slides:



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

Spring, Hibernate and Web Services 13 th September 2014.
Approaches to EJB Replication. Overview J2EE architecture –EJB, components, services Replication –Clustering, container, application Conclusions –Advantages.
An architecture for webb applications, J2EE
Introduction to Java 2 Enterprise Edition About myself –Neutrinos, Cancer Research, IT Applications Today’s topic: J2EE –Context –Advantages –Components.
Sapana Mehta (CS-6V81) Overview Of J2EE & JBoss Sapana Mehta.
Layers & Tiers Umair Javed Lec - 41.
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.
Component Based Systems Analysis Introduction. Why Components? t Development alternatives: –In-house software –Standard packages –Components 60% of the.
J2EE Java 2 Enterprise Edition. Relevant Topics in The Java Tutorial Topic Web Page JDBC orial/jdbc
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.
CS6320 – J2EE L. Grewe MOTIVATION: E-commerce and Enterprise Computing Models Four models for e-commerce and enterprise computing: Four models for e-commerce.
Distributed System Using Java 2 Enterprise Edition (J2EE)
UNIT-V The MVC architecture and Struts Framework.
JavaServer Faces: The Fundamentals Compiled from Sun TechDays workshops (JSF Basics, Web-Tier Codecamp: JavaServer Faces, Java Studio Creator; IBM RAD)
Chapter 10 EJB Concepts of EJB Three Components in Creating an EJB Starting/Stopping J2EE Server and Deployment Tool Installation and Configuration of.
JDBC Session 5 Tonight: Data Access Patterns 1.J2EE Architecture & Design Patterns 2.The Data Access Tier 3.Data Access Patterns –DataAccessObject (DAO)
EJB Overview Celsina Bignoli Distributed Business Applications Server DB Client DB Server DB.
Architecture Of ASP.NET. What is ASP?  Server-side scripting technology.  Files containing HTML and scripting code.  Access via HTTP requests.  Scripting.
Distributed Multitiered Applications The J2EE platform uses a multitiered distributed application model. Application logic is divided into components 1.
Enterprise Java Beans CS-422. Application Servers In the late 1980s and though the mid 1990s a number of corporations (Broadvision, Netscape…) marketed.
Copyright © 2012 Accenture All Rights Reserved.Copyright © 2012 Accenture All Rights Reserved. Accenture, its logo, and High Performance Delivered are.
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.
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.
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.
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.
Preface IIntroduction Objectives I-2 Course Overview I-3 1Oracle Application Development Framework Objectives 1-2 J2EE Platform 1-3 Benefits of the J2EE.
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.
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.
Java Programming: Advanced Topics 1 Enterprise JavaBeans Chapter 14.
Creating competitive advantage Copyright © 2003 Enterprise Java Beans Presenter: Wickramanayake HMKSK Version:0.1 Last Updated:
EJB. Introduction Enterprise Java Beans is a specification for creating server- side scalable, transactional, multi-user secure enterprise-level applications.
MODEL VIEW CONTROLLER PATTERN. Model View Controller MVC is a time tested method of separating the user interface of an application from its Domain Logic.
Netscape Application Server
N-Tier Architecture.
Introduction to Advanced Java Programming
EJB (Enterprise Java Beans)
MVC and other n-tier Architectures
Distribution and components
EADD – Introduction Chapter -1.
Introduction to J2EE Architecture
Unit 6-Chapter 2 Struts.
Enterprise Application Architecture
Design and Maintenance of Web Applications in J2EE
Enterprise Service Bus (ESB) (Chapter 9)
Model-View-Controller Patterns and Frameworks
Distributed System Using Java 2 Enterprise Edition (J2EE)
Lecture 1: Multi-tier Architecture Overview
Inventory of Distributed Computing Concepts
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.
Component-based Applications
Enterprise Java Beans.
Intro to J2EE Concepts.
SDMX IT Tools SDMX Registry
Presentation transcript:

J2EE Platform Overview (Application Architecture)

Java EE Platform Benefits Simplified architecture and development Freedom of choice in servers, tools, and components Integration with existing information systems Scalability to meet demand variations Flexible security model

Simplified Architecture and Development The JEE platform supports a simplified, component-based development model. This model offers “Write-Once-Run-Anywhere” portability, supported by any server product that conforms to the JEE standard. The component-based JEE development model can enhance application development productivity in a number of ways:

Maps easily to application functionality— Simplifies application maintenance, since components can be updated and replaced independently—new functionality can be shimmed/added into existing applications simply by updating selected components. Enables assembly- and deploy-time behaviors Code of a JEE application can be generated automatically by tools. Many application behaviors can be configured at application assembly or deployment time, without recoding.

Supports division of labor— Web page authors can create JSP templates, Java coders can implement application behavior, Domain experts can develop business logic Application developers and integrators can assemble and deploy applications. This division of labor also expedites application maintenance.

2. Integrating Existing Enterprise IS APIs are used for accessing existing enterprise information systems. • The JEE Connector architecture is the infrastructure for interacting with a variety of Enterprise IS types, including ERP, and other legacy systems. • The JDBC API is used for accessing relational data from the Java programming language. • The Java Transaction API (JTA) is the API for managing and coordinating transactions across enterprise information systems. • The Java Naming and Directory Interface(JNDI) is the API for accessing information in enterprise name and directory services.

• The Java Message Service (JMS) is the API for sending and receiving messages via enterprise messaging systems such as IBM MQ Series and TIBCO Rendezvous. • The JavaMail API is used for sending and receiving e-mail. • Java IDL provides the mechanism for calling CORBA services. • Java APIs for XML provide support for integration with legacy systems and applications, and for implementing Web services in the J2EE platform.

3. Choice of Servers, Tools, and Components The standardization and branding of the J2EE platform provides many benefits, including: • A range of server choices— Application development organizations can expect J2EE branded platforms from a variety of vendors, providing a range of choices in hardware platforms, operating systems, and server configurations. This ensures that businesses get a choice of servers appropriate to their needs.

Designed for tool support— Both enterprise beans and JSP page components are designed to be manipulated by graphical development tools and to allow automating many of the application development Application developers have a choice of tools to manipulate and assemble components, and individual team members may choose tools that best suit their specific requirements.

A marketplace for components— Component-based design ensures that many types of behavior can be standardized, packaged, and reused by any J2EE application. Component vendors will provide a variety of off-the-shelf component solutions, including accounting beans, user interface templates.

4. Scales Easily J2EE containers provide a mechanism that supports simplified scaling of distributed applications, with no application development effort. Because J2EE containers provide components with transaction support, database connections Containers may pool database connections, providing clients with quick, efficient access to data because containers may run on multiple systems, Web containers can automatically balance load in response to fluctuating demand.

5. Simplified, Unified Security Model The J2EE security model is designed to support single sign on access to application services. Component developers can specify the security requirements of a component at the method level While both Enterprise JavaBeans technology and Java Servlet APIs provide programmatic security control, the basic role-based security mechanism (where groups of users share specific permissions) is specified entirely at application deployment time. This provides both greater flexibility and better security control.

Multitier Application Scenario Web container hosts Web components that are almost exclusively dedicated to handling a given application’s presentation logic. The EJB container hosts application components that use EIS resources to service requests from Web-tier components. Application back-office functionality is relatively isolated from the end-user look and feel.

Multitier Application

MVC Framework Regardless of application domain or industry vertical, technology platform, and client-side technology, everyone agrees that three fundamental concepts should be decoupled and kept separate—namely, the data, the business logic that operates on that data, and the presentation of that data to the end user In the JEE platform, design pattern that enforces this separation of concerns is called the MVC model.

MVC Framework Model–view–controller (MVC) is a software architecture pattern which separates the representation of information from the user's interaction with it. The model consists of application data, business rules, logic, and functions. A view can be any output representation of data, such as a chart or a diagram. Multiple views of the same data are possible, such as a bar chart for management and a tabular view for accountants. The controller mediates input, converting it to commands for the model or view. The central ideas behind MVC are code reusability and separation of concerns.

Relationships Between MVC Participants

Components of the MVC pattern. The controller receives the user input, constructs the appropriate model, and then passes it to the view. Both the controller and the view have a dependency on the model, but the model itself is kept ignorant of the controller and view.

Three pieces of the MVC pattern: ■ The model— The domain that your software is built around. If you were building a blog, your models might be post and comment. In some contexts, the term model might refer to a view-specific model— a representation of the domain for the specific purpose of being displayed in the user interface.

Three pieces of the MVC pattern: ■ The view— The visual representation of a model, given some context. It’s usually the resulting markup that the framework renders to the browser, such as the HTML representing the blog post.

Three pieces of the MVC pattern: ■ The controller— The coordinator that provides the link between the view and the model. The controller is responsible for processing input, acting upon the model, and deciding on what action should be performed, such as rendering a view or redirecting to another page. Continuing the blog example, the controller might look up the most recent comments for a post (the model) and pass them to the view for rendering.