Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Enterprise JavaBeans™ Specification, v1.1 - Sun Microsystems.pdf
Скачиваний:
11
Добавлен:
24.05.2014
Размер:
1.62 Mб
Скачать

Sun Microsystem Inc

Overview

Enterprise JavaBeans v1.1, Final Release

Client View of an Entity

Chapter 8 Client View of an Entity

This chapter describes the client view of an entity bean. It is actually a contract fulfilled by the Container in which the entity bean is deployed. Only the business methods are supplied by the enterprise bean itself.

Although the client view of the deployed entity beans is provided by classes implemented by the container, the container itself is transparent to the client.

8.1 Overview

For a client, an entity bean is a component that represents an object-oriented view of some entities stored in a persistent storage, such as a database, or entities that are implemented by an existing enterprise application.

A client accesses an entity bean through the entity bean’s remote and home interfaces. The container provides classes that implement the entity bean’s remote and home interfaces. The objects that implement the home and remote objects are remote Java objects, and are accessible from a client through the standard Java APIs for remote object invocation [3].

85

11/24/99