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++
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++
Comment