GeeCON Prague 2014*
The moose likes Java in General and the fly likes java program as a COM Server? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Java in General
Bookmark "java program as a COM Server?" Watch "java program as a COM Server?" New topic
Author

java program as a COM Server?

Emnaki Chih
Ranch Hand

Joined: Sep 01, 2004
Posts: 30
Is it possible to make a java program into a windows COM Server so that another program can get the java program's COM Object to make method calls with? If it is possible could you please describe the process or refer me to a link with related information?

Basically I am trying to make a java program which complements another program I am using. That other program can make COM objects and right now the only thing that I can think of is creating the shell COM object and running the java program with passed in variables each time I want to use the java program to do some calculations, which is not very efficient since java program takes some time to start up.
Stan James
(instanceof Sidekick)
Ranch Hand

Joined: Jan 29, 2003
Posts: 8791
There's nothing from Sun - in the libraries - to do that. Google for "java com bridge" and find lots of products that ought to get close to what you need.


A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: java program as a COM Server?