obiwan (27 Dec, 2006 19:15):
Nice work El Vato. Can you be more specific about what you did? Most of us don't know in what language this toolkit is in, so, e.g., it isn't clear what it means to have compiled them in OS/2. Is this of benefit for doing web development on an OS/2 workstation, or for apps running on an OS/2 web server, or both?
[...]
Since you were interested in this new technology on the OS/2, I am providing here a link to some instructions that I created as my time permited.
Here anybody will find the methodology that I used to accomplish the procedure. Although the approach may be insignificant when measured by the standards of real Linux hackers, there was a reason for my being so detailed with trivialities.
But even though the instructions are designed for someone who is not quite familiar with EMX and Unix/Linux utilities to make the Google Web Toolkit turn Java code into the Ajax Web technology, those simply represent the first half of the...tutorial --if I may call it like that. This is simply the Hello OS2World early baby steps.
Although I could as well have used the WinXX version of the GWT to accomplish the little application, I will not be stuffing any more users into the MS cave of ignorance. The latter is based on my perception of many around who are quite familiar with the predator of the OS/2 --and even enjoy its presence-- but turn away their noses at the Penguin.
Hence, for the second part of this demo, we will be creating a little but interesting application that I found at the IBM DeveloperWorks site. We note, however, that the application was written in mid 2006, and we need to modiy a couple of directives to make it compile with the Java Ant build tool completely under the OS/2 (thanks to Richard Stallman's Free Software Foundation (and GCD)!).
The interesting thing about this DeveloperWorks application is that it runs in an application server as a *.war file. And even though we may deploy it on WebSphere Application Server Community Edition, the author actually bundled a Jetty (Java) application server in the downloadable code.
Hence, the *war file is built with the aid of an XML file and Ant on OS/2 --quite cool!
Once a user points his/her browser to the public (html) interface of the application, and subsequently enters his/her zip code, the application will communicate with the Yahoo! api and return the weather forecast for the appropriate zip area.
On the other hand, if your application were not running on an Java application server at all, you would only get the static client portion similar to the Hello application that I discussed initially. The error that you see there is because the application calls for help and no one answers. How reminiscent of OS/2!!!
Cheers
!
obiwan (27 Dec, 2006 19:15):
Violence against Nazism brought peace to the world where it was not.
What peace are you talking about? Violence only generates more of the same --those who were oppressed before now have become oppressors themselves-- this vicious cycle has to stop if humanity is to have a future.