hello,
may have a need shortly to call a java class from a vb.net web app.
basically the java class would serve as an email creation/sending
function.
i realize this all could be done in .net, but i'm just curious as to
what needs to be set up to make a call such as this.
i realize you can call a java function from sql server and was
wondering if wrapping the call to java from a proc would be an easy
way to go. preferably i'd like to make the call directly from a vb
class
searching the web for this topic did not turn up much information
"call java from vb.net"
did find this response from one site regarding ASP calling Java:
the only way you could call a java object is if it is compiled to a
class and resides in C:<Windows>\Java\Trustlib.
Then you can do :
set javaObject = GetObject("java:YourClass")
strResult = javaObject.YourMethod()
Response.Write(strResult)
set javaObject = nothing
also found where you can purchase a 3rd party tool, JNBridge - but
looking for a free coding solution, not purchased.
the java classes i would end up calling would only be returning a
value of success or fail, everything else would be handled in the java
class and database.
thoughts on this topic would be appreciated, as always! thanks 4 12883
simon,
One option is to make the Java class a web service.
Kerry Moorman
"simon" wrote: hello, may have a need shortly to call a java class from a vb.net web app. basically the java class would serve as an email creation/sending function. i realize this all could be done in .net, but i'm just curious as to what needs to be set up to make a call such as this. i realize you can call a java function from sql server and was wondering if wrapping the call to java from a proc would be an easy way to go. preferably i'd like to make the call directly from a vb class
searching the web for this topic did not turn up much information "call java from vb.net"
did find this response from one site regarding ASP calling Java: the only way you could call a java object is if it is compiled to a class and resides in C:<Windows>\Java\Trustlib.
Then you can do :
set javaObject = GetObject("java:YourClass") strResult = javaObject.YourMethod() Response.Write(strResult) set javaObject = nothing
also found where you can purchase a 3rd party tool, JNBridge - but looking for a free coding solution, not purchased.
the java classes i would end up calling would only be returning a value of success or fail, everything else would be handled in the java class and database.
thoughts on this topic would be appreciated, as always! thanks
thanks for the reply. i will definitely look into this configuration.
was also very curious if there was a way directly call it
thanks simon, One option is to make the Java class a web service. Kerry Moorman
"simon" wrote: hello, may have a need shortly to call a java class from a vb.net web app. basically the java class would serve as an email creation/sending function.
I'm wondering if the class could be re-writen as a J# class.
?
Steve
"simon" <me@here.com> wrote in message
news:lv********************************@4ax.com... hello, may have a need shortly to call a java class from a vb.net web app. basically the java class would serve as an email creation/sending function. i realize this all could be done in .net, but i'm just curious as to what needs to be set up to make a call such as this. i realize you can call a java function from sql server and was wondering if wrapping the call to java from a proc would be an easy way to go. preferably i'd like to make the call directly from a vb class
searching the web for this topic did not turn up much information "call java from vb.net"
did find this response from one site regarding ASP calling Java: the only way you could call a java object is if it is compiled to a class and resides in C:<Windows>\Java\Trustlib.
Then you can do :
set javaObject = GetObject("java:YourClass") strResult = javaObject.YourMethod() Response.Write(strResult) set javaObject = nothing
also found where you can purchase a 3rd party tool, JNBridge - but looking for a free coding solution, not purchased.
the java classes i would end up calling would only be returning a value of success or fail, everything else would be handled in the java class and database.
thoughts on this topic would be appreciated, as always! thanks This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Raja |
last post by:
I have a java class thats trying to call something in python. This
works fine when i do a jythonc on the python script.
When i call another python script from the __init__ of my called
python...
|
by: Rajesh |
last post by:
Hi,
I am using iplanet webserver 4.1. I want to call a java class from
ssjs file. But I am not getting the result. I have created a java class
file and put it in the folder...
|
by: Klaus Friese |
last post by:
Hi,
i'm currently working on a plugin for Adobe InDesign and i have some
problems with that. I'm not really a c++ guru, maybe somebody here has
an idea how to solve this.
The plugin is...
|
by: claus.hirth |
last post by:
If I create the function HELLO in schema S01 as follows,
@
CREATE FUNCTION S01.HELLO()
RETURNS VARCHAR(32)
EXTERNAL NAME 'UDFSRVXYZ!sayHelloWorld'
LANGUAGE JAVA
PARAMETER STYLE DB2GENERAL
NO...
|
by: Christian Wilhelm |
last post by:
Hi!
I'm trying to call a Java WebService out of a .net Client. There are two
Methods, one Method requires one Parameter of type Parameter, the other
Method requires one Parameter of type...
|
by: Jerome Cohen |
last post by:
AI am trying to call a third-party web service. this service expects an XML
fragment that contains the request plus other parameter. adding the web
reference created the syntax below(reference.vb)....
|
by: ramasubramanian.rahul |
last post by:
hi
i am trying to call some java APIs from c . i use the standatd JNI
calls to load the JVM from a c program and call all java functions by
using a pointer to the jvm which was returned by the JNI...
|
by: Janna |
last post by:
I have the Java JVM installes on my server.
I uncommented
extension=php_java.dll
in php.ini
I uncommented and proerpyl filled out the section in php.ini:
java.class.path...
|
by: Dan |
last post by:
Hi All,
I've got a problem with my C++ application that calls a Java class
that I've built with GCJ, I can't run it because I get errors:
multiple definition of `atexit'
first defined here...
|
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: Vimpel783 |
last post by:
Hello!
Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
|
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: Defcon1945 |
last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
|
by: Shællîpôpï 09 |
last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
|
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...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
| |