Слайды и текст доклада
Pic.1
Creating Session Beans
Pic.2
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 …
Pic.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 interaction Has a short lifespan Lives in memory rather …
Pic.4
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 …
Pic.5
Life Cycle of a Stateless Session Bean
Pic.6
Creating a Stateless Session Bean To create a stateless session bean: Define the stateless session bean. Define the local and remote interfaces (as needed).
Pic.7
Define the Stateless Session Bean
Pic.8
Create the Remote and Local Interfaces
Pic.9
Create a Test Client for the SLSB
Pic.10
Life Cycle of a Stateful Session Bean
Pic.12
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 …
Pic.13
Creating a Stateful Session Bean To create a stateful session bean: Define the stateful session bean. Define the local and remote interfaces (as needed).
Pic.14
Define the Stateful Session Bean
Pic.15
Create the Remote and Local Interfaces
Pic.16
Create a Test Client for the SFSB
Pic.17
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 …
Pic.19
Interceptor Classes External interceptor classes can be created to abstract the behavior of interceptors and to define multiple interceptors for a bean.
Pic.20
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 …
Pic.21
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 …
Скачать презентацию
Если вам понравился сайт и размещенные на нем материалы, пожалуйста, не забывайте поделиться этой страничкой в социальных сетях и с друзьями! Спасибо!