org.objectweb.jass.examples.travelagency.ejbs
Interface Hotel
- All Superinterfaces:
- javax.ejb.EJBObject, java.rmi.Remote
- public interface Hotel
- extends javax.ejb.EJBObject
- Author:
- fran
Date: Feb 16, 2004
org.objectweb.jass.examples.travelagency.ejbsHotel.java
Methods inherited from interface javax.ejb.EJBObject |
getEJBHome, getHandle, getPrimaryKey, isIdentical, remove |
getFreeRooms
public int getFreeRooms()
throws java.rmi.RemoteException,
java.sql.SQLException
- Throws:
java.rmi.RemoteException
java.sql.SQLException
reserveRooms
public int reserveRooms(int nRooms)
throws java.rmi.RemoteException,
NotEnoughRoomsException,
java.sql.SQLException
- Throws:
java.rmi.RemoteException
NotEnoughRoomsException
java.sql.SQLException