Design B. Pernici. Design UX mapping View ControllerModel EJB, JavaB eans JSP pages, JavaBeans components Session EJB e controller classes, client side.

Slides:



Advertisements
Similar presentations
A plataforma J2EE.
Advertisements

J0 1 Marco Ronchetti - Basi di Dati Web e Distribuite – Laurea Specialistica in Informatica – Università di Trento.
J0 1 Marco Ronchetti - Basi di Dati Web e Distribuite – Laurea Specialistica in Informatica – Università di Trento.
19 Copyright © 2005, Oracle. All rights reserved. Distributing Modular Applications: Developing Web Services.
21 Copyright © 2005, Oracle. All rights reserved. Oracle Application Server 10g Transaction Support.
1 Copyright © 2005, Oracle. All rights reserved. Introduction.
11 Copyright © 2005, Oracle. All rights reserved. Creating the Business Tier: Enterprise JavaBeans.
JSP and Servelets.
JSP and web applications
Enterprise Java and Data Services Designing for Broadly Available Grid Data Access Services.
XML-based web services with the java 2 platform, Enterprise edition (j2EE) by anis karimpour-fard.
J2EE Architecture Overview
Analisi e design B. Pernici. Sommario Modelli (design) –Presentation design –EJB design.
 2002 Prentice Hall. All rights reserved. Chapter 9: Servlets Outline 9.1 Introduction 9.2 Servlet Overview and Architecture Interface Servlet and.
ISE 390 Dynamic Web Development Java EE Web Applications.
Time Scalability Single User Unlimited Users 100s of Users Several Users PC based Single user Late 1980sNow PC based, file-level locking Single user or.
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.
Outline IS400: Development of Business Applications on the Internet Fall 2004 Instructor: Dr. Boris Jukic Server Side Web Technologies: Part 2.
Time Scalability Single User Unlimited Users 100s of Users Several Users PC based Single user Late 1980sNow PC based, file-level locking Single user or.
Layers & Tiers Umair Javed Lec - 41.
J2EE Java2 Enterprise Edition by Damian Borth. Contents Introduction Architectures styles Components Scenarios Roles Processing a HTTP request.
Multiple Tiers in Action
Apache Tomcat Server Typical html Request/Response cycle
1 CS 483 Enterprise and Web Application Programming Week 6 Session Beans JSP Tutorial.
Java 2 Platform, Enterprise Edition (J2EE). Source: Computer, August 2000 J2EE and Other Java 2 Platform Editions.
Technion – Israel Institute of Technology Department of Electrical Engineering Software Lab Grades Server on J2EE Technology Edo Yichie Sagee Rosen Supervisor:
Structure of a web application1 Dr Jim Briggs. MVC Structure of a web application2.
Emmanuel Cecchet et al.  Performance Scalability of J2EE application servers.  Test effect of: ◦ Application Implementation Methods ◦ Container Design.
Chapter 10 EJB Concepts of EJB Three Components in Creating an EJB Starting/Stopping J2EE Server and Deployment Tool Installation and Configuration of.
1 l Enterprise Computing -- 3-tier and multi-tier applications l Enterprise JavaBeans n EJB Features n Types of EJBs l Example – A Currency Converter n.
Ing. Ignacio Roqueta ARTech GeneXus and J2EE.
CS 493/693: Distributed Systems Programming V. “Juggy” Jagannathan CSEE, West Virginia University March 21, 2005.
Entity Java Beans Jorg Janke Open Source ERP & CRM.
Enterprise Java Bean Matt. 2 J2EE 3 J2EE Overview.
Case study concerning architecture development Emil Doychev, Georgi Cholakov, University of.
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.
TDDD05 EJB Lab (Part of slides reused from Mikhail’s) Lu Li
JBoss at Work JAW Motors Application Chapter 1-3 Jeff Schmitt October 9, 2006.
JBoss Seam Presented by Andy Nguyen Truc Pham. What is JBoss Seam? Created by Gavin King Created by Gavin King A lightweight framework for Java EE 5.0.
Web applications using JavaServer Faces (JSF) A brief introduction 1JavaServer Faces (JSF)
J2EE Structure & Definitions Catie Welsh CSE 432
Lecturer: Prof. Piero Fraternali, Teaching Assistant: Alessandro Bozzon, Advanced Web Technologies: Struts–
Fall CIS 764 Database Systems Design L8. Web ….
SE-02 COMPONENTS – WHY? Object-oriented source-level re-use of code requires same source code language. Object-oriented source-level re-use may require.
© 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.
Session Beans Based on: Patel, Brose, Silverman, Mastering Enterprise JavaBeans 3.0.
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.
JSP / Servet (2) Bayu Priyambadha, S.Kom. MVC (Model View Controller)  Model (data logic)  Java Class (standard class, servlet, JavaBeans, or other.
17 Copyright © 2004, Oracle. All rights reserved. Integrating J2EE Components.
Java Web Development with NetBeans IDE -- Kai Qian Chapter 9 Case Study.
J2EE Lecture 10: EJB 3.0 Overview
Web-based Software Development - An introduction
Structure of a web application
Introduction to J2EE Architecture
Enterprise Java Bean. Overview of EJB View of EJB Conversation Roles in EJB, Types of Enterprise Beans Lifecycle of Beans Developing Applications using.
J2EE Application Development
ISE 390 Dynamic Web Development
Introduction to Enterprise JavaBean
Distributed System Using Java 2 Enterprise Edition (J2EE)
Understanding and Designing with EJB
JavaServer Faces: The Fundamentals
Understanding and Designing with EJB
Enterprise Java Beans.
Seminarium on Component-based Software Engineering
Presentation transcript:

Design B. Pernici

Design UX mapping

View ControllerModel EJB, JavaB eans JSP pages, JavaBeans components Session EJB e controller classes, client side scripting

Design o Implementazione ??? Presentation tier –Pagine JSP, Pagine HTML, classi Java di servizio Application tier (EJB) –Control –Session data management (alcuni dati non persistenti) Resource tier –Gestione persistenza –Collegamento a DB design, interface with EIS

Scelte di progetto (1) Controller –Java class (JavaBean) local to JSP page –Session EJB Stateless –Piu’ veloce, non mantiene stato Stateful –Se necessario mantenere info di sessione

Scelte di progetto (2) Dati –Nelle classi Java (senza persistenza) –In entity EJB Persistenza gestita da container Persistenza gestita da EJB (uso DB) > come proxy –Es: Order class: A proxy for an order entity. This JavaBean interface class's intent is to act as a lightweight interface to Enterprise Java Bean classes that actually represent Orders in the system. All necessary EJB look up and call methods are managed by instances of this class.

Esempio ordine Order boundary Order controller Order entity (proxy) Order entity EJB Order in DBMS (tabelle relazionali)

Esempio ordine ( >, > Order “proxy”

“Pages”

Implementation Componenti –Risorse web (URL referenziabili) –Componenti web (JSP, HTML) (web) –Package di classi Java (com) –??? Package JDK (java) –Package J2EE (javax)