External Java Applications That Use NIC
If you write an external Java application that
interacts with a NIC, include NIC libraries in the application. These
libraries are for NIC proxies and local NIC hosts. These libraries
are located in the
SDK+AppSupport+Demos+Samples.tar.gz on the Juniper Networks website at: https://www.juniper.net/support/products/src/index.html. You can locate the files in the SDK/lib/nic directory.
Typically, each NIC resolution process requires one NIC proxy. For example, the OnePopLogin sample data includes two resolution processes:
Mapping of a subscriber’s IP address to the subscriber’s login name
Mapping of the subscriber’s login name to the SAE reference
An application that uses both these resolution processes would require two NIC proxies.
The NIC proxy provides a simple Java interface, the NIC application programming interface (API). You configure the NIC proxy to communicate with one resolver. For efficiency if you use NIC in client/server mode, the NIC proxy caches the results of resolution requests so it can respond to future requests for the same key without contacting the resolver.
The SRC software includes a factory interface, the NIC factory, to allow applications to instantiate, access, and remove NIC proxies. It also includes JAR files for NIC client and NIC host libraries.
You must configure an application to communicate with a NIC proxy.
If you are using Java Runtime Environment (JRE)
1.3 or higher, you must include in your application the Java archive
(JAR) files, available in the
SDK+AppSupport+Demos+Samples.tar.gz file on the Juniper Networks website at: https://www.juniper.net/support/products/src/index.html. The files are located in the /SDK/lib/ directory.
For more information about the API calls, see the online documentation on the Juniper Networks website at https://www.juniper.net/documentation/software/management/src/api-index.html