|
Shailu, I have attached the document that you requested, I apologize for the delay. After you read the attachment, if you have any feedback or questions please feel free to e-mail me. I am trying to get the document as clean and tight as I can before I send it out to our AS/400 customers who have requested it. Thanks, Richard -----Original Message----- From: owner-java400-l@midrange.com [mailto:owner-java400-l@midrange.com]On Behalf Of Shailaja Rao Sent: Thursday, February 10, 2000 7:01 PM To: JAVA400-L@midrange.com Subject: RE: Java on AS/400 I would like have some information about the awt on AS/400, could mind sending it me? Thanks Shailu "Richard Dean" <rddean@gdi.net>@midrange.com on 02/10/2000 11:56:12 AM Please respond to JAVA400-L@midrange.com Sent by: owner-java400-l@midrange.com To: <JAVA400-L@midrange.com> cc: Subject: RE: Java on AS/400 Hi Jay, You can not run a Java program on the AS/400 that access the Awt or Swing classes. If you want to use those classes you will have to write an application or an applet that will run on your PC, and then have it access the as/400 data. If this throws you for a loop, send me an e-mail(rddean@gdi.net) and I will e-mail you some of the stuff that I collected when I was getting going (mostly helpful discussions from this list) which explains applications, applets, and servlets; and how they relate to Java on the 400. Good luck, Richard -----Original Message----- From: owner-java400-l@midrange.com [mailto:owner-java400-l@midrange.com]On Behalf Of * Jay.D. Fernando * Sent: Thursday, February 10, 2000 10:46 AM To: JAVA400-L@midrange.com Subject: Java on AS/400 Hi Folks, Is there anybody working with Java on AS/400....I need to know how to use JAVA SWING class's on the AS/400.....our version of OS/400 is V4R3...we guys have just now loaded AS/400 Developer Kit for Java....checked out some simple pgms...they are working fine...but cant use AWT or SWING either....can anybody enlighten me on this issue. Thanks Jay ______________________________________________________ Get Your Private, Free Email 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 +--- +--- | 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 +---
Applications vs. Applets vs. Servlets ----------------------------------- Date : 02/18/2000 Contact: Richard Dean (rddean@gdi.net) (Please note this document is a quick guide. It is only intended to give you a quick understanding of the 3 models. If you need more detail or clarification please feel free to e-mail me.) I created this document to help the I.T. staff of our customers get a better understanding of the three major models available to leverage Java and their AS/400. General Definitions: APPLICATION - A Java application is like any program written with any other language. If you have ever written a COBOL, RPG, or CL program on the AS/400 then you have written what would be considered an application. The confusion that comes up with applications is how does the AS/400 handle the GUI objects of the application. A simple application written on your PC that prints out your name and address, can be easily run on your AS/400. The problem comes when you write an application on your PC that uses the AWT/Swing classes for a GUI interface, and then you want to run it on your AS/400. The AS/400 can not run applications that use these GUI classes (though there is something called remote AWT that allows you to run the application on the AS/400 and transmit the GUI objects to a PC client program for display, but it may be to slow for production). If you write a Java application that has a GUI interface then you will have to run the application on your PC (or some other client) and access the AS/400 data over the network. If you write an application that does not need a GUI interface (i.e. A report that prints AS/400 data), then you have the option to run the application on your PC or directly on the AS/400. APPLETS - In simple terms an applet is a Java application that runs on the PC through your browser. The applet has full access to the GUI classes. Since applets automatically download onto the PC and run, it can give you an advantage over applications. If you change the applet, the next time the user goes to access the applet the browser will automatically pull down an updated copy of the program before running it. The time required to download an applet and the type of users you have will determine if this is a good fit for you. SERVLETS - Servlets are Java programs that are called through HTML and Web pages. Servlets allow you to receive input from a user through a web page, then based on that input access/manipulate AS/400 data and return it to the user's browser with HTML (The WebSphere product allows the servlet to interface with the user through the HTTP server). A servlet runs on the AS/400, and interacts with the user through the web browser. This is very beneficial since all that is required for the user to use the system is a web browser. Since the servlet runs on the AS/400 there is no downloading of programs required, all the user receives is HTML (Web Pages). Now that you know something about the three different models, what is the best option for you and your AS/400? The servlet is very intriguing for business, since everything can be controlled from the host machine (in our case the AS/400). All that is required of the user to use your system is that they have a browser loaded on their PC. The traffic over the network is minimal since all transactions between user and machine are through HTML (web pages). If HTML does not give you the interface that you require or you require graphic intensive programs, then applications or applets that run on your PC may be the best bet. The decision on which model is best may depend on the project. Many sites use all three models in their shop. Picking the best model may be driven by the requirements of the current project. Most of our customers need the ability to leverage their existing skill set on the AS/400 and take advantage of the Web. With Java you can give the users the GUI interface and the Web access that they want, and still use your existing COBOL, RPG, and CL programs to process that data on the back-end.
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.