All Examples  All WebLogic Enterprise Connectivity Examples  EJB Simpapp Example

examples.wlec.ejb.simpapp
Interface Converter


public interface Converter

The methods in this interface are the public face of ConverterBean. 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 ConverterBeanE implements this interface and delegates to the bean.


Method Summary
 ConverterResult toLower(java.lang.String inData)
          Converts to lowercase.
 ConverterResult toUpper(java.lang.String inData)
          Converts to uppercase.
 

Method Detail

toUpper

public ConverterResult toUpper(java.lang.String inData)
                        throws ProcessingErrorException,
                               java.rmi.RemoteException
Converts to uppercase.
Parameters:
inData - String Input data
Returns:
ConverterResult conversion Result
Throws:
ProcessingErrorException - if there is an error while converting the string
java.rmi.RemoteException - if there is a communications or systems failure

toLower

public ConverterResult toLower(java.lang.String inData)
                        throws ProcessingErrorException,
                               java.rmi.RemoteException
Converts to lowercase.
Parameters:
inData - String Input data
Returns:
ConverterResult conversion Result
Throws:
ProcessingErrorException - if there is an error while converting the string
java.rmi.RemoteException - if there is a communications or systems failure