com.xenonsoft.bridgetown.test.ejb
Interface GreetingRemote

All Superinterfaces:
javax.ejb.EJBObject, java.rmi.Remote

public interface GreetingRemote
extends javax.ejb.EJBObject

Interface for a local session bean

Version:
$Id: GreetingRemote.java,v 1.3 2005/03/17 02:45:44 peter_pilgrim Exp $
Author:
Peter Pilgrim, 18-Feb-2005 19:32:30

Method Summary
 java.lang.String invokeJtaTransactionContext(java.lang.String name)
          Invoke a test to verify operation of the virtual JTA platform transaction interface: the service manager JtaTransactionServiceManager, the session factory JtaTransactionSession, and the transaction context JtaTransactionContext,
 java.lang.String makeHelloWorld(java.lang.String name)
          Generate a greeting
 
Methods inherited from interface javax.ejb.EJBObject
getEJBHome, getHandle, getPrimaryKey, isIdentical, remove
 

Method Detail

makeHelloWorld

public java.lang.String makeHelloWorld(java.lang.String name)
                                throws java.rmi.RemoteException
Generate a greeting

Parameters:
name - the name
Returns:
message greeting
Throws:
java.rmi.RemoteException - thrown if an RMI/IIOP failure occurs

invokeJtaTransactionContext

public java.lang.String invokeJtaTransactionContext(java.lang.String name)
                                             throws java.rmi.RemoteException
Invoke a test to verify operation of the virtual JTA platform transaction interface: the service manager JtaTransactionServiceManager, the session factory JtaTransactionSession, and the transaction context JtaTransactionContext,

Parameters:
name - an arbitary parameter
Returns:
a debug output message as a String
Throws:
java.rmi.RemoteException - thrown if an RMI/IIOP failure occurs


Copyright © 2005 XeNoNSoFT.com. All Rights Reserved.