Solved

NT not supporting DCOM with javareg

Posted on 2000-02-20
4
323 Views
Last Modified: 2008-03-17
How can we communicate from ASP to Java component in server side using DCOM?
My Java component is running  in a separate NT server(not the one on which web server ASP installed).
DCOM is my first choice. I am trying javareg utility to build the DCOM component, but NT 4.0 will not allow to locate a DCOM component remotely(please correct me if I am wrong).

Is there any way out?
0
Comment
Question by:puna
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 15

Expert Comment

by:robbert
ID: 2540850
Sorry, cannot provide an answer, just a comment.

You have to register a (D)COM component locally, as far as I know.

Then, let's try to figure out how to connect to it from ASP.
0
 

Author Comment

by:puna
ID: 2541049
Thanks robbert for the comments.
When we do the javareg it should do the the registration locally.
For DCom server side we just put the /surrogate option with javareg to access it remotely.
0
 

Accepted Solution

by:
Lobsang earned 200 total points
ID: 2542166
I work with DCOM components but I make Active X Dlls with VB.
I think it is the same so:
-> You need use to set the object as...
set var = server.createobject("dll.class") ... the dll.class must the same as it was registrated remotetly, you can see it at MTS, expanding your package and object.
-> To see methods and properties you must registrate it locally, but if you know then just the object.method is OK.
-> Set the object = Nothing in the end of the page.

With this you can work with DCOM.
0
 
LVL 15

Expert Comment

by:robbert
ID: 2542419
puna,

there are lots of links when you search http://search.microsoft.com/us/searchms.asp for javareg /surrogate remote.
Lots of (DCOM) bugs in v 1.0, they recommend to upgrade to javareg 2.0 (http://support.microsoft.com/support/kb/articles/Q173/7/90.ASP).
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hello, all! I just recently started using Microsoft's IIS 7.5 within Windows 7, as I just downloaded and installed the 90 day trial of Windows 7. (Got to love Microsoft for allowing 90 days) The main reason for downloading and testing Windows 7 is t…
This demonstration started out as a follow up to some recently posted questions on the subject of logging in: http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/Q_28634665.html and http://www.experts-exchange.com/Programming/…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…

626 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question