[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 406
  • Last Modified:

new jawin com/DCOM

hi all experts, i am useing njawin and it's works great for me so far but let say i want to call the com object from another computer from the network, can i do it with njawin?
if not how can i do it? (i rather do it for free ;))

thanks Navot.
0
navotv
Asked:
navotv
  • 8
  • 5
  • 4
  • +1
1 Solution
 
CEHJCommented:
Couldn't you just call a DCOM implementation (that Java can also interface with) directly?
0
 
navotvAuthor Commented:
and how can i do that this is extactly what i am looking for
0
 
objectsCommented:
> can i do it with njawin?

Not afaik.

You could write a little Java server that could be called remotely, that would then make the com call locally.
0
The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

 
navotvAuthor Commented:
to open a small java server that opens the com and send it orders like print turn page etc' is easy but what i want is let say for an example if i have two computers that one has acrobat reader and the other dont have, so the secound can call the com from the first one use it from the first computer. i hope i was clear (engilsh is not my naitve lang).
0
 
CEHJCommented:
Then Acrobat reader (per your example) would have to have an automation interface or one would have to be built via a native libary adapter to Acrobat
0
 
navotvAuthor Commented:
ok and lets say i build some interface for the acrobat how can i let say when i press print it will print on the printer that i have on the computer useing the remote interface.
0
 
objectsCommented:
as i said above i don't think you can
0
 
CEHJCommented:
You'd have to say

"Controller - tell Acrobat to print the page and use the network printer sitting next to me"

But this is getting quite far from Java ... Probably better off in another TA
0
 
navotvAuthor Commented:
so any solution to how i can?
0
 
objectsCommented:
> But this is getting quite far from Java ... Probably better off in another TA

the call is being made from Java isn't it?
0
 
CEHJCommented:
I would ask in .NET VB MFC first
0
 
navotvAuthor Commented:
but my dream is to stick with java.... so there is no sulotion to my wishes?
0
 
objectsCommented:
Unless CEHJ can provide some more specific information and details about what he's talking about and how it would be achieved then I don't think you can achieve what you ask.
0
 
vitallisCommented:
Hi,
I did not intend to make DCOM support in njawin. This feature is not critical for java applications. I have for an object to make accessible some MS Windows environment without JNI coding.
0
 
navotvAuthor Commented:
so do you have any idea how can i do it? i think i will be very helpfull to njawin to have it, (i tought about doing terminal to the com object, it's allmost it) but any other idea?
0
 
vitallisCommented:
I know another java-com bridge, which supports this feature. This is J-Integra. It encapsulates an ActiveX or COM Server into CORBA Server.
0
 
vitallisCommented:
NJAWIN does not support DCOM. Forget about DCOM. This technology is dead. Use another means, which can substitute DCOM.

Vitaly
0
 
navotvAuthor Commented:
so in what mean will you use? for what i'm trying to do?
0
 
vitallisCommented:
For example, I write server modules, which communicate with other word through socket, I also use ISAPIs as mediators, etc.
0
 
navotvAuthor Commented:
if you will give me some example or reference it will be great!!
0
 
vitallisCommented:
This is my company's product at
http://www.panorama.com/
Its server side is written with C++ and VB. There is also module written in C#. But I cannot give you a piece of its code. The best example is J2EE. Usually a server module communicates with socket and uses Thread Pool. Each client connection has context. So read books how to write server applications.
0

Featured Post

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

  • 8
  • 5
  • 4
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now