Re: Between C++ and web server



Carey Carlan wrote:
IchBin <weconsul@xxxxxxx> wrote in
news:GpGdnVGiu45QqUbYnZ2dnUVZ_hisnZ2d@xxxxxxx:

Carey Carlan wrote:
Can the bright minds here point me to the java tools best suited to interfacing a C++ library with the widest range of web servers?

Fundamental question from a Java newbie. I'm about to start a web
app with the business logic contained in a C++ DLL (could be a COM
object if necessary). It must be compiled to protect the
intellectual property within. My research to date indicates that
java is both portable and powerful enough to manage my library if I
can talk to enough servers.

I'll need to host this C++ code on the client's web server, be that
Apache, IIS, or the next new flavor of the month. I'm hoping for
many clients with many different web servers.

Do web servers have a common, standard java interface? Do all web
servers except IE share an interface?

Is Java the best interface for this application?

Book and web page references are welcome.
You want to search for JNI, "Java Native Interface".

A simple Google for say "Java JNI Tutorials" would return a lot of references. Like:

http://java.sun.com/developer/onlineTraining/Programming/JDCBook/jni.ht
ml

Thank you, that is very helpful in connecting the C++ library to java. I've marked it and will use that information. Knowing what to look for is half the battle.

However, the question is: Is there a common interface between java and the web servers of the world? If I create an HTTP request to a Java class from my browser via IIS or Apache, is the java side of that call identical in both cases? How does the server invoke java? Are the parameters identical?

Is there another acronym I can research for the server -> java interface?

Sorry... Look at JSP, Servlets and maybe Tomcat. Not sure if you already have a server. A lot of other people use apache in front of Tomcat which run JSP and Servlets for security and performance.

A lot of people may watch this newsgroup but it maybe better if you post to either:

comp.lang.java.help
comp.lang.java.programmer

You may bet more specific responses than mine, sorry.

--
Thanks in Advance... http://weconsultants.prophp.org
IchBin, Pocono Lake, Pa, USA http://ichbinquotations.awardspace.com
______________________________________________________________________
'If there is one, Knowledge is the "Fountain of Youth"'
-William E. Taylor, Regular Guy (1952-)
.



Relevant Pages

  • Re: Between C++ and web server
    ... Fundamental question from a Java newbie. ... many clients with many different web servers. ... Do web servers have a common, standard java interface? ...
    (comp.lang.java)
  • Re: Between C++ and web server
    ... Fundamental question from a Java newbie. ... many clients with many different web servers. ... Do web servers have a common, standard java interface? ...
    (comp.lang.java)
  • Re: Between C++ and web server
    ... My research to date indicates that java is both portable and powerful enough to manage my library if I can talk to enough servers. ... I'm hoping for many clients with many different web servers. ... Do all web servers except IE share an interface? ... A simple Google for say "Java JNI Tutorials" would return a lot of references. ...
    (comp.lang.java)
  • Between C++ and web server
    ... interfacing a C++ library with the widest range of web servers? ... Fundamental question from a Java newbie. ... Do web servers have a common, standard java interface? ...
    (comp.lang.java)
  • Re: Darkroom software Help
    ... Apple's computer operating system OS-X includes the Java ... programing language, compiler, and integration software. ... have an Apple this fall. ... Said that, my system is based on a commercial lab interface, the ...
    (rec.photo.darkroom)