S
simon
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
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