tailieunhanh - Bài giảng Lập trình mạng nâng cao: Introduction to Enterprise Java Beans - Nguyễn Xuân Vinh
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 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 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 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 Session 1/ of 23 A software component is code that implements a set of well-defined interfaces. It is a manageable, discrete chunk of are not entire applications-they cannot run can be used as puzzle to solve pieces to solve some larger 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 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 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 Session 1/ of 23 Evolution of Enterprise JavaBeans .
đang nạp các trang xem trước