• Subject: Re: Virtual Terminal(VT) API
  • From: dawall@xxxxxxxxxx
  • Date: Thu, 3 Aug 2000 14:01:12 -0500

Another potential solution is Toolbox ProgramCall.  I realize it may still
take changes to the RPG program but is it possible to isolate the business
logic into one callable routine?  One caller of this routine is another RPG
program that outputs to the screen.  The other caller of this routine is
Toolbox ProgramCall (in a servlet) that outputs to a browser.  If program
changes are needed you may be down to breaking modules into separate pieces
(adding call/return logic) instead of  introducing new concepts such as a
user space.

David Wall
553-5329
AS/400 Toolbox for Java


"Venkatraman Iyer" <vliyer@hotmail.com> on 08/02/2000 02:22:46 PM

Please respond to JAVA400-L@midrange.com

To:   JAVA400-L@midrange.com
cc:
Subject:  Virtual Terminal(VT) API




Hi,
We are in the process to enable AS/400 applications (RPG/400 Programs) for
the web.
We want to use the  existing applications (for their business logic) and
change only presentation layer to web so that we can access the same
information from browser.

E.g. we have Item Inquiry program on as/400. It takes Item Number as input
and display Item Description (and few additional fields). We want to do the
same from the browser (building our logic around existing program).

Solution : At present we have changed our RPG program to check for the
request (whether it is from web or AS/400 Terminal). We have one flag say
with value "W" to represent request is from the web.

If the request is from the Web, we are writing the information retrieved to
user space (instead of display files), java programs are accessing user
space to retrieve and format the information for web.

We are not happy with this solution since it require change in existing
application and found out that there is something called "VT (Virtual
Terminal) API" which will avoid changing the existing applications.
and better solution.

We couldn't figure out how to make use of it??

Any suggestions/Documentation/Help..???


Thanks,

Venkat.


________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com

+---
| This is the JAVA/400 Mailing List!
| To submit a new message, send your mail to JAVA400-L@midrange.com.
| To subscribe to this list send email to JAVA400-L-SUB@midrange.com.
| To unsubscribe from this list send email to JAVA400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner: joe@zappie.net
+---



+---
| This is the JAVA/400 Mailing List!
| To submit a new message, send your mail to JAVA400-L@midrange.com.
| To subscribe to this list send email to JAVA400-L-SUB@midrange.com.
| To unsubscribe from this list send email to JAVA400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner: joe@zappie.net
+---

As an Amazon Associate we earn from qualifying purchases.

This thread ...


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

This mailing list archive is Copyright 1997-2022 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.