|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--samples.j2ee.ejb.basic.statefulSession.Client
This class illustrates using a stateful SessionBean:
| Constructor Summary | |
Client()
|
|
| Method Summary | |
static void |
main(java.lang.String[] args)
Runs this example from the command line. |
static javax.naming.Context |
newInitialContext()
Gets an initial context. |
| Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Constructor Detail |
public Client()
| Method Detail |
public static void main(java.lang.String[] args)
java samples.j2ee.ejb.basic.statefulSession.Client "corbaloc://localhost:7001" scott tiger
The parameters are optional, but if any are supplied, they are interpreted in this order:
url - URL such as "corbaloc://localhost:7001" of Serveruser - User name, default nullpassword - User password, default nullverbose - Enable/disable tracing, default true
public static javax.naming.Context newInitialContext()
throws java.lang.Exception
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||