The information in this article applies to:
SUMMARY
The JavaDraw sample demonstrates how to implement a distributed drawing
application using the Microsoft Software Development Kit (SDK) 2.0 for Java
and Microsoft Message Queue Server (MSMQ) ActiveX components. The sample
code sends and receives MSMQ messages that store drawings using Safearrays,
character data as strings, and a "clear screen" message to both the sender
and receiver.
MORE INFORMATIONThe following files are available for download from the Microsoft
Download Center. Click the file names below to download the files: Javadraw.exeFor more information about how to download files from the Microsoft Download Center, please visit the Download Center at the following Web address http://www.microsoft.com/downloads/search.aspand then click How to use the Microsoft Download Center. The sample prepares and sends one message for the entire stroke (drawing between mouse-down and mouse-up). It demonstrates an object-oriented approach that sends and receives different data types using Java. NOTE: In order to compile the sample code, you must use the latest Java compiler included in SDK 2.0. Before you build the sample, run the JActiveX tool on MSMQ type library (Mqoa.dll) to generate Java wrapper classes for MSMQ ActiveX components. REFERENCESFor more information on MSMQ Asynchronous Receive in Java, see the following article in the Microsoft Knowledge Base:Q176815 MSMQ Asynchronous Receive Using Java SDK 2.0For more information on Serialization in Java with VARIANT and SafeArrays, please see the following article in the Microsoft Knowledge Base: Q178561 HOWTO: Use Java Serialization with VARIANT SafeArraysThe JactiveX tool, SafeArrays and Variants are described in the Microsoft SDK for Java 2.0 documentation available at this address: http://www.microsoft.com/java/sdk/(c) Microsoft Corporation 1997, All Rights Reserved. Contributions by Syed Yousuf, Microsoft Corporation Additional query words:
Keywords : kbfile MQJava MQProg |
Last Reviewed: December 10, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |