473,853 Members | 1,804 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Accessing a Java COM component from .NET

..NET framework 1.2

Hello.

We've been accessing a Java COM component from classic ASP for a while now,
which works fine. We now need to access it from .NET, but we have no idea
how to reference this component as we can't find the .dll (or whatever type
of file Java COM components compile to). We do know a couple of things
about the component:

CLSID: {E7DEFE93-E26E-11d2-B3A0-0000E8512796}
Component name: PaymentClient.c om.COMClient

Searching the registry for either string yields results, but the only DLL
referenced is msjava.dll which is obviously not what we're looking for.

Can someone give us any hints on how to access this object from .NET.

Thanks,

Mike
Nov 16 '05 #1
2 2486
Did you try OleView from the MS Platform SDK? That might do the trick, I seem to recall that it will show info about Java COM objects, including what dll the object resides in.

"Mike" wrote:
..NET framework 1.2

Hello.

We've been accessing a Java COM component from classic ASP for a while now,
which works fine. We now need to access it from .NET, but we have no idea
how to reference this component as we can't find the .dll (or whatever type
of file Java COM components compile to). We do know a couple of things
about the component:

CLSID: {E7DEFE93-E26E-11d2-B3A0-0000E8512796}
Component name: PaymentClient.c om.COMClient

Searching the registry for either string yields results, but the only DLL
referenced is msjava.dll which is obviously not what we're looking for.

Can someone give us any hints on how to access this object from .NET.

Thanks,

Mike

Nov 16 '05 #2
I tried it but I can't see my Java class. There's no Find feature which
isn't very useful.

Surely someone here must have accessed a Java COM object from .NET?

Mike

"Cletus Van Damme" <Cl************ @discussions.mi crosoft.com> wrote in
message news:20******** *************** ***********@mic rosoft.com...
Did you try OleView from the MS Platform SDK? That might do the trick, I seem to recall that it will show info about Java COM objects, including what
dll the object resides in.
"Mike" wrote:
..NET framework 1.2

Hello.

We've been accessing a Java COM component from classic ASP for a while now, which works fine. We now need to access it from .NET, but we have no idea how to reference this component as we can't find the .dll (or whatever type of file Java COM components compile to). We do know a couple of things
about the component:

CLSID: {E7DEFE93-E26E-11d2-B3A0-0000E8512796}
Component name: PaymentClient.c om.COMClient

Searching the registry for either string yields results, but the only DLL referenced is msjava.dll which is obviously not what we're looking for.

Can someone give us any hints on how to access this object from .NET.

Thanks,

Mike

Nov 16 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
4226
by: Michael | last post by:
Hello I am trying to write a Java-Program which converts a XML-file in a HTML. It should take the Transformation-file from the XML-file itself. Below find a possible XML-file: <?xml version="1.0" encoding="UTF-8"?> <!-- edited with XMLSPY v5 rel. 3 U (http://www.xmlspy.com) by Michael Herren (private) -->
0
4473
by: Paul Hutchinson | last post by:
All, I wonder if anyone can help/advise with the following interoperability issue we are encountering? We have a .NET web service that takes an abstract type as parameter. Using it from a .net client works OK. However calling the method from a java client (Websphere 5.0) we see the following error being thrown on the call to the method.
2
47286
by: SubbaRao Karanam | last post by:
What does this error for the Code below java.io.StreamCorruptedException: invalid stream header at java.io.ObjectInputStream.readStreamHeader(Unknown Source) at java.io.ObjectInputStream.<init>(Unknown Source) at com.kbs.framework.client.gui.PIPReport.doProcess(PIPReport.java:562) at com.kbs.framework.client.gui.PIPReport.actionPerformed(PIPReport.java:508) at javax.swing.AbstractButton.fireActionPerformed(Unknown Source) at...
73
8111
by: RobertMaas | last post by:
After many years of using LISP, I'm taking a class in Java and finding the two roughly comparable in some ways and very different in other ways. Each has a decent size library of useful utilities as a standard portable part of the core language, the LISP package, and the java.lang package, respectively. Both have big integers, although only LISP has rationals as far as I can tell. Because CL supports keyword arguments, it has a wider range...
11
9295
by: DrUg13 | last post by:
In java, this seems so easy. You need a new object Object test = new Object() gives me exactly what I want. could someone please help me understand the different ways to do the same thing in C++. I find my self sometimes, trying Object app = Object(); Object *app = Object(); Object app = new Object();
1
1677
by: srpatna | last post by:
I am trying to access Web Service of a Vendor. Its built using Java on Weblogic. Connection is restricted to users with client certificate provided by them and NOT from any recognised authority. The Web Service setup at the vendor does not allow us to browse the wsdl or xsd. They have provided us the wsdl for to use. My problem is I am unable to compile the wsdl using wsdl.exe because it gives
0
3302
oll3i
by: oll3i | last post by:
package library.common; import java.sql.ResultSet; public interface LibraryInterface { public ResultSet getBookByAuthor(String author); public ResultSet getBookByName(String name);
7
1988
oll3i
by: oll3i | last post by:
i need to write publisher subscriber application on openjms and use db4o but i dont know how do i add the references to db4o when i compile the app with javac ? i added db4o-6.1-java5.jar to my classpath and it doesnt work i get D:\SYSTEM~2>javac Client.java Client.java:7: package com.db4o does not exist import com.db4o.Db4o; ^ Client.java:8: package com.db4o does not exist import com.db4o.ObjectContainer; ...
7
5347
helpwithcode
by: helpwithcode | last post by:
Hi people, I am just learning java.I have been creating a project which involves JDBC Connectivity.I find that the statements, String string_dob=text_dob.getText(); //Converting string to date System.out.println(string_dob); s.Info_DOB=Date.valueOf(string_dob); runs perfectly fine in the method insert() and throws up an illegal Exception in the method UPDATE.This is the error I get when I pass a date "1979-05-02"
0
9748
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
11020
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10670
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10356
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9506
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7907
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5736
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4549
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
3180
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.