Solved

NT not supporting DCOM with javareg

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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Adding Row and Cell on a table 14 32
key press alert 2 48
Validating Date Part2 2 47
PHP $_POST vs asp request 4 58
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 have helped a lot of people on EE with their coding sources and have enjoyed near about every minute of it. Sometimes it can get a little tedious but it is always a challenge and the one thing that I always say is:   The Exchange of informatio…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

752 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