Đang chuẩn bị nút TẢI XUỐNG, xin hãy chờ
Tải xuống
This chapter include objectives: Discuss component architecture, describe distributed object architecture, discuss RMI, explain RMI-IIOP, discuss the Java Naming and Directory Interface. Inviting you to refer. | TITLE Presenter: Nguyễn Xuân Vinh Information Technology Faculty Nong Lam University Session 1 Introduction to Enterprise Java Beans ACCP2005/ Developing Enterprise Applications 2.0/ Session 1/ of 23 Session Objectives Discuss Component Architecture Describe Distributed Object Architecture Discuss RMI Explain RMI-IIOP Discuss the Java Naming and Directory Interface ACCP2005/ Developing Enterprise Applications 2.0/ Session 1/ of 23 Component Architecture Components are building blocks of an application Provides a set of services or functions, such that it can easily interact with other applications or components Consists mainly of Web components, business logic components, and service components. Web components consist mainly of JSP and Servlets, the business logic component consists of EJB and the services component primarily consists of JavaMail, JNDI, JMS, JTS, JDBC, and RMI-IIOP. ACCP2005/ Developing Enterprise Applications 2.0/ Session 1/ of 23 Evolution of Enterprise JavaBeans EJB was developed so that it would: * Specialize in handling the business logic of an application * Be robust * Be secure so that it cannot be tampered. EJB Component has been designed to encapsulate business logic. ACCP2005/ Developing Enterprise Applications 2.0/ Session 1/ of 23 A software component is code that implements a set of well-defined interfaces. It is a manageable, discrete chunk of logic.Components are not entire applications-they cannot run alone.Rather.they can be used as puzzle to solve pieces to solve some larger problem.a company can purchase a well defined module that solves a problem and combine it with other components to solve larger problems. For example, consider a software component that computes the price of goods. This pricing component will have all pricing information about a set of products and calculates the total price of the product. Now suppose we are using this pricing component when we are are buying computer parts. The pricing component may be . | TITLE Presenter: Nguyễn Xuân Vinh Information Technology Faculty Nong Lam University Session 1 Introduction to Enterprise Java Beans ACCP2005/ Developing Enterprise Applications 2.0/ Session 1/ of 23 Session Objectives Discuss Component Architecture Describe Distributed Object Architecture Discuss RMI Explain RMI-IIOP Discuss the Java Naming and Directory Interface ACCP2005/ Developing Enterprise Applications 2.0/ Session 1/ of 23 Component Architecture Components are building blocks of an application Provides a set of services or functions, such that it can easily interact with other applications or components Consists mainly of Web components, business logic components, and service components. Web components consist mainly of JSP and Servlets, the business logic component consists of EJB and the services component primarily consists of JavaMail, JNDI, JMS, JTS, JDBC, and RMI-IIOP. ACCP2005/ Developing Enterprise Applications 2.0/ Session 1/ of 23 Evolution of Enterprise JavaBeans .