CSE300 EAIusing EJB & XML CSE300-02 Enterprise Application Integration Using EJB and XML by Prithwis Sett Mumtaz Lohawala Nayana Paranjape.

Slides:



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

09/04/2015Unit 2 (b) Back-Office processes Unit 2 Assessment Criteria (b) 10 marks.
Apache Struts Technology
©Silberschatz, Korth and Sudarshan4.1Database System Concepts Lecture-1 Database system,CSE-313, P.B. Dr. M. A. Kashem Associate. Professor. CSE, DUET,
Introduction to Database Management  Department of Computer Science Northern Illinois University January 2001.
Internet Sellouts Final Presentation Enterprise Architecture Group.
Copyright 2004 Monash University IMS5401 Web-based Systems Development Topic 2: Elements of the Web (g) Interactivity.
15 Chapter 15 Web Database Development Database Systems: Design, Implementation, and Management, Fifth Edition, Rob and Coronel.
11 3 / 12 CHAPTER Databases MIS105 Lec14 Irfan Ahmed Ilyas.
©Silberschatz, Korth and Sudarshan1.1Database System Concepts Chapter 1: Introduction Purpose of Database Systems View of Data Data Models Data Definition.
Introduction to Databases Transparencies
---Confidential 1 Order Management Training. ---Confidential 2 Introduction Three cycles in Oracle Applications Plan to make. Order to cash Procure to.
Introduction to SAP R/3.
Application Architectures Vijayan Sugumaran Department of DIS Oakland University.
Lecture Nine Database Planning, Design, and Administration
TRADING SOFTWARE AKSofttech. INTRODUCTION Trading Software is an integrated accounting system which takes care of all business needs. It incorporates.
Client/Server Architecture
TIBCO Designer TIBCO BusinessWorks is a scalable, extensible, and easy to use integration platform that allows you to develop, deploy, and run integration.
Introduction to Databases Transparencies 1. ©Pearson Education 2009 Objectives Common uses of database systems. Meaning of the term database. Meaning.
Chapter 10 EJB Concepts of EJB Three Components in Creating an EJB Starting/Stopping J2EE Server and Deployment Tool Installation and Configuration of.
 Introduction Introduction  Purpose of Database SystemsPurpose of Database Systems  Levels of Abstraction Levels of Abstraction  Instances and Schemas.
STOCK CONTROL SOFTWARE. INTRODUCTION Stock Control Software is an integrated accounting system which takes care of all business needs. It incorporates.
1 J2EE Components. 2 Application Servers relieve the programming burden for business distributed components. They provide support for system level services.
Client Server Technologies Middleware Technologies Ganesh Panchanathan Alex Verstak.
ITEC224 Database Programming
Databases and Education Access Access Course Progression Access courses can be designed for intensive immersion or semester-long courses. Basic.
Chemical Toxicity and Safety Information System Shuanghui Luo Ying Li Jin Xu.
Miscellaneous Excel Combining Excel and Access. – Importing, exporting and linking Parsing and manipulating data. 1.
1 Introduction to Database Systems. 2 Database and Database System / A database is a shared collection of logically related data designed to meet the.
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.
CS 474 Database Design and Application Terminology Jan 11, 2000.
Chapter 7: Database Systems Succeeding with Technology: Second Edition.
第十四章 J2EE 入门 Introduction What is J2EE ?
Enterprise Java Beans Java for the Enterprise Server-based platform for Enterprise Applications Designed for “medium-to-large scale business, enterprise-wide.
XA System-Link A Powerful Development Tool
“INTRODUCTION TO DATABASE AND SQL”. Outlines 2  Introduction To Database  Database Concepts  Database Properties  What is Database Management System.
Middleware for FIs Apeego House 4B, Tardeo Rd. Mumbai Tel: Fax:
Chapter 1 Introduction to Databases. 1-2 Chapter Outline   Common uses of database systems   Meaning of basic terms   Database Applications  
Lesson Overview 3.1 Components of the DBMS 3.1 Components of the DBMS 3.2 Components of The Database Application 3.2 Components of The Database Application.
INFO1408 Database Design Concepts Week 15: Introduction to Database Management Systems.
DATABASE MANAGEMENT SYSTEM ARCHITECTURE
1 Chapter 1 Introduction to Databases Transparencies.
Introduction Database integral part of our day to day life Collection of related database Database Management System : software managing and controlling.
Introduction to Enterprise JavaBeans Topics In Systems Architecture Barry Herbold
© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/3 JSP Application Models.
Java Programming: Advanced Topics 1 Enterprise JavaBeans Chapter 14.
IBM Global Services © 2005 IBM Corporation SAP Legacy System Migration Workbench| March-2005 ALE (Application Link Enabling)
January 23, 2015 Proponents:Programming AdviserContent Adviser Michael Angelo Brogada Aris J. Ordoñez Julius R. Broñoso Jake Alain L. Bachiller Point of.
Copyright 2007, Information Builders. Slide 1 iWay Web Services and WebFOCUS Consumption Michael Florkowski Information Builders.
SQL Introduction to database and SQL. Chapter 1: Databases and Database Users 6 Introduction to Databases Databases touch all aspects of our lives. Examples:
Web Services. Web Service: Simple definition : “ Service Offered On the Web “ Technically : “ A Web Service is a programmable application component that.
Introduction to Core Database Concepts Getting started with Databases and Structure Query Language (SQL)
EJB. Introduction Enterprise Java Beans is a specification for creating server- side scalable, transactional, multi-user secure enterprise-level applications.
Apache Struts Technology A MVC Framework for Java Web Applications.
Business Applications– Using Java _____ Presented by Priya Saha.
Chapter 9 Database Planning, Design, and Administration Transparencies © Pearson Education Limited 1995, 2005.
 Andersen Consulting IM01 - Organizational Structure & Master Data in IM November, 2000.
 TATA CONSULTANCY SERVICES MM - INVOICE VERIFICATION.
oracle apps order management training
What is Database Administration ?
Introduction To DBMS.
The Components of Information Systems
Database Management.
The Components of Information Systems
Java Messaging Service (JMS)
Data Solutions- Karm Upadhyay Zoheb Khan Swati Shukla
Java Messaging Service (JMS)
Technology Landscape and Enterprise Objectives
Component-based Applications
Enterprise Integration
Presentation transcript:

CSE300 EAIusing EJB & XML CSE Enterprise Application Integration Using EJB and XML by Prithwis Sett Mumtaz Lohawala Nayana Paranjape

CSE300 EAIusing EJB & XML Topics  EAI Discussion  Need for EAI  Design Issues for EAI  EAI Implementations  EJB and XML

CSE300 EAIusing EJB & XML What is an EAI?  An EAI is a solution to the outcome of generations of development of stovepipe applications.  It provides a framework that enables disparate applications to act as a single application  EAI supports unrestricted sharing of data and processes among connected applications.  It provides a cost effective solution to cross- platform integration of application and data.

CSE300 EAIusing EJB & XML Why EAI?  Use existing databases and applications.  Replacing existing stovepipe systems is cost prohibitive.  Corporations use several generations of systems relying on a broad range of technologies.  Application software needs to integrate with existing systems  Demands for sharing data and processes without requiring to change application and data

CSE300 EAIusing EJB & XML Features of EAI  EAI creates a common way for business processes and data to speak to one another across applications  It focuses on both process and data as against traditional middleware approach.  EAI includes the notion of reuse and distribution of processes and data  EAI allows users to easily integrate applications with limited knowledge of details.

CSE300 EAIusing EJB & XML Design Issues for EAI  Identifying the various software components  Identifying interfaces to these components to enable their integration  Identifying data sources of the organization  Representation of data as an open format document  Providing easy standard data retrieval methods from the stored document.

CSE300 EAIusing EJB & XML EAI Implementations Message Systems:  Provide point to point solutions  Attempt to make the system scaleable results in complex middleware links.  Increase in point-point solutions for information flow  Require alterations to source and target systems  Limited ability to react to change.

CSE300 EAIusing EJB & XML Message Systems

CSE300 EAIusing EJB & XML EAI Implementations Database - Database Integration  Sharing Information between applications at the database level.  Database replication features can be used to move information to the target database.  Both databases must have the same logical schema.  Logic to manipulate the data resides in the database.

CSE300 EAIusing EJB & XML EAI Implementations Distributed Computing:  Enables integration of both business processes and data  Includes the notion of reuse and distribution of business processes and data.  Allows easy integration of applications  Its architecture lends itself well to integration.  Results in the development of scaleable systems.

CSE300 EAIusing EJB & XML The EAI Framework

CSE300 EAIusing EJB & XML  Enterprise Java Beans is a server-side component Architecture  Simplifies the process of building enterprise-class distributed object applications.  Provides a distributed object framework for scaleable, reliable and secure applications  Supports application portability and reusability.

CSE300 EAIusing EJB & XML  XML enables seamless exchange of data across the enterprise.  Data of the organization can be stored in a semi structured format to be transferred across the enterprise.  Thus data exchange becomes transparent independent of platform, language, and vendor.

CSE300 EAIusing EJB & XML Overview of the System : e-Bookstore WWW Supplier Enterprise Customers and suppliers directly participate and interact with the operational systems through the internet Customer Enterprise The external interactions of the enterprise with its customers and suppliers. Customers

CSE300 EAIusing EJB & XML Interactions within the Enterprise Integration Framework Sales Inventory Accounting Supplier Purchase Billing Customer Interface & Interaction Business rules for the interaction between applications are built into a structural framework. Stores the name, author, quantity and price of available books. Lets the customer login, query, add or delete books to their cart, and buy the cart. Creates bills for a given sales transaction, records that sales transaction in the Sales DB and also modifies Inventory DB accordingly. Generates purchase orders, processes and records purchase receipts, maintains Purchase DB and updates Inventory DB to reflect the purchase transaction. Records sales and purchase transactions, which took place during a given time period, in the Accounting DB.

CSE300 EAIusing EJB & XML Global Components  Inventory  XML Bean  Stores the description of the available books  Can be queried to find out the availability of book(s)  Is updated by Sales and Purchase departments after every sales and purchase transaction  Creates XML documents  Parses XML documents  Sales transaction information for Accounting  Purchase order generation for Suppliers  Purchase receipt information for Purchase & Accounting  Sales transaction information to update Sales DB & Inventory  Purchase receipt information to update Purchase DB & Inventory  Sales & Purchase information for accounting purposes

CSE300 EAIusing EJB & XML Types of Activities  Sales Transaction  Purchase Transaction  Accounting Transaction  Starts in the Customer Interface Department  Processed and recorded by the Sales Department  Either reads Inventory & generates a Purchase Order  Or processes purchase receipt information  Records all the Sales and Purchases over a given period of time

CSE300 EAIusing EJB & XML Sales Transaction QueryCustomer Login Register Add to/Delete from Cart Buy New ? End Start Cart Empty? Logge d On? Process Billing Information Update Sales DB and Inventory Yes Yes No No Empty cart cannot be bought Yes No

CSE300 EAIusing EJB & XML Purchase Transaction Start Check Inventory and select items that are out of stock Generate Purchase Order Record transaction in Purchase DB and update Inventory items that are out of stock Get Purchase Receipt Information End

CSE300 EAIusing EJB & XML Accounting Transaction Start Get all Sales information for a given period End Get all Purchase information for a given period Calculate total Sales and total Purchase for that given period Record the total Sales and Purchase in the Accounting DB

CSE300 EAIusing EJB & XML Customer Interface Department  Handles customer Login & Buying activities  Handles customer Login & Buying activities  Components for Login activity  LoginCustomer class  NewCustomer class  Components for Buying activity  ItemQuery class  CartBean : Stateful Session Bean  BuyBean : Stateless Session Bean

CSE300 EAIusing EJB & XML LoginCustomer class  Handles Logins by Registered Customers of e-Bookstore  Public Methods  verifyCustomer() Queries CustomerDB to find out whether the customer trying to login is present in it and verifies his/her login information. CustomerInterfaceDepartment

CSE300 EAIusing EJB & XML NewCustomer class  Handles Registration of New Customers of e-Bookstore  Public Methods  addNewCustomer() Updates CustomerDB to add the new customer and stores his/her registration information. CustomerInterfaceDepartment

CSE300 EAIusing EJB & XML ItemQuery class  Handles the Queries for Items, done by the customers of e-Bookstore  Public Methods  queryItemFromInventoryDB() Queries InventoryDB to find if the items queried are currently available with the e-Bookstore and returns the resulting list of items. CustomerInterfaceDepartment

CSE300 EAIusing EJB & XML CartBean EJB  Stateful Session Bean  Handles the Buying Carts of the customers of e- Bookstore  Public Methods  addItemToCart()  deleteItemFromCart()  displayCart()  retrieveCart()  deleteCart() CustomerInterfaceDepartment

CSE300 EAIusing EJB & XML BuyBean EJB  Stateless Session Bean  Handles the Buying Activities done by the customers of e-Bookstore  Public Methods  processRequest()  Retrieves the contents of customer’s buying cart  Displays those contents and Calculates Total Cost  Queries CustomerDB to get Billing Information  Creates BuyInfo XML Document  Deletes customer’s buying cart CustomerInterfaceDepartment

CSE300 EAIusing EJB & XML Sales Department  Processes sales transaction done in the Customer Interface Department  Component for Generation of Bill for a sales transaction  BillingServiceBean : Stateless Session Bean  Component for Storage of Sales Transaction and Creation of SalesInfo XML document for Accounting Department  SalesInfoBean : Entity Bean

CSE300 EAIusing EJB & XML BillingServiceBean EJB  Stateless Session Bean  Performs the credit card validation and generation of bill for a sales transaction  Public Methods  createBill()  Parses the BuyInfo XML Document  Verifies and charges the credit card  Generates bill for given sales transaction SalesDepartment

CSE300 EAIusing EJB & XML SalesInfoBean EJB  Entity Bean  Performs the storage of all information pertaining to a sales transaction  Public Methods  storeSalesTransactionInfo()  Parses the BuyInfo XML Document  Updates SalesDB by storing this sales transaction  Updates InventoryDB  createSalesInfoXML()  Creates the SalesInfo XML Document containing all information in SalesDB for Accounting Department SalesDepartment

CSE300 EAIusing EJB & XML Purchase Department  Generates the Purchase Order and Processes Purchase Receipts received from suppliers.  Component for Generation of Purchase Order  PurchaseOrderBean : Stateless Session Bean  Component for Storage of Purchase Receipt Information and Creation of PurchaseInfo XML document for Accounting Department  PurchaseInfoBean : Entity Bean

CSE300 EAIusing EJB & XML PurchaseOrderBean EJB  Stateless Session Bean  Performs the checking of Inventory database and generation of Purchase Order accordingly  Public Methods  generatePurchaseOrder()  Queries Inventory Database  Generates Purchase Order for purchase of the items that are out of stock  Creates Purchase Order XML Document PurchaseDepartment

CSE300 EAIusing EJB & XML PurchaseInfoBean EJB  Entity Bean  Performs the storage of all information pertaining to a purchase transaction  Public Methods  processPurchaseInfo()  Parses the Purchase Receipt XML Document  Updates PurchaseDB by storing this purchase transaction  Updates InventoryDB  createPurchaseInfoXML()  Creates the PurchaseInfo XML Document containing all information in PurchaseDB for Accounting Department PurchaseDepartment

CSE300 EAIusing EJB & XML Accounting Department  Retrieves the information of sales and purchase transactions from the respective departments and calculates & stores the total sales and purchase done over a certain time period in AccountDB  Component for updating AccountDB  AccountingBean : Entity Bean

CSE300 EAIusing EJB & XML AccountingBean EJB  Entity Bean  Stores the information pertaining to all sales and purchase transactions over a certain time period in AccountDB  Public Methods  updateAccountInfo()  Parses the SalesInfo XML Document  Parses the PurchaseInfo XML Document  Updates AccountDB AccountingDepartment

CSE300 EAIusing EJB & XML Interactions in Customer Interface Department CustomerDB Buy Bean Cart Bean InventoryDB XML Doc Buy Info XML Bean 4.4 Create XML Doc for Buy Info 2.1 Query for Book(s) Enterprise 1.b.2 Queries CustomerDB BillingService Bean NewCustomer LoginCustomer ItemQuery SalesInfo Bean 1.a.2 Updates CustomerDB 2.2 Queries InventoryDB 1.a.1 New Customer 1.b.1 Login 3.a.1 Add Item 3.b.1 Add Item 3.b.2 Delete Item 3.c.1 Add Item 3.c.2 Check cart 4.1 Buy Book(s) 4.2 Retrieve cart 4.6 Delete cart 4.3 Queries CustomerDB for Billing Info 4.5 Customer SalesDepartment Customer Interface Department

CSE300 EAIusing EJB & XML Interactions in Sales Department SalesDB InventoryDB XML Doc Buy Info XML Bean 3.2 Create XML Doc for Sales Info BillingService Bean SalesInfo Bean Accounting Bean XML Doc Sales Info Verify card 1.4 Charge card 1.5 Create Bill 1.2 Parse XML Doc for Buy Info 2.4 Updates InventoryDB 2.2 Parse XML Doc for Buy Info 2.3 Updates SalesDB 3.1 Queries SalesDB Enterprise Customer Interface Department SalesDepartment AccountingDepartment

CSE300 EAIusing EJB & XML Interactions in Purchase Department PurchaseDB PurchaseOrder Bean PurchaseInfo Bean InventoryDB Suppliers XML Doc Purchase Order XML Doc Purchase Receipt 1.1 Queries InventoryDB for checking stock XML Bean 1.3 Create XML Doc for Purchase Order 1.2 Generates Purchase Order 2.2 Parse XML Doc for Purchase Receipt Supplier receives XML Doc for PO Supplier sends XML Doc for Purchase Receipt 2.3 Updates PurchaseDB XML Doc Purchase Info 3.1 Queries PurchaseDB 3.2 Create XML Doc for Purchase Info 3.3 Accounting Bean AccountingDepartment PurchaseDepartment Enterprise

CSE300 EAIusing EJB & XML Interactions in Accounting Department AccountDB XML Doc Purchase Info XML Bean Accounting Bean XML Doc Sales Info Parse XML Doc for Purchase Info 1.2 Parse XML Doc for Sales Info 1.5 Updates AccountDB 1.3 Enterprise AccountingDepartment PurchaseDepartmentSalesDepartment

CSE300 EAIusing EJB & XML Conclusions and Future Work  Distributed computing technologies XML & EJB were explored by developing an EAI solution  XML Documents can be created to incorporate more than one level of hierarchy  Same EJBs can be reused for developing an EAI solution for another enterprise  Role-based Security  Atomic Transactions

CSE300 EAIusing EJB & XML Ask