TKN Logo SelfSoft Logo

Total Knowledge

SelfSoft, Inc.

CPPSERV

CPPSERV logo

[CPPSERV] [Documentation] [Download] [TODO] [Contact] [Bug tracker] [News] [RSS Feed] [gitweb]

For API details, take a look at DoxyGen-generated API documentation. It is built nightly from master git tree sources.

Check out quick install instructions from our SourceForge.net space.

Writing servlets

Once you got servlet engine installed, writing servlets is fairly easy.

Writing C++ Server Pages

CSP is a mixture of C++ code and mark-up language (i.e. HTML, XHTML, XML - whatever you like), that is translated into pure C++ code, and then compiled into CPPSERV servlet, just like any other.

Steps to get your CSP page going are simple:

CSP based store application from samples package contains a script and set of good Makefile rules to generate servlets and CPPSERV config file from CSP's.

Web server <-> application server communication

Communication protocol between web server and application server is fairly simple:

Note: engine and servlet need to be compiled by same GCC version.
Note: written and tested with GCC-3.3.x, and probably will not work with anything earlier then 3.x. Test results are welcome though.

You are visitor # 44231 since Apr 15, 2005.

SourceForge.net Logo

Authoright © Total Knowledge: 2001-2004