🗊 Презентация Creating Session Beans

Нажмите для полного просмотра!
Creating Session Beans, слайд №1 Creating Session Beans, слайд №2 Creating Session Beans, слайд №3 Creating Session Beans, слайд №4 Creating Session Beans, слайд №5 Creating Session Beans, слайд №6 Creating Session Beans, слайд №7 Creating Session Beans, слайд №8 Creating Session Beans, слайд №9 Creating Session Beans, слайд №10 Creating Session Beans, слайд №11 Creating Session Beans, слайд №12 Creating Session Beans, слайд №13 Creating Session Beans, слайд №14 Creating Session Beans, слайд №15 Creating Session Beans, слайд №16 Creating Session Beans, слайд №17 Creating Session Beans, слайд №18 Creating Session Beans, слайд №19 Creating Session Beans, слайд №20 Creating Session Beans, слайд №21

Вы можете ознакомиться и скачать презентацию на тему Creating Session Beans. Доклад-сообщение содержит 21 слайдов. Презентации для любого класса можно скачать бесплатно. Если материал и наш сайт презентаций Mypresentation Вам понравились – поделитесь им с друзьями с помощью социальных кнопок и добавьте в закладки в своем браузере.

Слайды и текст этой презентации


Слайд 1


Creating Session Beans
Описание слайда:
Creating Session Beans

Слайд 2


Objectives After completing this lesson, you should be able to: Describe session beans Create stateless and stateful session beans by using...
Описание слайда:
Objectives After completing this lesson, you should be able to: Describe session beans Create stateless and stateful session beans by using annotations Understand the passivation and activation of stateful session beans Use interceptor methods and classes

Слайд 3


What Is a Session Bean? A session bean is a type of Enterprise JavaBean (EJB) that: Implements a business process Represents a client/server...
Описание слайда:
What Is a Session Bean? A session bean is a type of Enterprise JavaBean (EJB) that: Implements a business process Represents a client/server interaction Has a short lifespan Lives in memory rather than in persistent storage Is used to create a session facade

Слайд 4


Stateless Versus Stateful Session Beans There are two types of session beans: Stateless session bean (SLSB) Conversation is contained in a single...
Описание слайда:
Stateless Versus Stateful Session Beans There are two types of session beans: Stateless session bean (SLSB) Conversation is contained in a single method call. Business process does not maintain client state. Stateful session bean (SFSB) Conversation may invoke many methods. Business processes can span multiple method requests, which may require maintaining state.

Слайд 5


Life Cycle of a Stateless Session Bean
Описание слайда:
Life Cycle of a Stateless Session Bean

Слайд 6


Creating a Stateless Session Bean To create a stateless session bean: Define the stateless session bean. Define the local and remote interfaces (as...
Описание слайда:
Creating a Stateless Session Bean To create a stateless session bean: Define the stateless session bean. Define the local and remote interfaces (as needed).

Слайд 7


Define the Stateless Session Bean
Описание слайда:
Define the Stateless Session Bean

Слайд 8


Create the Remote and Local Interfaces
Описание слайда:
Create the Remote and Local Interfaces

Слайд 9


Create a Test Client for the SLSB
Описание слайда:
Create a Test Client for the SLSB

Слайд 10


Life Cycle of a Stateful Session Bean
Описание слайда:
Life Cycle of a Stateful Session Bean

Слайд 11


Creating Session Beans, слайд №11
Описание слайда:

Слайд 12


Passivation and Activation Concepts Passivation and activation are stages in a session bean’s life cycle controlled by the EJB container: Passivation...
Описание слайда:
Passivation and Activation Concepts Passivation and activation are stages in a session bean’s life cycle controlled by the EJB container: Passivation Serializes the bean state to secondary storage Removes the instance from memory Activation Restores the serialized bean’s state from secondary storage Creates a new bean instance or uses a bean from the pool (initialized with the restored state)

Слайд 13


Creating a Stateful Session Bean To create a stateful session bean: Define the stateful session bean. Define the local and remote interfaces (as...
Описание слайда:
Creating a Stateful Session Bean To create a stateful session bean: Define the stateful session bean. Define the local and remote interfaces (as needed).

Слайд 14


Define the Stateful Session Bean
Описание слайда:
Define the Stateful Session Bean

Слайд 15


Create the Remote and Local Interfaces
Описание слайда:
Create the Remote and Local Interfaces

Слайд 16


Create a Test Client for the SFSB
Описание слайда:
Create a Test Client for the SFSB

Слайд 17


Interceptor Methods and Classes EJB 3.0 introduces the ability to create custom interceptor methods and classes that are called before invoking the...
Описание слайда:
Interceptor Methods and Classes EJB 3.0 introduces the ability to create custom interceptor methods and classes that are called before invoking the methods they intercept. Interceptors: Are available for only session beans (stateless and stateful) and message-driven beans Provide more granular control of a bean’s method invocation flow Can be used to implement custom transaction or security processes instead of having those services provided by the EJB container Are a new feature whose implementation details are not fully defined and are subject to change

Слайд 18


Interceptor Method
Описание слайда:
Interceptor Method

Слайд 19


Interceptor Classes External interceptor classes can be created to abstract the behavior of interceptors and to define multiple interceptors for a...
Описание слайда:
Interceptor Classes External interceptor classes can be created to abstract the behavior of interceptors and to define multiple interceptors for a bean.

Слайд 20


Summary In this lesson, you should have learned how to: Describe session beans Create stateless and stateful session beans by using annotations...
Описание слайда:
Summary In this lesson, you should have learned how to: Describe session beans Create stateless and stateful session beans by using annotations Understand the passivation and activation of stateful session beans Use interceptor methods and classes

Слайд 21


Practice 5 Overview: Creating Session Beans This practice covers the following topics: Using JDeveloper to generate ServiceRequestFacade as a...
Описание слайда:
Practice 5 Overview: Creating Session Beans This practice covers the following topics: Using JDeveloper to generate ServiceRequestFacade as a stateless session facade for entities Creating a Java client application for testing the session facade functionality



Похожие презентации
Mypresentation.ru
Загрузить презентацию