Solved

NT not supporting DCOM with javareg

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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Suggested Solutions

I was asked about the differences between classic ASP and ASP.NET, so let me put them down here, for reference: Let's make the introductions... Classic ASP was launched by Microsoft in 1998 and dynamically generate web pages upon user interact…
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/…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

760 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now