Job start is an expensive operation. How do you maintain an acceptable response time, or do your menu clicks just take a very long time. Some web sites do, I am just wondering.
Mark Murphy
Atlas Data Systems
mmurphy@xxxxxxxxxxxxxxx
-----Nathan Andelin <nandelin@xxxxxxxxx> wrote: -----
To: "Web Enabling the IBM i (AS/400 and iSeries)" <web400@xxxxxxxxxxxx>
From: Nathan Andelin <nandelin@xxxxxxxxx>
Date: 12/30/2016 11:54AM
Subject: Re: [WEB400] In-house authentication & authorization
By dispatcher I mean an app whose sole purpose is to spawn processes for
new incoming requests.
Okay. That's how the IBM i HTTP CGI interface works. The main HTTP process
may spawn additional CGI JOBs to handle new incoming requests, or
alternatively pass requests to idle JOB instances.
But the scenario I posed, was referring to a web portal program, which
submits new JOBs when users click on menu items, and using an HTTP plug-in
to "route" requests to them. End-user state is maintained in each JOB. This
is somewhat similar to persistent CGI. Except users have control over
starting and ending JOBs. Menu item click starts the JOB, while an "Exit"
link ends the JOB and returns users to a menu.
Big questions:
1. What server language/framework are using?
2. How do get user requests to their personal job?
Our web portal and framework is delineated at:
http://www.relational-data.com/content/portal/
Our server language is ILE RPG. If you'd like to see a demo, please contact
me off-list.
As an Amazon Associate we earn from qualifying purchases.