You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 8 Next »

EJB3 Examples

Unknown macro: {span}

title

description

annotations used

[Simple Stateless]

Simple EJB3 Stateless bean with local and remote business interfaces and unit test.

  • javax.ejb.Remote
  • javax.ejb.Local
  • javax.ejb.Stateless

[Simple Stateful]

Simple EJB3 Stateful bean with local and remote business interfaces and unit test.

  • javax.ejb.Remote
  • javax.ejb.Stateful

[Component Interfaces]

Shows an EJB 3.0 Stateful bean with Business interfaces and EJB 2.1 interfaces (now called "component" interfaces). Four interfaces in total and unit test for each.

  • javax.ejb.CreateException
  • javax.ejb.EJBHome
  • javax.ejb.EJBLocalHome
  • javax.ejb.EJBLocalObject
  • javax.ejb.EJBObject
  • javax.ejb.Init
  • javax.ejb.Local
  • javax.ejb.LocalHome
  • javax.ejb.Remote
  • javax.ejb.RemoteHome
  • javax.ejb.Remove
  • javax.ejb.Stateful

[Injection of env-entry]

Stateless session bean

  • javax.annotation.Resource
  • javax.ejb.Local
  • javax.ejb.Remote
  • javax.ejb.Stateful

[Injection of ejbs]

desc

  • javax.ejb.EJB
  • javax.ejb.Local
  • javax.ejb.Remote
  • javax.ejb.Stateless

[Injection of DataSource]

desc

  • javax.annotation.PostConstruct
  • javax.annotation.Resource
  • javax.ejb.Stateful
  • javax.sql.DataSource

[Injection of EntityManager]

desc

  • javax.ejb.Stateful
  • javax.persistence.Entity
  • javax.persistence.EntityManager
  • javax.persistence.PersistenceContext
  • javax.persistence.PersistenceContextType
  • javax.persistence.Query

[Interceptors]

desc

  • javax.ejb.Local
  • javax.ejb.Stateless
  • javax.interceptor.AroundInvoke
  • javax.interceptor.Interceptors
  • javax.interceptor.InvocationContext

[Expanded env entries]

desc

  • javax.annotation.Resource
  • javax.ejb.Stateless

[Telephone Stateful]

desc

  • javax.ejb.Remote
  • javax.ejb.Stateful

Helloworld Weblogic

desc

  • javax.ejb.CreateException
  • javax.ejb.EJBLocalHome
  • javax.ejb.EJBLocalObject
  • javax.ejb.LocalHome
  • javax.ejb.Stateless
  • No labels