CPPSERV
Encyclopedia
CPPSERV is C++ Servlet Engine. It provides Servlet-like API to C++
C++
C++ is a statically typed, free-form, multi-paradigm, compiled, general-purpose programming language. It is regarded as an intermediate-level language, as it comprises a combination of both high-level and low-level language features. It was developed by Bjarne Stroustrup starting in 1979 at Bell...

 programmers. This allows them to write small, extremely efficient web applications, with an ease that was only available to Java programmers. At the same time it provides greatest flexibility - since one can use any of the C and C++ libraries, which still outnumber anything available to other languages.

CPPSERV does not provide exactly the same API as Sun's Java Servlet API, but tries to follow its philosophy instead. E.g. ServletRequest::getOutputStream returns std::ostream-derived object, which does not provide print and println functions.

CPPSERV also contains CSP (C++ Server Pages) parser. This allows for JSP
JavaServer Pages
JavaServer Pages is a Java technology that helps software developers serve dynamically generated web pages based on HTML, XML, or other document types...

-like functionality, although in case of CPPSERV, CSPs are not compiled at run time, but have to be pre-compiled
at application deployment time instead. The parser was imported from CXXSP project, which is similar in goals and has very similar public API, but uses different approach to implementation. While CPPSERV is a separate process with front-end web servers talking to it through socket, CXXSP is a purely Apache
Apache
Apache is the collective term for several culturally related groups of Native Americans in the United States originally from the Southwest United States. These indigenous peoples of North America speak a Southern Athabaskan language, which is related linguistically to the languages of Athabaskan...

module.

External links

The source of this article is wikipedia, the free encyclopedia.  The text of this article is licensed under the GFDL.
 
x
OK