|
WebLogic Server 6.0 Code Examples, BEA Systems, Inc. | |||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--examples.io.HelloWorld
This example illustrates the use of WebLogic File Services. HelloWorld looks for a file on the server, writes "Hello World" to the file if it is NOT there, reads the first 11 bytes of the file, and displays them.
The following sections cover what to do:
$ javac -d %CLIENT_CLASSES% HelloWorld.java
Name: mySys
Field: c:\temp
$ java examples.io.HelloWorld t3://hostname:port mySyswhere:
After compiling this directory, call HelloWorld with three arguments:
You may also call HelloWorld with two arguments:
Constructor Summary | |
HelloWorld()
|
Method Summary | |
static void |
main(java.lang.String[] argv)
Runs the HelloWorld file example. |
Methods inherited from class java.lang.Object |
|
Constructor Detail |
public HelloWorld()
Method Detail |
public static void main(java.lang.String[] argv)
|
Documentation is available at http://e-docs.bea.com/wls/docs60 |
|||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |