CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums
Results 1 to 2 of 2
  1. #1
    Join Date
    Jun 2022
    Urbana, Illinios

    Question Life cycle of a GWAN servlet

    To store a database, I'm using C servlets and Kyoto cabinet.

    My question is, how does G-wan communicate with servlets?

    In comparison to java servlets, they have an init and service destruct life cycle. How does gwan work?
    int main(int argc, char *argv[])
       KCDB *db = kcdbnew();
       if(!kcdbopen(db, "casket.kch",KCOREADER)) {
       fprintf(stderr, "open error: %s\n", kcecodename(kcdbecode(db)));
    Is it feasible to first establish a database connection and then share it with many web requests?

    Scaler Topics
    Last edited by Nathan D; July 14th, 2022 at 01:14 AM.

  2. #2
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Hanover Germany

    Re: Life cycle of a GWAN servlet

    Is your post just a copy/paste from ?
    Victor Nijegorodov

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Click Here to Expand Forum to Full Width