Jintegra from
www.linar.com will do what you want. It will run on either Windows or UNIX and make a DCOM connection to a WIndows machine.
Their com2java utility generates java classes for each object in the type library. The Java code for controlling a COM application looks a lot like the code you would use in VFP or VB. There are no optional parameters in their Java classes so you have to add the right number of 'null' parameters to match the method signature.
>Hi!
>
>Does anyone know how I can make a COM-connection to a Windows computer (in JAVA ofcourse)? The JAVA program can either run on an UNIX machine or a Windows machine... (or both).
>
>In Visual FoxPro, a COM-connection works like this:
>----
>loWord = CREATEOBJECT( "word.application" )
>loWord.VISIBLE = .T.
>----
>
>I would like to know how to create something like this in JAVA.
>Anyone?
>
>Erik Dokter