IT. Expert System.

Java Enterprise Edition (EE)

EJB


javax.ejb
Annotation Type EJB

@Target(value={TYPE,METHOD,FIELD})
@Retention(value=RUNTIME)
public @interface EJB

Indicates a dependency on the local, no-interface, or remote view of an Enterprise Java Bean. Either beanName() or lookup() can be used to resolve the EJB dependency to its target session bean component. It is an error to specify values for both beanName() and lookup(). If no explicit linking information is provided and there is only one session bean within the same application that exposes the matching client view type, by default the EJB dependency resolves to that session bean.

Optional Element Summary
 java.lang.Class beanInterface
          Holds one of the following types of the target EJB : [ Local business interface, bean class (for no-interface view), Remote business interface, Local Home interface, Remote Home interface ]
 java.lang.String beanName
          The ejb-name of the Enterprise Java Bean to which this reference is mapped.
 java.lang.String description
           
 java.lang.String lookup
          A portable lookup string containing the JNDI name for the target EJB component.
 java.lang.String mappedName
          The product specific name of the EJB component to which this ejb reference should be mapped.
 java.lang.String name
          The logical name of the ejb reference within the declaring component's (e.g., java:comp/env) environment.
 

name

public abstract java.lang.String name
The logical name of the ejb reference within the declaring component's (e.g., java:comp/env) environment.

Default:
""

description

public abstract java.lang.String description
Default:
""

beanName

public abstract java.lang.String beanName
The ejb-name of the Enterprise Java Bean to which this reference is mapped. Only applicable if the target EJB is defined within the same application or stand-alone module as the declaring component.

Default:
""

beanInterface

public abstract java.lang.Class beanInterface
Holds one of the following types of the target EJB : [ Local business interface, bean class (for no-interface view), Remote business interface, Local Home interface, Remote Home interface ]

Default:
java.lang.Object.class

mappedName

public abstract java.lang.String mappedName
The product specific name of the EJB component to which this ejb reference should be mapped. This mapped name is often a global JNDI name, but may be a name of any form. Application servers are not required to support any particular form or type of mapped name, nor the ability to use mapped names. The mapped name is product-dependent and often installation-dependent. No use of a mapped name is portable.

Default:
""

lookup

public abstract java.lang.String lookup
A portable lookup string containing the JNDI name for the target EJB component.

Default:
""


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 1096 / . Delta: 0.05429 с