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>\Jav a\Trustlib.
Then you can do :
set javaObject = GetObject("java :YourClass")
strResult = javaObject.Your Method()
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 12947
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>\Jav a\Trustlib.
Then you can do :
set javaObject = GetObject("java :YourClass") strResult = javaObject.Your Method() 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.c om... 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>\Jav a\Trustlib.
Then you can do :
set javaObject = GetObject("java :YourClass") strResult = javaObject.Your Method() 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 script, things go bad.i get this message
AttributeError: class 'configuration' has no attribute
'configuration'
when calling the constructor.
This is my python script thats called by the java class
testconfig.py
=============
|
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 <Server>\Netscape\Server4\bin\https\jar
folder. But I am not sure whether it is the right location to put the
class file. Also I would like to know how to put the class file in jar
format. The Java file and the ssjs file code given below.
Java part
package pdfbase;
|
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 written in C++ and it's calling a java application. This
application displays a window and pushing a button is calling back the
c++-plugin again.
|
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 SQL
DETERMINISTIC
|
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 Parameter.
I can call the first Method without Problems, the Parameter can be
deserialized by the WebService.
But if I want to call the second Method and give it an Array of Parameters,
then the following exception is thrown by the WebService:...
| |
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).
I changed the data type for the structure that contains the XML data from
the default "String" to "xml.xmldocument" to enable easy filling of the
data.
my client code creates an XML document class, fills the data using standard
xml dom...
|
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 call
the source code is given below and also the errors ..
Plz help in resolving these.
This is a code being (slightly modified ) which was downloaded from SUN
website :
|
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 ="C:\InstantRails\php\extensions\php_java.jar;C:\JavaSources\MyStuff"
java.home = "C:\Program Files\Java\jdk1.5.0_10;C:\Program Files\Java\jre1.5.0_10\lib"
|
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
multiple definition of `_onexit'
first defined here
multiple definition of `__do_sjlj_init'
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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...
| |
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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...
|
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...
|
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...
|
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
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
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...
| |