- See Also:
- Top Examples, Source Code
public EJBHome getEJBHome()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public Class getHomeInterfaceClass()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
[646]Do something useful with the home interface
By Anonymous on 2004/02/04 12:26:03 Rate
Object ref = agent.getEJBHome ( ) ;
MyHomeRemote home = ( MyHomeRemote )
PortableRemoteObject.narrow ( ref,MyHomeRemote.class ) ;
// Do something useful with the home interface
EJBMetaData meta = home.getEJBMetaData ( ) ;
System.out.println ( meta.getHomeInterfaceClass ( ) .getName ( ) ) ;
System.out.println ( meta.getRemoteInterfaceClass ( ) .getName ( ) ) ;
System.out.println ( meta.isSession ( ) ) ;
public Class getPrimaryKeyClass()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public Class getRemoteInterfaceClass()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public boolean isSession()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public boolean isStatelessSession()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples