[Opensource] Swing Client
David Herron
davidh at 7gen.com
Mon Jan 27 08:41:22 PST 2003
A couple days ago I started reading up on STRUTS (so that I could start
actually using Expresso for something) and found this article in the
Tutorials section of the Struts web site
(http://jakarta.apache.org/struts/resources/tutorials.html):
Struts meets Swing (1)
http://javaboutique.internet.com/tutorials/Swing/
The article goes through converting a STRUTS web-application so that it
also can be used from a Swing client.
The overall mechanism is for the Swing client to use the HTTP protocol
(using the URL and URLConnection classes) to connect with the web
application, and to set a "user-agent" property which the
web-application recognizes ... when the SWING user-agent type is
present, the information is returned as XML rather than HTML, letting
the Swing user agent easily grope through the data for whatever it
wishes to display on the screen.
- David Herron
On Monday, Jan 27, 2003, at 03:42 US/Pacific, Manjaparairamakrishnan,
Prashanth (Cognizant) wrote:
> Hi Geniuses,
>
> Am a novice in the world of Java (just 2 years old). And want to have
> a small insight into how to go about doing the following.
> I have a requirement in which the client is a thick Java swing client.
> My App server is WebSphere 4.0.1 and since this is not a web-based
> client, I have difficulty in implementing session handlers for the
> application. Can some one tell me if Session and Session handlers can
> be implemented in Swing clients. If so, can you also provide a sample
> code of how I do it?
>
> Thanx in advance.
>
> Prashanth,
> If you can dream- and not make dreams your master,
> If you can think and not make thought your aim,
> If you can meet with Triumph and Disaster
> And treat those two impostors just the same...
>
> <InterScan_Disclaimer.txt>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/enriched
Size: 1804 bytes
Desc: not available
Url : http://mailman.jcorporate.com/pipermail/opensource/attachments/20030127/7c9830ed/attachment-0002.bin
More information about the Opensource
mailing list