com.bankframe.services.ping
Class PingBean
java.lang.Object
com.bankframe.ejb.ESessionBean
com.bankframe.services.ping.PingBean
- All Implemented Interfaces:
- ESession, Serializable, EnterpriseBean, SessionBean
public class PingBean
- extends ESessionBean
The Ping utility is used to confirm that a BankFrame MCA Installation
is working, and that the servlets on the web server are communicating
with the BankFrame MCA EJB container.
This utility should be used when setting up the environment.
It is part of BankFrame MCA and can be executed from a browser or
from the command line using the Java client application available in
this package.
When a request is sent to the Ping EJB, it will respond with a
DataPacket that gives the time of the request and a
message indicating that the deployment environment is live.
- See Also:
- Serialized Form
Methods inherited from class com.bankframe.ejb.ESessionBean |
audit, ejbActivate, ejbCreate, ejbLoad, ejbPassivate, ejbPostCreate, ejbRemove, ejbStore, getSessionContext, setSessionContext, unsetSessionContext |
PingBean
public PingBean()
ping
public String ping()
- This method generates a message displaying details about the server.
- Returns:
- message from the server
processDataPacket
public Vector processDataPacket(DataPacket data)
throws ProcessingErrorException,
RemoteException
- This method processes DataPackets.
- Specified by:
processDataPacket
in interface ESession
- Specified by:
processDataPacket
in class ESessionBean
- Parameters:
data
- DataPacket to process
- Returns:
- a vector containing response DataPackets
- Throws:
ProcessingErrorException
RemoteException
processDataPackets
public Vector processDataPackets(Vector dataPackets)
throws ProcessingErrorException,
RemoteException
- This method processes multiple DataPackets.
- Specified by:
processDataPackets
in interface ESession
- Overrides:
processDataPackets
in class ESessionBean
- Parameters:
dataPackets
- Vector of datapackets to process
- Returns:
- a vector containing response DataPackets
- Throws:
ProcessingErrorException
RemoteException
Copyright © 2005, 2007, Oracle. All rights reserved.