× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



john e wrote:
Joe,

Again, model 1 or 2, the servlet is a server program. It's not that you can simply start a servlet which then displays a page. The output of a servlet is always in response to an HTTP request.

In model 2 simply more of the application code (like what page to display next) resides on the server. But it's still client/server.

You said "the SUBMIT button on the JSP page returns to the calling servlet.". It does not return. A SUBMIT is a request. It is the beginning of a request-reponse cycle, not the end. The framework simply assures that the SUBMIT request is delegated to the same servlet that produced the page containing the SUBMIT.
By your definition, a function key on a 5250 is a request from the user. In JSP Model 2 there is no functional difference between what the browser does (display information from the host, allow user to enter data, and then hit a button) and what the 5250 does (display information from the host, allow user to enter data, and hit a function key).

Yes, the mechanics are different, and that's the disconnect between the two approaches. But in JSP Model 2, the browser acts as a slaved device to the host application that is functionally equivalent to the 5250. But since the request is coming back to the servlet in response to the page just displayed, the application architecture is sever/client.

If you disagree, that's cool. I'll just get out of the thread. I've been doing this for too long to fight about semantics.

Joe

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact copyright@midrange.com.

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.