Adaptive Server support for java.net and java.nio lets you create client-side Java networking applications in the server. You can create a network Java client application that connects to any server, which effectively enables Adaptive Server to function as a client to external servers.
You can use java.net and java.nio to:
Download documents from any URL on the Internet.
Send e-mail messages from inside the server.
Connect to an external server to save a document and perform file functions such as saving or editing a document.
Access documents using XML.
Use java.net with caution:
Most objects associated with java.net are not serializable; they cannot be inserted into tables.
Most I/O-related methods use buffered I/O and are not automatically flushed. These methods, such as PrintWriter, must be flushed explicitly.