WebLogic Server 7.0 Code Examples, BEA Systems, Inc.

examples.wtc.atmi.qsample
Interface Qsample

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

public interface Qsample
extends javax.ejb.EJBObject

The methods in this interface are the public face of the qsample client. The signatures of the methods are identical to those of the EJBean, except that these methods throw a java.rmi.RemoteException. Note that the EJBean does not implement this interface. The corresponding code-generated EJBObject, QsampleBeanE, implements this interface and delegates to the bean.

Author:
Copyright (c) 1998-2002 by BEA Systems, Inc. All Rights Reserved.

Method Summary
 java.lang.String qtoupper(java.lang.String toConvert)
          This is the classic STRING qsample method, which takes the string argument, and converts it to all upper case.
 
Methods inherited from interface javax.ejb.EJBObject
getEJBHome, getHandle, getPrimaryKey, isIdentical, remove
 

Method Detail

qtoupper

public java.lang.String qtoupper(java.lang.String toConvert)
                          throws weblogic.wtc.jatmi.TPException,
                                 java.rmi.RemoteException
This is the classic STRING qsample method, which takes the string argument, and converts it to all upper case. However, rather than simply convert it here, this method will invoke the EJB, which will instead ship the processing request to a Tuxedo server, which will perform the actual work. Notice that all of the input and output parameters are pure java types. The actual conversion of these types to TypedBuffers are done by the writer of the QsampleBean.
Parameters:
toConvert - A string to be converted (not null)
Returns:
the above string, converted to upper case

Documentation is available at
http://e-docs.bea.com/wls/docs70

Copyright © 2002 BEA Systems, Inc. All Rights Reserved.