|
WebLogic Server 7.0 Code Examples, BEA Systems, Inc. | |||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||
java.lang.Object | +--examples.jndi.InitialContextExample
This example shows how to create a context with default (guest access) to the naming system, and how to create a context that has authenticated access to the naming system.
The following sections cover what to do:
The build.xml script is available in the SAMPLES_HOME\server\src\examples\jndi directory, where SAMPLES_HOME refers to the directory for all samples and examples for the WebLogic Platform.
To build the example, move to the JNDI example directory and run the script using the following Java ant command:
prompt> ant
prompt> ant run_initialcontextParameters contained within the run script are:
| Constructor Summary | |
InitialContextExample()
|
|
| Method Summary | |
static void |
main(java.lang.String[] args)
Runs this example from the command line. |
| Methods inherited from class java.lang.Object |
|
| Constructor Detail |
public InitialContextExample()
| Method Detail |
public static void main(java.lang.String[] args)
|
Documentation is available at http://e-docs.bea.com/wls/docs70 |
|||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||