Re: Between C++ and web server
- From: IchBin <weconsul@xxxxxxx>
- Date: Tue, 20 Feb 2007 15:30:55 -0500
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?You want to search for JNI, "Java Native Interface".
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.
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-)
.
- Follow-Ups:
- Re: Between C++ and web server
- From: Carey Carlan
- Re: Between C++ and web server
- References:
- Between C++ and web server
- From: Carey Carlan
- Re: Between C++ and web server
- From: IchBin
- Re: Between C++ and web server
- From: Carey Carlan
- Between C++ and web server
- Prev by Date: Re: Between C++ and web server
- Next by Date: Re: Between C++ and web server
- Previous by thread: Re: Between C++ and web server
- Next by thread: Re: Between C++ and web server
- Index(es):
Relevant Pages
|
|