Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

NT not supporting DCOM with javareg

Posted on 2000-02-20
4
Medium Priority
?
324 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 400 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

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…
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…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…

715 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