Fall 2007 1 CIS 764 Database Systems Engineering L7. ADF + EJB Context: Oracle Application Development Framework …but … only EJB.

Slides:



Advertisements
Similar presentations
1 Copyright © 2005, Oracle. All rights reserved. Introduction.
Advertisements

J2EE Architecture Overview
JSF Portlet Backing Beans and UI Components Copyright © Liferay, Inc. All Rights Reserved. No material may be reproduced electronically or in.
J2EE JavaServer Faces (JSF) Introduction Internetteknologi 2 (ITNET2)
Apache Struts Technology
2136: Developing Web GUI Using JSF  Vishy Kasar.
An architecture for webb applications, J2EE
Oracle Fusion Middleware 11g Abhishek Khanolkar. What is Oracle Fusion? “Oracle Fusion Middleware is a ‘preintegrated’ portfolio of customer- proven software.
Fall CIS 764 Database Systems Engineering L13: Status: grading, assignments, tutorials, presentations projects.
Integrating SOA and the Application Development Framework Shaun O’Brien Principal Product Manager – Oracle JDeveloper / ADF.
JBoss Seam: Contextual Components Jason Bechtel
Internet Technologies 1 Master of Information System Management Java Server Faces Model/View/Controller Design Pattern for Web Development Slides.
Java Server Faces Model/View/Controller Design Pattern for Web Development Slides adapted from “Core JavaServer Faces” by Geary and Horstmann and the J2EE.
Struts 2.0 an Overview ( )
UNIT-V The MVC architecture and Struts Framework.
95-843: Service Oriented Architecture 1 Master of Information System Management Service Oriented Architecture Oracle SOA Suite 11g.
A Choice between Interoperability and Migration By Chaitanya Kurada Masters Defense Major professor: Dr.Daniel Andresen.
Praxis Softek Solutions Statement Of Qualification – J2EE.
Chapter 10 EJB Concepts of EJB Three Components in Creating an EJB Starting/Stopping J2EE Server and Deployment Tool Installation and Configuration of.
Fall CIS 764 Database Systems Engineering L12.2: Web Services ++ Web service as an enterprise “component” Distributed business.
1 INTRO TO BUSINESS COMPONENTS FOR JAVA (BC4J) Matt Fierst Computer Resource Team OracleWorld Session
Fall CIS 764 Database Systems Engineering L3: Two Assignments Relating to J2EE.
CSCI 6962: Server-side Design and Programming Course Introduction and Overview.
Pittsburgh Java User Group– Dec Java PureFaces: A JSF Framework Extension.
Grant Ronald Principal Product Manager JDeveloper and ADF for Forms Developers: Taking it to the next level.
iphone / Mobile Application Development using Oracle ADF Jon Gooding – Solutions Architect.
Session Beans Overview EJB container Remote Invocation Represent client's access to app Local / Remote speed / flexibility trade-off when to choose local.
Fall CIS 764 Database Systems Engineering L3: Status Reverse Engineering Assignment JDeveloper Assignment.
JDeveloper 10g and JavaServer Faces: High-Performance UIs on the Web Avrom Roy-Faderman Senior Programmer May, 2006.
1 Stateful Session Beans Stateless Session Beans Michael Brockway Sajjad Shami Northumbria University School of Computing, Engineering & Information Sciences.
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.
EJB Framework.  As we know, EJB is the center of the J2EE architecture that provides a sturdy framework for building enterprise applications. The major.
Web applications using JavaServer Faces (JSF) A brief introduction 1JavaServer Faces (JSF)
J2EE Structure & Definitions Catie Welsh CSE 432
8/15/2003System Specialists Corporation How to implement BC4J with the Struts Framework Eugene Sicat Technical Architect/Project Manager System Specialists.
A TUTORIAL TO USING EJBs by SHREERAM IYER 09/17/2001.
Fall CIS 764 Database Systems Design L8. Web ….
Fall CIS 764 Database Systems Engineering L9: ADF Homework, Listening Assignment.
Fall CIS 764 Database Systems Engineering L13: Status: grading, assignments, tutorials, presentations projects
Fall CIS 764 Database Systems Engineering L1: Introduction to … CIS 764 Enterprise Database Systems Engineering: Software.
Fall CIS 764 Database Systems Engineering L7. EJB’s.
Kuassi Mensah Java Products Group Stephen Jones Oracle University.
Fall CIS 764 Database Systems Engineering L6. ADF Overview: Oracle Application Development Framework: Fusion Middleware.
1 Architectural Overview For application developers, assembling enterprise beans requires little or no expertise in the complex system-level issues that.
Application Development Framework (ADF) Introduction 5-Oct-2012.
Enterprise Java Beans. Model 1 J2EE – Web View Model/View/Controller Model View Control Data base Web Server Model One Architecture HTTP Request HTTP.
Fall CIS 764 Database Systems Engineering L18.2 : Object Relational Mapping … ….Object persistence.
Liang, Introduction to Java Programming, Seventh Edition, (c) 2009 Pearson Education, Inc. All rights reserved Chapter 41 JavaServer Face.
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.
Fall CIS 764 Database Systems Engineering L15: Deployment Deploy … to place or arrange for deliberate (intended) purpose.
Enterprise JavaBeans Session Beans. Session beans are a type of Enterprise JavaBean component designed to implement business logic responsible for managing.
Session Beans Based on: Patel, Brose, Silverman, Mastering Enterprise JavaBeans 3.0.
Enterprise JavaBeans: Fundamentals. EJB Fundamentals(c)CDAC(Formerly NCST)2 Contents Introduction Technology Overview EJB Architecture EJB Specification.
2 Copyright © 2004, Oracle. All rights reserved. ADF Development Process.
14 Copyright © 2004, Oracle. All rights reserved. Achieving State Management in the Business Tier.
By Jonathan Smith. Road Map Introduction Company Information Project Overview Java Web Design and Development Summary Relation to IUP Acknowledgments.
Fall CIS 764 Database Systems Engineering L11: Object Relational Mapping … (a) ORM, Object persistence (b) Pets sequence.
TECHLEADS IT Oracle Apps ADF R12
EJB (Enterprise Java Beans)
Distributed System Using Java 2 Enterprise Edition (J2EE)
Evaluating Compuware OptimalJ as an MDA tool
CIS 764 Database Systems Engineering
JavaServer Faces: The Fundamentals
CIS 764 Database Systems Engineering
CIS 764 Database Systems Engineering
Component Technology Bina Ramamurthy 2/25/2019 B.Ramamurthy.
The JSF Tools Project – WTP (internal) release review
Presentation transcript:

Fall CIS 764 Database Systems Engineering L7. ADF + EJB Context: Oracle Application Development Framework …but … only EJB homework for now.

Fall CIS 764 Database Systems Engineering Oracle Fusion … the whole middleware suite … application server (including OC4J) BEPL manager (business process execution language) business rules system messaging service ADF <<<<<<<<<<<<<<<<<<<<<<<<<<<<<< JDeveloper Toplink Forms services Business Intelligence tools (monitoring, mining, analysis) Portal & portlets Identity & single sign-on … others.. the integration of eBus components (as PeopleSoft) into a SOA.

Fall CIS 764 Database Systems Engineering eWeek.com January 19, 2006 “ The lack of detail in Oracle's Fusion Application presentation suggests to some industry experts that the company is not at the halfway point in developing a merged suite. “

Fall CIS 764 Database Systems Engineering ADF included in JDev, ADF is the conceptual model, components, and wizards possible model components: EJB, WebService, TopLink, ADF_business_components controller: Struts, JSF (Java Server Faces) view: Swing, JSP, JSF all components conf via XML, for easy reconfig, reuse.

Fall CIS 764 Database Systems Engineering ADF Index Page ADF Overview, papers/1013/adf_10.1.3_overview.pdf papers/1013/adf_10.1.3_overview.pdf 11 pages, 2006

Fall CIS 764 Database Systems Engineering

Fall CIS 764 Database Systems Engineering

Fall CIS 764 Database Systems Engineering GUI components Swing … only in Java apps (not in server) JSP ….. Weak components (button, form ), not automated data binding. JSF …. Web components, w data binding. ADF Faces … Oracle’s own extensions of JSF and with DB binding for use in apps.

Fall CIS 764 Database Systems Engineering ADF Learning Center: two tracks: * IDE Fusion … JSF, ADF Faces, ADF Model, ADF Business Components ADF_Overview_Viewlet_viewlet_swf.html ADF_Overview_Viewlet_viewlet_swf.html an animation and SC example * Java programmer…. JSF, ADF Faces,ADF Model, EJB3.0, TopLink

Fall CIS 764 Database Systems Engineering pp … pdf for sample application, ServiceCompany.. Service requests for large appliances index page for the following: completed SC demo web app (required JUnit extension to JDev) pp ADF guide !

Fall CIS 764 Database Systems Engineering Assignment: just listen to the following Steve Muench, ADF weblog l Select #4: ( animated demo w audio) Creating a Databound, Master/Detail Swing Panel Using JGoodies Form Layout simplejgoodies/binding_demo.html?_template=/ocom/ocom_item_templates/print

Fall CIS 764 Database Systems Engineering EJB3 POJO + Annotations => EJB EJB 3.0 Resources Introduction: or Java World: (has more code examples)

Fall CIS 764 Database Systems Engineering Entity bean … bound to entity data, with unique key value; can contain multiple subitems.  where is the concept of a result set ? Session bean …  “session beans generally represent actions …” << bad OO ! “process entity” vs “data entity” Stateless … “do not have internal state” (  ) … rather: do not keep track of the callers state ! Statefull …..maintains the conversation state across multiple method invocations (e.g. a shopping cart) Beans have an associated deployment descriptor Beans have own QL … “OO version of sql “

Fall CIS 764 Database Systems Engineering EJB annotations

Fall CIS 764 Database Systems Engineering

Fall CIS 764 Database Systems Engineering import public class CalculateEJBBean implements CalculateEJB { int value = 0; public String incrementValue() { value++; return "value incremented by 1"; } }

Fall CIS 764 Database Systems Engineering import javax.persistence.*; import java.util.ArrayList; = "EMPLOYEES") public class Employee implements java.io.Serializable { private int empId; private String eName; private primaryKey=true) /* getters and setters here … see next slide }

Fall CIS 764 Database Systems Engineering public int getEmpId( ) { return empId; } public void setEmpId(int empId) { this.empId = empId; } public String getEname( ) { return eName; } public void setEname(String eName) { this.eName = eName; } public double getSal( ) { return sal; } public void setSal(double sal) { this.sal = sal; } public String toString() { StringBuffer buf = new StringBuffer(); buf.append("Class:").append(this.getClass(). getName()).append(" :: ").append(" empId:").append(getEmpId()). append(" ename:").append(getEname()).append("sal:").append(getSal()); return buf.toString(); } ??? Why the toString method <<<<<<<<<<<<<<<< ??? Why ArrayList and Collection

Fall CIS 764 Database Systems Engineering import javax.naming.Context; import javax.naming.InitialContext; public class CalculateejbClient { public static void main(String [] args) { Context context = new InitialContext(); CalculateEJB myejb = (CalculateEJB)context.lookup("java:comp/env/ejb/CalculateEJB"); myejb.incrementValue(); } } ??? Where does this “client” run ??

Fall CIS 764 Database Systems Engineering Homework: Oracle EJB3 Simple Tutorial Do an “in essence” version for the PO DB. Note: this is not a web app. The client has remote access to the bean. Post snapshots in JDev and running the client.

Fall CIS 764 Database Systems Engineering Note: Future requirements: Contribute some tutorial content … Contribute some technical presentation …. … prior approval of topics is required.

Fall CIS 764 Database Systems Engineering end.