WebRunnerTM Network  Beans

If you are developing JavaTM applications, applets, or composite JavaBeansTM, Taligent's WebRunner Beans can help you become productive very quickly. These Beans are part of the WebRunner Toolkit, which also includes other sets of starter beans and and tools for creating and working with JavaBeans. This package includes the Net Beans, which help you easily assemble network-aware JavaBeans. 

The WebRunner Net Beans are designed to let you easily incorporate Internet access into your Java applications. The package includes the following beans for networking services: 

For more information, see the documentation installed with the product. Updates to the documentation will periodically be available at the Taligent website
 

Installation Instructions

For installation of the Network Beans on Windows platforms
    • WebRunner Network Beans Installation for JDK 1.1.1 
      1. Unzip the file net120.zip ( or net120e.zip for evaluation product).
      2. Extract all the files contained in the ZIP file,  to a  local directory of your choice.
      3. Import the three JAR files into your favorite Bean builder: awidgets.jar, net.jar and netfw.jar.
      4. The documentation for all the beans is provided in the  ZIP file.
       
    • WebRunner Network Beans Installation for use with VisualAge for Java (VAJ) Version 1.0
      1.  
      2. Unzip the net120(e).zip file, and extract all the files to a directory of your choice on your local drive.
      3. Importing the extracted files into VisualAge for Java:
        1. Launch your 's VisualAge for Java's   Integrated Development Environment (IDE).
        2. From the File menu, choose the Import menu item.
        3. A SmartGuide  Import dialog box appears. 
        4. Type in a new Project name, or browse and select an existing Project name that you want the Network Beans package to be added to.
        5. Click on the JAR file option then click on the Next button
        6. Click on the Browse button,  browse to the directory where you extracted the files from the net120(e).zip file and choose all the files with the JAR extension. There should be three JAR files: awidgets.jar, net.jar and netfw.jar.
        7. Select the JAR files which now  show up in the list of JAR files in the Smart Guide dialog, and click on the Finish button to import them into VisualAge for Java.

        8. Back in the Workbench of VisualAge for Java, you should now see all the Network Beans,  and all the classes they need,  under the Project name that you had specified during the import process.

Supported Platforms

The current release of WebRunner Toolkit has been tested for use with the JDK1.1.1 available on WindowsNT and Windows95. 
Releases on other platforms will be supported in the near future, depending on the availability of stable releases of the 
 JDK1.1.1  on those platforms. 
 

Problems fixed in this version of the Network Beans

  1. In the POP3Session bean, the problem with the messageSize() API for a message that's already retrieved from the POP3 server, has been corrected. The bean will now report that you cannot get the size of a message that's already been retrieved.
  2. In the SMTPSession Bean, the first "HELO" command for the SMTP protocol now always sends the domain address as an argument. The omission of this argument was causing problems with some mail servers.

Known Problems

Importing the Network Beans into VisualAge for Java on OS/2

While importing the awidgets.jar and net.jar into the VisualAge for Java workspace on OS/2, you might see two exceptions, in the Console window of VisualAge for Java, that resemble the following (the name of the Workbench project that you are trying to import the JAR files under, will appear in place of "Network Beans" here) :

    java.io.IOException: ..\project_resources\Network Beans\COM\: could not create directory 
    java.lang.Throwable(java.lang.String) 
    java.lang.Exception(java.lang.String) 
    java.io.IOException(java.lang.String) 
    void sun.tools.jar.Main.extractFile(java.util.zip.ZipInputStream, java.util.zip.ZipEntry) 
    void sun.tools.jar.Main.extract(java.io.InputStream, java.lang.String []) 
    boolean sun.tools.jar.Main.run(java.lang.String []) 
    java.io.PrintStream sun.tools.jar.Main.getFiles(java.lang.String, java.lang.String) 

These exceptions can be ignored, and do not affect the import process. All the beans' classes thus imported, function normally.

Using WebRunner Network Beans  inside VisualAge for Java

In the Visual Composition Editor for VisualAge for Java, the Bean Customizer dialogs for any of the Network Beans -- the FTPSession Bean, the NNTPSession Bean, the NNTPSession Bean and the SMTPSession Bean ---  are displayed much smaller than the actual size of the customizer, and need to be resized. Once resized, and all the fields are visible, the beans  function   normally.   
 
© Copyright Taligent, Inc. 1997. 
© Copyright IBM Corp. 1997 
All rights reserved.  
Taligent and the Taligent logo are registered trademarks of Taligent, Inc. 
IBM and VisualAge are registered trademarks of IBM Corporation. 
Other trademarks and service marks are the property of their respective owners.