javax.ejb

## Annotation Type LocalBean

-     @Target(value=TYPE)
      @Retention(value=RUNTIME)
      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 `java.io.Serializable`; `java.io.Externalizable`; 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.

  Since:
    EJB 3.1

Copyright © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.