README

Pattern Development Kit Lite
Version 2.0

System Requirements

Pattern Development Kit Lite 2.0 runs on Windows NT 4.0 with Service Pack 6A. Running on a stand alone machine we recommend that you have no less than 280Mb of memory and a Pentium II processor or higher.
 
 

Products Required

The following product levels were used to develop and test PDK Lite. There may well be cases where more recent releases, or different versions would work equally well. However, the following configuration is the only one officially supported:

Runtime: Development: Please note ! This version of the PDK has been rigorously tested to the level of software indicated above. A full set of all the software required will soon be available to order - check the Patterns for e-Business Web site regularly for news on this. In the meantime, if you would like to run the PDK now, you will find the latest trial downloads by following these links:

Information Required

Make sure you have the following information available when running the start_Topology_1.cmd:

How to Run PDK Lite 2.0

To install and configure the Pattern Development Kit Lite: You will be prompted to provide information such as your machine's hostname, and the location of the requisite products.  For simplicity, when configuring IBM HTTP Server, you are presented only with a subset of the http.conf configuration file, called changes.conf.  This is merged with the rest of the file afterwards and the entire http.conf file is displayed.
 
 

Tips & Warnings


defaultserver


Known Issues

Finding the source code

 

 

You can find the PDK Lite Topology 1 source code under the PDK install directory U2BTop_1\TestDrive\coding\artifacts\.

Java Source

The Java packages containing the source code used by PDK Lite can be found off the servlets directory off the PDK Lite install directory, e.g.: The Java source files can then be found in directory structures which map to their fully qualified package names.  For example, the Java source file: ...would be located off the servlets directory, in the sub directory: ...in a file called Command.java

The same code is also included in a VisualAge for Java repository file called U2BTOP.dat, under the repository directory. , e.g.:

To edit the code in VisualAge Java, import the .dat file into the VAJ workspace. A project called U2BTOP (User-to-Business Topology) will be added, with the packages used by the PDK Lite. To compile the classes, you will need to do the following:
 
  1. Import the U2BTOP Project into VAJ, adding it to the WorkSpace.
  2. File -> Quick Start -> select 'Features' in the left hand pane, then 'Add Feature' in the right hand pane. Click OK.
  3. In the 'Selection Required' dialog, select the following:

  4.  
  5. Click 'OK'. This will also add various other projects to your Workspace if not already there (e.g. Servlet API Classes 2.1) After the classes have been added, the 'All Problems' tab should not display any problems for the U2BTOP project.
You can now edit, compile and export the code.

WebSphere Studio Project

A WebSphere Studio archive file containing the entire WebSphere Studio project can be found under the Studio Archive directory, e.g.: This archive can imported in to the project of your choice in WebSphere Studio.

In addition, the WebSphere Studio Project wao file (as well as all supporting files and directories) used in the construction of the skeleton web application can be found in a file called u2btop.wao, in the config\artifacts\ directory, e.g.:

Please note that due to the way directory information is stored in Studio's project files, the project will not open properly unless you install PDK Lite to the default directory of C:\PDK_Lite_2 .
 
 

Suggested reading

Learn more about Patterns for e-business at http://www.ibm.com/software/developer/web/patterns/

For a guide to working with both WebSphere Application Server and WebSphere Studio see:
http://www.ibm.com/software/webservers/studio/library.html

The following books are available from the IBM Redbooks site at http://www.redbooks.ibm.com/
 


rbooklogoPatterns for e-business: User-to-Business Patterns for Topology 1 and 2 using WebSphere Advanced Edition SG24-5864
WebSphere Studio and VisualAge for Java Servlet and JSP Programming SG24-5755
Servlet/JSP/EJB Design and Implementation Guide for IBM WebSphere Application Servers SG24-5754
Connecting e-business to the Enterprise by Example SG24-5514