Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Java and com-interface?
Message
Information générale
Forum:
Java
Catégorie:
Technologies Java et APIs
Divers
Thread ID:
00621942
Message ID:
00628710
Vues:
14
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
Steve Ruhl
CitiMortgage, Inc.
steven.ruhl@citibank.com Office
Steve@steven-ruhl.com Home
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform