Tài liệu J2EE and EJB ppt

23 656 0
Tài liệu J2EE and EJB ppt

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

07:00 PM 07:00 PM 1/23 J2EE and EJB Chuyên đề Lập trình Java & J2EE Chương 12+ Biên soạn: Th.S Nguyễn văn Lành 07:00 PM 07:00 PM 2/23 Objectives  Overview of J2EE  What is J2EE?  J2EE Containers  J2EE Platform Roles  J2EE Technologies  Benefits of J2EE 07:00 PM 07:00 PM 3/23 Objectives  Overview on EJB  Distributed Component model  EJB Architecture  Session bean  Stateless session bean  Stateful session bean  Entity bean  Bean-Managed Persistance  Container-Managed Persistance 07:00 PM 07:00 PM 4/23 What is J2EE?  multitiered distributed application model  Specification, not a product  Sun controls the J2EE specification  IBM's WebSphere and BEA's WebLogic account for 59% of the J2EE market  Container-Based Component Management  Support for Business Logic Components 07:00 PM 07:00 PM 5/23 J2EE component  a self-contained functional software unit that is assembled into a J2EE application.  The J2EE specication denes the following J2EE components:  Application clients and applets  Java Servlet and JavaServer Pages (JSP)  Enterprise JavaBeans (EJB) components (enterprise beans) are business components that run on the server 07:00 PM 07:00 PM 6/23 J2EE Containers  J2EE server provides underlying services in the form of a container for every component type  JNDI lookup services  Security  Transaction Management  Remote connectivity  Life cycle management  Deployment services 07:00 PM 07:00 PM 7/23 J2EE Platform Roles  J2EE Product Provider  Tool Provider  Application Component Provider  Application Assembler  Application Deployer  Administrator 07:00 PM 07:00 PM 8/23 J2EE Technologies 07:00 PM 07:00 PM 9/23 J2EE Platform Benefits  Simplified architecture and development  Freedom of choice in servers, tools, and components  Integration with existing information systems  Scalability  Flexible security model 07:00 PM 07:00 PM 10/23 The whole picture [...]... applications 14/23 EJB Architecture  Home Interface   Remote/Component Interface   Provide methods for create, remove instances of EJB and find entity bean defines the set of business methods available to clients Enterprise Bean Class  The actual implementation of the business methods of the bean and other responsbility 07:00 PM 15/23 EJB Architecture  EJB Container    The EJB Container is... abstraction that manages one or more EJB classes or instances Provide container services to EJB instances EJB Server  manages EJB containers along with providing access to system services 07:00 PM 16/23 The whole picture 07:00 PM 17/23 Session Bean    Implements a business task represents a transient conversation with a client and might execute database reads and writes within a transaction two... Specification, v1.3 J2EE Tutorial from Sun Microsystems 07:00 PM 22/23 Summary   The primary focus of J2EE is provide a set of component technologies (Enterprise JavaBeans technology, JavaServer Pages technology, and Java servlets technology) that simplify the process of developing enterprise applications The J2EE platform provides a number of system-level services that simplify application programming and allow... 07:00 PM 12/23 Overview on EJB  Entity beans   Message-driven beans   represent an object-oriented view of some entities that are stored in persistent storage, such as a database process asynchronous messages delivered via the Java Message Service (JMS) API Enterprise beans live inside EJB containers, which provide life cycle management, transactions, security, persistence, and a variety of other... portability Provides for faster development 07:00 PM 20/23 EJB & J2EE setup  Software     J2SDKEE1.3 Editplus SQL Server Setup requirements 07:00 PM 21/23 References      Mastering Enterprise JavaBeans, 2nd editionby Ed Roman 2002 Enterprise JavaBeansTM Specification, Version 2.1 from Sun Microsystem 3/2003 Designing Enterprise Applications with the J2EE Platform, 2nd Edition 2002 by Sun Microsystems,...Overview on EJB  Enterprise JavaBean     equivalent to COM+ from NET a distributed component model Based on RMI-IIOP protocol link between presentation components hosted by the Web tier and business-critical data in the enterprise information system tier 07:00 PM 11/23 Overview on EJB  Three kinds of enterprise beans:     session beans entity... variety of other services for them 07:00 PM 13/23 JavaBeans vs EJBs       Java Beans Client-side component model Beans tell you what they can do Beans have no run time dependencies Beans are usually local Well suited to developing GUI applications 07:00 PM       Enterprise Beans Server-side component model Implement required interfaces and methods Execute within a container Usually remote Well . J2EE  What is J2EE?  J2EE Containers  J2EE Platform Roles  J2EE Technologies  Benefits of J2EE 07:00 PM 07:00 PM 3/23 Objectives  Overview on EJB  Distributed. 1/23 J2EE and EJB Chuyên đề Lập trình Java & J2EE Chương 12+ Biên soạn: Th.S Nguyễn văn Lành 07:00 PM 07:00 PM 2/23 Objectives  Overview of J2EE  What

Ngày đăng: 25/01/2014, 11:20

Mục lục

  • J2EE and EJB

  • What is J2EE?

  • J2EE Platform Roles

  • J2EE Platform Benefits

  • EJB & J2EE setup

Tài liệu cùng người dùng

Tài liệu liên quan