Chapter 9 Notes

 

Home Purchase Preface Contents Examples Resources Errata Site Guide

 COM and CORBAŽ Side by Side

Before you attempt to run the examples, make sure that you have properly configured your environment.

Click here for information related to the configuration that I used on my computers.

Click here for an overview of the Chapter 9 examples.

Chapter 9 covers the following COM/CORBA Internet-client approaches.

bulletCOM / Active Server Pages (ASP) Example
bulletCORBA / Java Example
  

COM / Active Server Pages (ASP) Example

Building the Example

To build the example, run the _make.bat file in the following directory:

bulletbook\ch09\servers\com_server
bulletbook\ch09\servers\com_server\test
  

Configuring MTS

Start the MTS Explorer (MMC) and do the following:

bulletCreate an MTS package named "Ch9" (the actual name can be of your own choosing).
bullet Add customer.dll to the Ch9 package.
   

Configuring IIS

Start the Internet Service Manager (MMC) and do the following:

bulletCreate a virtual directory under IIS.
bullet Add ASP files from the following directory to the virtual directory:
bulletbook\ch09\clients\com_asp_client
  

Running the Example

Before you attempt to try the Active Server Pages application, first try the test application located in the following directory:

bulletbook\ch09\servers\com_server\test

Once you have run the test application and know that the COM server is working correctly, you can run the ASP application by using the appropriate URL from a web browser. For example:

bullethttp://scarpia/ch9/customer.asp
  

CORBA / Java Example

Building the Example

To build the example, run the _make.bat file in the following directory:

bulletbook\ch09\servers\corba_server
bulletbook\ch09\clients\corba_java_applet
    

Running the Example

To run the client application, make sure that the following directory is accessible from your web server:

bulletbook\ch09\clients\corba_java_applet

To run the CORBA/Java applet, type the appropriate URL into your web browser. For example:

bullethttp://scarpia/ch9/corba_java_applet/CustomerApplet.html
 

Remarks

bulletNote that the Java Plug-in is used to ensure support for Java IDL and Swing. You will need to ensure that the Java Plug-in is installed on the machine where you will run the web browser. Click here for more information on the Java Plug-in.
  
bulletWhenever the CORBA servers are restarted, the CustomerApplet.html file needs to be updated to reflect the newly generated IORs.

 

 

 

Home ] Up ] Purchase ] Preface ] Contents ] Resources ] Errata ] Site Guide ]

Send mail to jpritchard@pobox.com with questions or comments about this web site.
Last modified: August 12, 2003