[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: MIF output from XT

Subject: RE: MIF output from XT
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Wed, 3 Nov 1999 09:50:44 -0000
michael gaven
> If it's appropriate to the list, could you give us a little 
> more detail on this please? Thanks.				...edN
> 
> > Registering the Java classes that form the interface to XT or
> > SAXON as a COM object, and then calling them from VB, should not be at
all 
> difficult.
> 
Install the Microsoft Java SDK and look in the help text for "javareg". This
command takes a Java class and installs it in the registry as a COM object,
allowing VB applications, ASP pages, etc, to call it just like any other
installed COM object. The actual COM interface is provided by a wrapper in
the Microsoft JVM, the Java class itself is not modified. The SDK
documentation includes full information on the type mappings, error
handling, etc, including a lot of detail on how to customise the mappings,
but I've never gone into the detail, because for simple Java interfaces I
haven't found it necessary: you just run javareg and Bob's your uncle. 

What I have done in the past is to write Java wrappers that deliberately
make the interface simple, e.g. by catching exceptions and turning them into
return codes: this is just laziness on my part to avoid having to understand
the more advanced features of the Microsoft technology.

Mike Kay


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.