JEE Web Applications Jeff Zhuk

Similar documents
Portals, Portlets & Liferay Platform

Web Container Components Servlet JSP Tag Libraries

JBS-102: Jboss Application Server Administration. Course Length: 4 days

WebSphere Application Server - Introduction, Monitoring Tools, & Administration

What Is the Java TM 2 Platform, Enterprise Edition?

Client-Server Architecture & J2EE Platform Technologies Overview Ahmed K. Ezzat

Introduction to Sun ONE Application Server 7

CloudCERT (Testbed framework to exercise critical infrastructure protection)

How to Build an E-Commerce Application using J2EE. Carol McDonald Code Camp Engineer

White Paper: 1) Architecture Objectives: The primary objective of this architecture is to meet the. 2) Architecture Explanation

How To Develop A Web Service In A Microsoft J2Ee (Java) 2.5 (Oracle) 2-Year Old (Orcient) 2Dj (Oracles) 2E (Orca) 2Gj (J

Internet Engineering: Web Application Architecture. Ali Kamandi Sharif University of Technology Fall 2007

WebSphere Portal Server and Web Services Whitepaper

How To Protect Your Computer From Being Hacked On A J2Ee Application (J2Ee) On A Pc Or Macbook Or Macintosh (Jvee) On An Ipo (J 2Ee) (Jpe) On Pc Or

Contents. Client-server and multi-tier architectures. The Java 2 Enterprise Edition (J2EE) platform

Oracle WebLogic Foundation of Oracle Fusion Middleware. Lawrence Manickam Toyork Systems Inc

Java 2 Platform, Enterprise Edition (J2EE) Bruno Souza Java Technologist, Sun Microsystems, Inc.

JAVA/J2EE DEVELOPER RESUME

Communiqué 4. Standardized Global Content Management. Designed for World s Leading Enterprises. Industry Leading Products & Platform

Mastering Tomcat Development

IBM WebSphere Server Administration

This training is targeted at System Administrators and developers wanting to understand more about administering a WebLogic instance.

OUR COURSES 19 November All prices are per person in Swedish Krona. Solid Beans AB Kungsgatan Göteborg Sweden

WEB APPLICATION DEVELOPMENT. UNIT I J2EE Platform 9

Detailed Table of Contents

WebSphere Training Outline

WebSphere Product Family Overview

WebSphere Server Administration Course

Enterprise Integration Architectures for the Financial Services and Insurance Industries

HPC PORTAL DEVELOPMENT PLATFORM

Oracle WebLogic Server 11g Administration

Ministry of Education and Advanced Education. OAS 10g High Level Architecture And Functionality

GlassFish Security. open source community experience distilled. security measures. Secure your GlassFish installation, Web applications,

CHAPTER 1 - JAVA EE OVERVIEW FOR ADMINISTRATORS

Framework Adoption for Java Enterprise Application Development

enterprise^ IBM WebSphere Application Server v7.0 Security "publishing Secure your WebSphere applications with Java EE and JAAS security standards

2012 LABVANTAGE Solutions, Inc. All Rights Reserved.

In this chapter, we lay the foundation for all our further discussions. We start

<Insert Picture Here> Building a Complex Web Application Using ADF and Siebel

MagDiSoft Web Solutions Office No. 102, Bramha Majestic, NIBM Road Kondhwa, Pune Tel: /

Design Patterns. Design patterns are known solutions for common problems. Design patterns give us a system of names and ideas for common problems.

HPC Portal Development Platform with E-Business and HPC Portlets

Glassfish, JAVA EE, Servlets, JSP, EJB

WebSphere Portal, Portlets and Web Services

Developing XML Solutions with JavaServer Pages Technology

WebFacing and HATS overview

Net-WMS FP Net-WMS SPECIFIC TARGETED RESEARCH OR INNOVATION PROJECT. Networked Businesses. D.8.1 Networked architecture J2EE compliant

Enterprise Application Integration

Web Development with the Eclipse Platform

Web Cloud Architecture

Server-Side Scripting and Web Development. By Susan L. Miertschin

Client/server is a network architecture that divides functions into client and server

An introduction to creating JSF applications in Rational Application Developer Version 8.0

Stock Trader System. Architecture Description

SAP NetWeaver Opens SAP ERP world. Amedeo Prodi SAP Italia

Learning GlassFish for Tomcat Users

3-Tier Architecture. 3-Tier Architecture. Prepared By. Channu Kambalyal. Page 1 of 19

Customer Bank Account Management System Technical Specification Document

Software Development Interactief Centrum voor gerichte Training en Studie Edisonweg 14c, 1821 BN Alkmaar T:

A Comparative Study of Web Development Technologies Using Open Source and Proprietary Software

zen Platform technical white paper

NetBeans IDE Field Guide

SSC - Web development Model-View-Controller for Java web application development

Extreme Java G Session 3 Main Theme Java Core Technologies (Part I) Dr. Jean-Claude Franchitti

PRACTICAL ADF APPLICATION DEPLOYMENT FOR FUSION MIDDLEWARE ADMINISTRATORS

SOA REFERENCE ARCHITECTURE: WEB TIER

Project Manager 1 Post == Experience years in Project Management in reputed company, Salary Rs.1,20,000/-

Oracle Identity Analytics Architecture. An Oracle White Paper July 2010

Proposal for DSpace Web MVC

Research Article. ISSN (Print) *Corresponding author Lili Wang

The Comparison of J2EE and.net for e-business

C/S Basic Concepts. The Gartner Model. Gartner Group Model. GM: distributed presentation. GM: distributed logic. GM: remote presentation

Adobe ColdFusion 11 Enterprise Edition

Building Web Applications, Servlets, JSP and JDBC

White paper. IBM WebSphere Application Server architecture

Course Name: Course in JSP Course Code: P5

Enterprise Application Development In Java with AJAX and ORM

Programma corso di formazione J2EE

Chapter 2 TOPOLOGY SELECTION. SYS-ED/ Computer Education Techniques, Inc.

CS Developing Web Applications with Java Technologies

Enterprise Architecture For Next Generation Telecommunication Service Providers CONTACT INFORMATION:

What means extensibility?

B. WEB APPLICATION ARCHITECTURE MODELS

JAVA ENTERPRISE IN A NUTSHELL. Jim Farley and William Crawford. O'REILLY 4 Beijing Cambridge Farnham Koln Paris Sebastopol Taipei Tokyo.

MVC pattern in java web programming

WEBLOGIC ADMINISTRATION

Web and Enterprise Applications Developer Track

applications. JBoss Enterprise Application Platform

JSLEE and SIP-Servlets Interoperability with Mobicents Communication Platform

Programming SIP Services University Infoline Service

Java-technology based projects

Transcription:

JEE Web Applications Jeff Zhuk From the book and beyond Integration-Ready Architecture and Design Cambridge University Press Software Engineering With XML, Java,.NET, Wireless, Speech and Knowledge Technologies

Knowledge Engine SRS Enterprise Services and Presentation Layers WAP I-mode Integration with other HTML/WML/cHTML/XML Clients systems VoiceXML/SALT/SRS Clients WinCE/TabletPC/J2SE/J2ME/Applets/Apps/JWS Wireless or PDA Clients: 802.11; Bluetooth;WiFi; etc Services Data and Service Valuation Facility management with Geo Info System Instant Share Voice and Video Service Distributed Knowledge Framework Partner Integration Framework Document Handling Services Business Data Integrator Natural Language Interpreter Knowledge Engine Service Registry Centers XML Rules Descriptor Remote Control Service

Multi-tier Enterprise Architecture 802.11 Client Container Bluetooth Browser or mail client Web Server Client Device Or With Embedded Application Dynamic Content Engines Mail Server ASP.NET JSP/Servlet Data and Remote Systems Service Container (App Server) Connectors Message Queue Device and data drivers Business Services XML rules and descriptors LDAP RDBMS DS, NS Control Devices Legacy Apps

A multi-tier Open Enterprise architecture A multi-tier open Java based enterprise architecture is built as a set of extensible services-frameworks with ability to add/customize services run-time Tier 1 Client requests services via XML based service API - Client types: 1) partner application running on a workstation, 2)Web Browser with JavaTM Applet, 3)Wireless device with embedded WML browser or VoiceXML interpreter, 4)Java card technology device, etc. - Tier 2 Web Container with J2EE Servlet and JSP engines where servlet is responsible for session tracking and request distribution, and JSPs provide presentation layer back to the client. Tier 2 can be considered as a communication tier that in the case of HTTP serves as a Web Container - Tier 3 worker beans providing services. Worker beans can be (not necessary) implemented as EJBs to gain advantage of security and transaction monitoring services provided by EJB containers. - Tier 4 Connectors to Data, Remote Systems, etc. (XML API to Tier5) - Unified JNDI based approach is used for data integration describing data types, rules, and structure with XML descriptors. A master controller with XML based API is created to describe a set of operations on device controllers. ITS, Inc. dean@javaschool.com

Java Enterprise Services Naming and Directory allows programs to locate services and components through the Java Naming and Directory Interface (JNDI) API Authentication enforces security by requiring users to log in HTTP enables Web browsers to access servlets and JavaServer Pages (JSP) files EJB allows clients to invoke methods on enterprise beans JMS - enables asynchronous processing with messaging services

JEE Implementations of Model-View-Controller (MVC) Design Pattern Web Applications before MVC: -Common Gateway Interface (CGI) MVC Model 1 (Page-centric Architecture) JSP-to-JSP MVC Model 2 (Servlet-centric Architecture Open Source Web application frameworks: Struts and more Standard-based Web application framework: Java Server Faces (JSR-127)

Common Gateway Interface (CGI) A Mix of Presentation and Business Logics With Generous Use of Resources On the server side Client(s) Submit Form Request Web Browser Http Post/Get VB/Perl/Java/exe Display Page Web Server IIS Apache Print <html> Program that performs business logics, works with data, and generates HTML Response Etc. Database Each client request fires up a program (process) on the server side that performs business logic and sends a dynamic HTML page back to the client

MVC Model 1 Page-Centric Architecture <html> Web Tier Client(s) Submit Form Request Web Browser Http Post/Get Display Page <% a= b + c %> JSPs / ASPs with Embedded Java Beans Other Enterprise Applications to execute Response business logic and provide data access Database Interrelated JSP pages provide presentation, control, and business processing with scriplets and embedded Java beans encouraging spaghetti code in JSP.

MVC Model 2 - Better Separation of Business and Presentation Layers Web Tier Servlet Client(s) Submit Form Controller Other Enterprise Applications Request Web Browser Http Post/Get Display Page Web Tier Model Response JSPs are Java Beans forming The View Service Layer Database Servlet and JSP work together. Servlet and related classes, like Struts Action, control application logic and interact with services while JSP forms the presentation

Current Enterprise Web Applications with Struts and other Frameworks Client Request: App Server Service= mail ASCX or Servlet Controller Action= get ASP/JSP View Multiple Layers: wml html vxml etc. Type= wml Model Components: Service Beans or Actions AJAX EJBs EJBs EJBs DataService Semantics Frameworks by ITS, Inc. Complementary To Struts and Portlets Struts Spring Hibernate Persistent Data MVC Design Pattern (J2EE/ASP.Net) Multiple Presentation Factories (HTML/WML/etc.)

Self-Healing Well Packaged Applications Use existing frameworks to: - Deliver basic operation statistics - Monitor application health - Validate application data - Prepare application for work (Leave only DDL in your release notes, use app services to prepare data) - Provide testing facilities Provide standard ways for data exchange Provide standard ways to configure applications

e-business e-government e-training Common Portal Use Cases Change Business Rules Login Policy Maker Admin User Access Rules: Change User Roles Accessibility Single Sign-On Role based Access User Privacy Control Device Independence Registration Registrar Customize Recognize Common Problems and Use Design Patterns Member User Profile Search Knowledgebase Content Management Content Management Authoring, Update, Versioning Forms, Permits, Applications Scheduling events/facilities Workflow Routing Planning and Approval Document/Photo Imaging Task Tracking and Reporting Data and Service Evaluation Collaboration Collaboration Search Email Conferencing Instant Messaging Privilege-based Data/Service Sharing Search for Data and Services GIS (Maps and Routes) Linking Related Cases Content-based Subscription

Summary/Repetition Web Application Architectures 1 No MVC = CGI 2? 3? 4? 5?

Summary/Repetition Web Application Architectures 1 No MVC = CGI 2 MVC Model 1 Page-Centric Architecture 3? 4? 5?

Summary/Repetition Web Application Architectures 1 No MVC = CGI 2 MVC Model 1 Page-Centric Architecture 3 MVC Model 2 - Better Separation of Business and Presentation Layers 4? 5?

Summary/Repetition Web Application Architectures 1 No MVC = CGI 2 MVC Model 1 Page-Centric Architecture 3 MVC Model 2 - Better Separation of Business and Presentation Layers 4 Struts and Other Frameworks reduce generic code 5?

Summary/Repetition Web Application Architectures 1 No MVC = CGI 2 MVC Model 1 Page-Centric Architecture 3 MVC Model 2 - Better Separation of Business and Presentation Layers 4 Struts and Other Frameworks reduce generic code 5 Self-Healing Well Packaged Applications