Developing Enterprise JavaBeans for Oracle WebLogic Server
Table of Contents
Show All | Collapse- Title and Copyright Information
- Preface
- 1 Introduction and Roadmap
- 2 Understanding Enterprise JavaBeans
- 3 Simple Enterprise JavaBeans Examples
- Simple Java Examples of 3.x EJBs
- Packaged EJB 3.1 Examples in WebLogic Server
- EJB 3.1: Example of a Singleton Session Bean
- EJB 3.1: Example of an Asynchronous Method EJB
- EJB 3.1: Example of a Calendar-based Timer EJB
- EJB 3.1: Example of Simplified No-interface Programming and Packaging in a WAR File
- EJB 3.1: Example of Using a Portable Global JNDI Name in an EJB
- EJB 3.1: Example of Using the Embeddable EJB Container in Java SE
- EJB 3.0: Example of Invoking an Entity From A Session Bean
- 4 Iterative Development of Enterprise JavaBeans
- Overview of the EJB Development Process
- Create a Source Directory
- Program the Annotated EJB Class
- Program the EJB Interface
- Optionally Program Interceptors
- Optionally Program the EJB Timer Service
- Programming Access to EJB Clients
- Programming and Configuring Transactions
- Compile Java Source
- Optionally Create and Edit Deployment Descriptors
- Packaging EJBs
- Deploying EJBs
- 5 Programming the Annotated EJB Class
- Overview of Metadata Annotations and EJB Bean Files
- Programming the Bean File: Requirements and Changes From 2.x
- Programming the Bean File
- Typical Steps When Programming the Bean File
- Specifying the Business and Other Interfaces
- Specifying the Bean Type (Stateless, Singleton, Stateful, or Message-Driven)
- Injecting Resource Dependency into a Variable or Setter Method
- Invoking a 3.0 Entity
- Specifying Interceptors for Business Methods or Life Cycle Callback Events
- Programming Application Exceptions
- Securing Access to the EJB
- Specifying Transaction Management and Attributes
- Complete List of Metadata Annotations By Function
- Annotations to Specify the Bean Type
- Annotations to Specify the Local or Remote Interfaces
- Annotations to Support EJB 2.x Client View
- Annotations to Invoke a 3.0 Entity Bean
- Transaction-Related Annotations
- Annotations to Specify Interceptors
- Annotations to Specify Life Cycle Callbacks
- Security-Related Annotations
- Context Dependency Annotations
- Timeout and Exceptions Annotations
- Timer and Scheduling Annotations
- 6 Deployment Guidelines for Enterprise JavaBeans
- Before You Deploy an EJB
- Understanding and Performing Deployment Tasks
- Deployment Guidelines for EJBs
- Deploying Standalone EJBs as Part of an Enterprise Application
- Deploying EJBs as Part of an Web Application
- Deploying EJBs That Call Each Other in the Same Application
- Deploying EJBs That Use Dependency Injection
- Deploying Homogeneously to a Cluster
- Deploying Pinned EJBs to a Cluster
- Redeploying an EJB
- Using FastSwap Deployment to Minimize Deployment
- Understanding Warning Messages
- Disabling EJB Deployment Warning Messages
- 7 Using an Embedded EJB Container in Oracle WebLogic Server
- 8 Configuring the Persistence Provider in Oracle WebLogic Server
- A EJB Metadata Annotations Reference
- Overview of EJB 3.x Annotations
- Annotations for Stateless, Stateful, and Message-Driven Beans
- javax.ejb.AccessTimeout
- javax.ejb.ActivationConfigProperty
- javax.ejb.AfterBegin
- javax.ejb.AfterCompletion
- javax.ejb.ApplicationException
- javax.ejb.Asynchronous
- javax.ejb.BeforeCompletion
- javax.ejb.ConcurrencyManagement
- javax.ejb.DependsOn
- javax.ejb.EJB
- javax.ejb.EJBs
- javax.ejb.Init
- javax.ejb.Local
- javax.ejb.LocalBean
- javax.ejb.LocalHome
- javax.ejb.Lock
- javax.ejb.MessageDriven
- javax.ejb.PostActivate
- javax.ejb.PrePassivate
- javax.ejb.Remote
- javax.ejb.RemoteHome
- javax.ejb.Remove
- javax.ejb.Schedule
- javax.ejb.Schedules
- javax.ejb.Singleton
- javax.ejb.Startup
- javax.ejb.StatefulTimeout
- javax.ejb.Stateless
- javax.ejb.Timeout
- javax.ejb.TransactionAttribute
- javax.ejb.TransactionManagement
- Annotations Used to Configure Interceptors
- Annotations Used to Interact With Entity Beans
- Standard JDK Annotations Used By EJB 3.x
- Standard Security-Related JDK Annotations Used by EJB 3.x
- WebLogic Annotations
- weblogic.javaee.AllowRemoveDuringTransaction
- weblogic.javaee.CallByReference
- weblogic.javaee.DisableWarnings
- weblogic.javaee.EJBReference
- weblogic.javaee.Idempotent
- weblogic.javaee.JMSClientID
- weblogic.javaee.JNDIName
- weblogic.javaee.JNDINames
- weblogic.javaee.MessageDestinationConfiguration
- weblogic.javaee.TransactionIsolation
- weblogic.javaee.TransactionTimeoutSeconds
- B Using Oracle Kodo with Oracle WebLogic Server
- C Oracle Kodo Persistence Configuration Schema Reference
- persistence-configuration.xml Namespace Declaration and Schema Location
- persistence-configuration.xml Deployment Descriptor File Structure
- persistence-configuration.xml Deployment Descriptor Elements
- abstract-store-broker-factory
- access-dictionary
- access-unloaded
- action
- addresses
- advanced-sql
- aggregate-listeners
- allocate
- assert-allowed-type
- auto-clear
- auto-detach
- auto-detaches
- base-name
- batching-operation-order-update-manager
- buffer-size
- cache-map
- cache-size
- channel
- class-table-jdbc-seq
- classname
- classpath-scan
- clear-on-close
- client-broker-factory
- close-on-managed-commit
- cluster-remote-commit-provider
- commons-log-factory
- compatibility
- concurrent-hash-map
- connection-decorators
- connection-driver-name
- connection-factory-mode
- connection-factory-name
- connection-factory-properties
- connection-factory2-name
- connection-factory2-properties
- connection-password
- connection-properties
- connection-retain-mode
- connection-url
- connection-user-name
- connection2-driver-name
- connection2-password
- connection2-properties
- connection2-url
- connection2-user-name
- constraint-names
- constraint-update-manager
- copy-object-ids
- custom-aggregate-listener
- custom-broker-factory
- custom-broker-impl
- custom-class-resolver
- custom-compatibility
- custom-connection-decorator
- custom-data-cache
- custom-data-cache-manager
- custom-detach-state
- custom-dictionary
- custom-driver-data-source
- custom-filter-listener
- custom-jdbc-listener
- custom-lock-manager
- custom-log
- custom-mapping-defaults
- custom-mapping-factory
- custom-meta-data-factory
- custom-meta-data-repository
- custom-orphaned-key-action
- custom-persistence-server
- custom-proxy-manager
- custom-query-compilation-cache
- custom-remote-commit-provider
- custom-savepoint-manager
- custom-schema-factory
- custom-seq
- custom-sql-factory
- custom-update-manager
- data-caches
- data-cache-manager-impl
- data-cache-timeout
- db2-dictionary
- default-access-type
- default-broker-factory
- default-broker-impl
- default-class-resolver
- default-compatibility
- default-data-cache
- default-detach-state
- default-data-cache-manager
- default-driver-data-source
- default-level
- default-lock-manager
- default-mapping-defaults
- default-meta-data-factory
- default-meta-data-repository
- default-orphaned-key-action
- default-proxy-manager
- default-query-compilation-cache
- default-savepoint-manager
- default-schema-factory
- default-sql-factory
- default-update-manager
- deprecated-jdo-mapping-defaults
- deprecated-jdo-meta-data-factory
- derby-dictionary
- detach-options-all
- detach-options-fetch-groups
- detach-options-loaded
- detach-state
- detached-state-field
- detached-state-manager
- detached-state-transient
- detached-new
- diagnostic-context
- dynamic-data-structs
- dynamic-schema-factory
- eager-fetch-mode
- empress-dictionary
- EnableLogMBean
- EnableRuntimeMBean
- evict-from-data-cache
- eviction-schedule
- exception-orphaned-key-action
- exception-reconnect-attempts
- execution-context-name-provider
- export-profiling
- extension-deprecated-jdo-mapping-factory
- fetch-batch-size
- fetch-direction
- fetch-group
- fetch-groups
- field-override
- file
- file-name
- file-schema-factory
- files
- filter-listeners
- foreign-keys
- format
- foxpro-dictionary
- flush-before-queries
- gem-fire-data-cache
- gem-fire-data-cache-name
- gui-jmx
- gui-profiling
- Host
- host
- hsql-dictionary
- http-transport
- ignore-changes
- ignore-unmapped
- ignore-virtual
- in-memory-savepoint-manager
- increment
- indexes
- informix-dictionary
- initial-value
- interval-millis
- inverse-manager
- jdatastore-dictionary
- jdbc-broker-factory
- jdbc-listeners
- jdbc3-savepoint-manager
- jdo-meta-data-factory
- jms-remote-commit-provider
- jmx
- jmx2-jmx
- JNDIName
- kodo-broker
- kodo-concurrent-data-cache
- kodo-data-cache-manager
- kodo-mapping-repository
- kodo-persistence-mapping-factory
- kodo-persistence-meta-data-factory
- kodo-pooling-data-source
- kodo-sql-factory
- large-transaction
- lazy-schema-factory
- level
- local-jmx
- local-profiling
- lock-timeout
- log-factory-impl
- log-orphaned-key-action
- log4j-log-factory
- login-timeout
- lrs-size
- lru-data-cache
- manage-lru
- mapping
- mapping-column
- mapping-defaults-impl
- mapping-file-deprecated-jdo-mapping-factory
- max-active
- max-idle
- max-size
- maximize-batch-size
- MBeanServerStrategy
- multithreaded
- mx4j1-jmx
- mysql-dictionary
- name
- name-column
- NamingImpl
- native-jdbc-seq
- none-jmx
- none-lock-manager
- none-log-factory
- none-orphaned-key-action
- none-profiling
- nontransactional-read
- nontransactional-write
- num-broadcast-threads
- operation-order-update-manager
- optimistic
- oracle-dictionary
- oracle-savepoint-manager
- orm-file-jdor-mapping-factory
- order-dirty-objects
- Password
- persistence-configuration
- persistence-configuration-unit
- pessimistic-lock-manager
- persistence-mapping-defaults
- populate-data-cache
- Port
- port
- postgres-dictionary
- primary-key-column
- primary-key-value
- primary-keys
- profiling
- profiling-proxy-manager
- properties
- property
- proxy-manger-impl
- query-caches
- quoted-numbers-in-queries
- read-lock-level
- recover-action
- recovery-time-millis
- resources
- restore-state
- result-set-type
- retain-state
- retry-class-registration
- scan-top-down
- schema
- schema-column
- schemas
- sequence
- sequence-column
- sequence-name
- ServiceURL
- simple-driver-data-source
- single-file
- single-jvm-exclusive-lock-manager
- single-jvm-remote-commit-provider
- soft-reference-size
- so-timeout
- sql-server-dictionary
- stack-execution-context-name-provider
- store-mode
- strict
- strict-identity-values
- style
- subclass-fetch-mode
- sybase-dictionary
- sync-with-managed-transactions
- synchronize-mappings
- table
- table-deprecated-jdo-mapping-factory
- table-jdbc-seq
- table-jdor-mapping-factory
- table-lock-update-manager
- table-name
- table-schema-factory
- tangosol-cache-name
- tangosol-cache-type
- tangosol-data-cache
- tcp-remote-commit-provider
- tcp-transport
- time-seeded-seq
- topic
- topic-connection-factory
- track-changes
- transaction-isolation
- transaction-mode
- transaction-name-execution-context-name-provider
- type
- type-column
- types
- URL
- url
- urls
- use-aliases
- use-schema-validation
- user-object-execution-context-name-provider
- UserName
- validate-false-returns-hollow
- validate-true-checks-store
- value-table-jdbc-seq
- version-check-on-read-lock
- version-check-on-write-lock
- version-lock-manager
- wls81-jmx
- write-lock-level