× 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.



Nice.

Don't suppose you have any samples of this in action I could use to work into a technical presentation.

I will change the names to protect the innocent.

Regards,

Richard Schoen
Director of Document Management
e. richard.schoen@xxxxxxxxxxxxxxx
p. 952.486.6802
w. helpsystems.com
------------------------------

message: 3
date: Mon, 26 Feb 2018 09:48:05 +0000
from: Tim Fathers <X700-IX2J@xxxxxxxxxxx>
subject: Re: [WEB400] [EXTERNAL] Re: Express, React, Node.JS

...our solution is to have a thin Java layer running under Tomcat on the IBM i which exposes SQL stored procedures in a sort of RESTful way, so that you can execute them by POSTing to a URL like this:
http://myibmi-d:8080/webspi/sp/default/SP_QryMthInvSts<http://ger400-d:8080/webspi/sp/default/W222_SP_QryMthInvSts> where (SP_QryMthInvSts is the stored procedure) with a JSON payload as the parameters: {"inputParms":{"YYYYMM_":201802,"STATUSFILTERS_":"!,W,U,N,D","PAGE_NUM_":1,"PAGE_SIZE_":20}}. The results sets are returned as a JSON object which always has the same structure regardless of which procedure was called. All of the business logic is written using SQL or RPG exposed as stored procedures which means people don't have to learn a new language or rewrite swathes of existing code in something new.

For the front-end we use Angular to create single-page web applications, which simply execute the stored procedures on the back-end and process the returned result sets to do their work.

Tim.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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 [javascript protected email address].

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