|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The Authenticate interface is the remote interface for the Authenticate EJB component.
This component maintains no state. When a method is called, it connects to the database, reads data and return it to the caller.
This component is in the EJB tier of the architecture.
Method Summary | |
boolean |
isAlive()
This is a "ping" method that always returns true. |
int |
login(String userName)
Given a user name (which has to be unique), returns a uniques system generated identifier for the users - this is a 3-digit integer. If the name is not found in the database the -1 is returned. |
Methods inherited from interface javax.ejb.EJBObject |
getEJBHome, getHandle, getPrimaryKey, isIdentical, remove |
Method Detail |
public int login(String userName) throws RemoteException
userName
- - the name of the userRemoteException
- public boolean isAlive() throws RemoteException
RemoteException
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |