Solved

NT not supporting DCOM with javareg

Posted on 2000-02-20
4
320 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
  • 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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

I recently decide that I needed a way to make my pages scream on the net.   While searching around how I can accomplish this I stumbled across a great article that stated "minimize the server requests." I got to thinking, hey, I use more than one…
I would like to start this tip/trick by saying Thank You, to all who said that this could not be done, as it forced me to make sure that it could be accomplished. :) To start, I want to make sure everyone understands the importance of utilizing p…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

828 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