Package javax.ejb

Annotation Type LocalBean

  • @Target(TYPE)
    public @interface LocalBean
    Designates that a session bean exposes a no-interface view.

    This annotation is required if a session bean exposes any other client views (local, remote, no-interface, 2.x Remote Home, 2.x Local Home, Web Service) in addition to the no-interface view or its implements clause contains an interface other than;; or any of the interfaces defined by the javax.ejb package.

    This annotation is optional if a session bean exposes only a no-interface view.

    EJB 3.1