I have an application, which needs to be rewritten into a webservice.
The application is in C++, and my background is writing stuff for IIS
in C++ and microsoft's javascript, but my intended customers are not
going to pay for IIS, and many of them would not know how to manage
IIS, though it is a lot easier than managing apache.
So I guess I should write the logon and user interface in JSP under
Tomcat/Jakarta, (which I have never used before) but I need to
interface this to the C++ code which manages the business objects,
much of the database work, and does the heavy bit bashing.
Trouble is, real Java, unlike Microsoft's Java, does not play well
with others.
I could perhaps make the C++ code a service, that accepts XML
requests, and makes XML replies, and have the java figure out the XML,
and I could also have them communicate in part through the database.
What would be the best way to mix java code and C code in a web
service?
Using mod_jk2, one can have some web pages served up by Java, and some
web pages served up by whatever one pleases, but trouble is what I
want is to have some web pages served up partly by java and partly by
C++
I notice no one ever writes a web service in C++, as an apache module,
though some people, myself among them, have written web services
largely as IIS Isapi modules. Why this non use of C++?
Or I could perhaps write the web service in Perl, using mod_perl,
which does play well with C++ 1 2449
JNI (Java Native Interface) is standard part of Java to talk with C/C++.
It works and you just need to writwe a wrapper.
Thomas
"James A. Donald" <ja****@echeque.com> wrote in message
news:96**************************@posting.google.c om... I have an application, which needs to be rewritten into a webservice.
The application is in C++, and my background is writing stuff for IIS in C++ and microsoft's javascript, but my intended customers are not going to pay for IIS, and many of them would not know how to manage IIS, though it is a lot easier than managing apache.
So I guess I should write the logon and user interface in JSP under Tomcat/Jakarta, (which I have never used before) but I need to interface this to the C++ code which manages the business objects, much of the database work, and does the heavy bit bashing.
Trouble is, real Java, unlike Microsoft's Java, does not play well with others.
I could perhaps make the C++ code a service, that accepts XML requests, and makes XML replies, and have the java figure out the XML, and I could also have them communicate in part through the database.
What would be the best way to mix java code and C code in a web service?
Using mod_jk2, one can have some web pages served up by Java, and some web pages served up by whatever one pleases, but trouble is what I want is to have some web pages served up partly by java and partly by C++
I notice no one ever writes a web service in C++, as an apache module, though some people, myself among them, have written web services largely as IIS Isapi modules. Why this non use of C++?
Or I could perhaps write the web service in Perl, using mod_perl, which does play well with C++ This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: DraguVaso |
last post by:
Hi,
I'm new to WebServices, and I'm doing some tests (with a small
VB.NET-application) to know the performance-difference between a WebService
and the 'normal'-way of getting data (just...
|
by: Jose Fernandez |
last post by:
Hello.
I'm building a web service and I get this error.
NEWS.News.CoverNews(string)': not all code paths return a value
This is the WebMethod
public SqlDataReader CoverNews(string Sport)...
|
by: Miguel |
last post by:
Hi,
I'm developing an application in C# with Windows Forms for my company
that is similar to the MSN Messenger. This application uses a
webservice for registering users, etc... and as 2...
|
by: Alessandro Benedetti |
last post by:
Hi. I'm calling two methods of a .NET Webservice (A) from another Webservice
(B).
The A Webservice is made like this:
public class WSA: System.Web.Services.WebService
{
private int X = 0;
|
by: |
last post by:
Hi,
How long do webservice objects live for? In particular, if i have static
variables filled with data from a static constructor in a webservice, how
long will that data persist?
thxs
|
by: nano2k |
last post by:
Hi
I develop a client/server application using webservices.
So, I have a client app and a webservice that responds to client app
requests - nothin' new.
In certain circumstances (namely, when...
|
by: Robert Iver |
last post by:
Hello fellow developers,
I'm hoping someone out there can steer me down the right path
with this little conundrum I have, because I am getting frustrated more
and more by the minute. I have a...
|
by: Jens Jensen |
last post by:
Hello all,
I need some design advice for my web service.
I' have written a web service that exposes a function that takes some
parameters
and return an xml.
|
by: =?Utf-8?B?TWFuaQ==?= |
last post by:
Hi All,
Problem in deploying my WebService developed using Asp.net WebServices 2005.
I have designed simple WebService using Asp.net Webservices 2.0 , The
webservice look this ,
using System;...
|
by: =?Utf-8?B?QmlsbEF0V29yaw==?= |
last post by:
Hi,
We recently converted a 1.1 project to 2.0 and this included a webservice
which accepted XML for one of the parameters. Since converting to 2.0 I am
getting the following message:
---
A...
|
by: MeoLessi9 |
last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
|
by: DolphinDB |
last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation.
Take...
|
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: Aftab Ahmad |
last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below.
Dim IE As Object
Set IE =...
|
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: marcoviolo |
last post by:
Dear all,
I would like to implement on my worksheet an vlookup dynamic , that consider a change of pivot excel via win32com, from an external excel (without open it) and save the new file into a...
|
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...
| |