We need to interface from VB.NET to a third party
product. They provide an API that was written in Java
and is distributed as a JAR file.
What are the options for accessing the
objects/methods/etc. in a JAR file from VB.NET? 7 6035
* "Tlange" <tl****@gumbyrocks.com> scripsit: We need to interface from VB.NET to a third party product. They provide an API that was written in Java and is distributed as a JAR file.
What are the options for accessing the objects/methods/etc. in a JAR file from VB.NET?
Untested:
<http://www.remotesoft.com/javanet/index.html>
--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Hi Tlange,
Integrate .NET and J2EE With Web Services http://www.ftponline.com/wss/2003_02...ures/rbonneau/
You may refer to Simon Guest's book, Microsoft .NET and J2EE
Interoperability Toolkit. http://www.amazon.com/exec/obidos/tg...069912792/sr=8
-1/ref=sr_8_1/104-6176793-4170360?v=glance&n=507846
Regards,
Peter Huang
Microsoft Online Partner Support
Get Secure! www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
This response contains a reference to a third-party World Wide Web site.
Microsoft is providing this information as a convenience to you. Microsoft
does not control these sites and has not tested any software or information
found on these sites; therefore, Microsoft cannot make any representations
regarding the quality, safety, or suitability of any software or
information found there. There are inherent dangers in the use of any
software found on the Internet, and Microsoft cautions you to make sure
that you completely understand the risk before retrieving any software from
the Internet.
I have not checked out the book yet. Thanks for the
information, but I was looking for something more
specific (how to access stuff in a JAR file from
VB.NET). The vendor simply provides us a JAR file, and
we have no control over how they implement anything.
Discussions on the best ways to integrate the two worlds
are interesting but don't really help much in this case. -----Original Message----- Hi Tlange,
Integrate .NET and J2EE With Web Services http://www.ftponline.com/wss/2003_02...ne/features/rb
onneau/ You may refer to Simon Guest's book, Microsoft .NET and
J2EEInteroperability Toolkit. http://www.amazon.com/exec/obidos/tg/detail/-
/0735619220/qid=1069912792/sr=8-1/ref=sr_8_1/104-6176793-4170360?v=glance&n=507846
Regards, Peter Huang Microsoft Online Partner Support Get Secure! www.microsoft.com/security This posting is provided "as is" with no warranties and
confers no rights.This response contains a reference to a third-party
World Wide Web site.Microsoft is providing this information as a convenience
to you. Microsoftdoes not control these sites and has not tested any
software or informationfound on these sites; therefore, Microsoft cannot make
any representationsregarding the quality, safety, or suitability of any
software orinformation found there. There are inherent dangers in
the use of anysoftware found on the Internet, and Microsoft cautions
you to make surethat you completely understand the risk before
retrieving any software fromthe Internet.
.
TLange,
Does the JAR contain executable code or data?
My understanding is that a JAR file is simply a ZIP file, so using a .NET
compatible ZIP library you should be able to read the contents of the JAR
file. (For example the zip library included with J#).
However! if the JAR contains executable code, then you cannot really use it,
as its Java Byte Code, and you would need to load it in a JVM.
If the JAR contains data, then depending on how that data is formatted you
should be able to use it. If the data is Serialized then you may need a
third party utility to deserialize the data. Which the previously mentioned
book discusses. Discussions on the best ways to integrate the two worlds are interesting but don't really help much in this case.
Why wouldn't a book telling you how to integrate Java & .NET not help you
read a JAR (Java Archive)? Depending on what is in the JAR you may need to
write a Java wrapper to interop between your venders JAR & VB.NET.
Hope this helps
Jay
"TLange" <tl****@gumbyrocks.com> wrote in message
news:16****************************@phx.gbl... I have not checked out the book yet. Thanks for the information, but I was looking for something more specific (how to access stuff in a JAR file from VB.NET). The vendor simply provides us a JAR file, and we have no control over how they implement anything.
Discussions on the best ways to integrate the two worlds are interesting but don't really help much in this case.
-----Original Message----- Hi Tlange,
Integrate .NET and J2EE With Web Services http://www.ftponline.com/wss/2003_02...ne/features/rb onneau/ You may refer to Simon Guest's book, Microsoft .NET and
J2EEInteroperability Toolkit. http://www.amazon.com/exec/obidos/tg/detail/- /0735619220/qid=1069912792/sr=8-1/ref=sr_8_1/104-6176793-4170360?v=glance&n=507846
Regards, Peter Huang Microsoft Online Partner Support Get Secure! www.microsoft.com/security This posting is provided "as is" with no warranties and confers no rights.This response contains a reference to a third-party World Wide Web site.Microsoft is providing this information as a convenience to you. Microsoftdoes not control these sites and has not tested any software or informationfound on these sites; therefore, Microsoft cannot make any representationsregarding the quality, safety, or suitability of any software orinformation found there. There are inherent dangers in the use of anysoftware found on the Internet, and Microsoft cautions you to make surethat you completely understand the risk before retrieving any software fromthe Internet.
.
* "Jay B. Harlow [MVP - Outlook]" <Ja************@msn.com> scripsit: However! if the JAR contains executable code, then you cannot really use it, as its Java Byte Code, and you would need to load it in a JVM.
=> Java Byte Code is not useful.
SCNR
--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Hi TLange,
As Jay said, jar is an compress file, you can uncompress it, but if you
want to access the .class java byte code, I suggest you use the third-party
solution.
e.g. JNBRIDGE http://www.jnbridge.com/
OR
If the JAR is exposed with Web Service, You can call it with .NET: http://www.ftponline.com/wss/2003_02...ures/rbonneau/
If you have any concern on this issue, please post here.
Regards,
Peter Huang
Microsoft Online Partner Support
Get Secure! www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
This response contains a reference to a third-party World Wide Web site.
Microsoft is providing this information as a convenience to you. Microsoft
does not control these sites and has not tested any software or information
found on these sites; therefore, Microsoft cannot make any representations
regarding the quality, safety, or suitability of any software or
information found there. There are inherent dangers in the use of any
software found on the Internet, and Microsoft cautions you to make sure
that you completely understand the risk before retrieving any software from
the Internet.
Thanks for the help! Should be able to take it from here. -----Original Message----- Hi TLange,
As Jay said, jar is an compress file, you can uncompress
it, but if youwant to access the .class java byte code, I suggest you
use the third-partysolution. e.g. JNBRIDGE http://www.jnbridge.com/ OR If the JAR is exposed with Web Service, You can call it
with .NET:http://www.ftponline.com/wss/2003_02...ne/features/rb
onneau/ If you have any concern on this issue, please post here.
Regards, Peter Huang Microsoft Online Partner Support Get Secure! www.microsoft.com/security This posting is provided "as is" with no warranties and
confers no rights.This response contains a reference to a third-party
World Wide Web site.Microsoft is providing this information as a convenience
to you. Microsoftdoes not control these sites and has not tested any
software or informationfound on these sites; therefore, Microsoft cannot make
any representationsregarding the quality, safety, or suitability of any
software orinformation found there. There are inherent dangers in
the use of anysoftware found on the Internet, and Microsoft cautions
you to make surethat you completely understand the risk before
retrieving any software fromthe Internet.
. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Arie Zychlinski |
last post by:
I am thinking of using javascript as a tool to be used in a local PC (quick
development).
I would like to know if there is a way to read/write files from the local HD
(eg: read, write)
if not, is...
|
by: JP SIngh |
last post by:
Hi All
We have an ASP application which links to various word and excel documents
stored in a folder called attachments.
The documents are extermely confidential in nature and we would like...
|
by: Dummy |
last post by:
Hi,
From the following web site
http://docs.sun.com/source/816-6410-10/request.htm I have found how to
access the elements of an HTML form from server-side Javascript. Using the
"request"...
|
by: R. Readi |
last post by:
Is it possible in UNIX/BSD? Just to give inode instead of path name for
accessing files.
Thanks,
Rodrigo
|
by: Z0gS |
last post by:
I got this problem for the web application
I try to access files on a remote server. string dirs = Directory.GetDirectories(@"E:\vehicles")
E drive is a map to a network drive. I get the...
|
by: Joergen Bech |
last post by:
Fairly new to ASP.NET 1.1. Getting the error below when running
application on a web server outside of my control, but only the first
time I run it:
1. After a long period of inactivity (or...
|
by: Khalique |
last post by:
I have built a web service whose purpose is to copy files from a secure place
to client machine and vice versa. The problem I am having is perhaps related
to permissions and access rights.
For...
|
by: phil.stollery |
last post by:
Hi,
I've currently setup a local user as described in:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetsec/html/SecNetHT01.asp
This users has been created on the remote...
|
by: Joey |
last post by:
asp.net 2/C#/VS2005
I have a web app where I use a stream writer to create a CSV (text)
file. I then use my code to save the file in the site's 'App_Data'
folder, in a subfolder called 'Temp'....
|
by: FerrisUML |
last post by:
Im writing a small web application and what I'd like to do is open a
file, read the contents into memory and then close the file as fast as
I can to free up the file for the next user. Once the...
|
by: DolphinDB |
last post by:
Tired of spending countless mintues downsampling your data? Look no further!
In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: ArrayDB |
last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
|
by: PapaRatzi |
last post by:
Hello,
I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
|
by: CloudSolutions |
last post by:
Introduction:
For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
|
by: Defcon1945 |
last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
|
by: af34tf |
last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
|
by: Faith0G |
last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
| |