|
Paul,An applet is just a java class that has been deployed via an HTML page reference. That makes it a "think client" in that the java classes are transferred to the local client machine (at least once). So the decision to create a java "applet" is just an implementation question, not a programming one. Theoretically any stand alone java program can be deployed via an applet.
As I understand it, VisualAge can generate java classes. You could reference that class from within the and HTML page with an applet tag. e.g.
<APPLET CODE=/AppletSubclass/.class WIDTH=/anInt/ HEIGHT=/anInt/> <PARAM NAME=/parameter1Name/ VALUE=/aValue/> <PARAM NAME=/parameter2Name/ VALUE=/anotherValue/> </APPLET>So, the issue about an applet is more of an implementation issue rather than something determined by using Visual Age.
At least that is my understanding. Pete Helgren P. Raulerson wrote:
Well, the applet is served off the same machine, but the user is somewhere else - off on the internet or whatever I suppose. I have considered using CGI, or even just distributing a thick client, but an Applet would be soeasy...-Paul-----Original Message----- From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Booth Martin Sent: Wednesday, December 06, 2006 8:19 PM To: RPG programming on the AS400 / iSeries Subject: Re: VisualAge RPG, Database Access, and Applets... If its on the same machine, does it have to be an applet? Why not a regular Windows program? It suggest that because the answer to your question is "Yes, but its not pretty" P. Raulerson wrote:Is it possible to create an applet from VARPG and have it access adatabase?If so, has anyone got an example they are willing to share? Needs toaccessa DB/2 UDB database running on the same Windows machine that is servingupthe applet. Help? Thanks -Paul-- --------------------------------- Booth Martin http://www.Martinvt.com --------------------------------- -- This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/rpg400-l or email: RPG400-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/rpg400-l.
As an Amazon Associate we earn from qualifying purchases.
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.