[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: swing talking to servlets...
6 months ago, httpclient from apache did not work for me. I used
http://www.innovation.ch/java/HTTPClient/ which worked great (for http and
https). I might still have the code snipped as repards to applet->servlet.
Let me know if you need it.
-george
----- Original Message -----
From: "Jason Chambers" <tooger@bellsouth.net>
To: "Ed Jenkins" <andexor@yahoo.com>; "Paul Callahan" <callapm@yahoo.com>;
"Lee Chalupa" <lchalupa@seelink.org>; "Ajug Members"
<ajug-members@www.ajug.org>
Sent: Saturday, July 19, 2003 11:02 AM
Subject: Re: swing talking to servlets...
> Try this
>
> http://jakarta.apache.org/commons/httpclient/index.html
>
> At 06:38 PM 7/17/2003 -0700, Ed Jenkins wrote:
> >Try HttpUnit or ServletUnit.
> >
> >http://httpunit.sourceforge.net/
> >http://httpunit.sourceforge.net/doc/servletunit-intro.html
> >
> >Ed
> >
> >--- Paul Callahan <callapm@yahoo.com> wrote:
> > > Its not really that complicated. Did this for a
> > > high-volume app a couple years back.
> > >
> > > One of the things that you will need to determine
> > > however, is the communication protocol from Servlet to
> > > thick client. Previously I developed a rich Java
> > > AWT-based app which communicated to a servlet via
> > > HTTP. We chose HTTP b/c our client could consitently
> > > poll the servlet (or a suite of servlets for that
> > > matter) on a regular basis as well as make specific
> > > requests. Another option is to use a TCP/IP
> > > sockets-based connection. This has its advantages,
> > > but if you have a lot of clients, it might not the be
> > > the way to go (plus there are firewall issues).
> > >
> > > Finally, you can go a little more heavyweight and use
> > > an RMI or Web Service based soln... A little more
> > > work from a communications standpoint, but it could
> > > pay dividends later when you want to expose that
> > > business functionality to another backend process or
> > > client.
> > >
> > > Hit me back if you have some more specific
> > > questions... In addition, I would suggest google'ing:
> > >
> > > "applet servlet communication"
> > >
> > > That should bring you back a ton of articles to check
> > > out.
> > >
> > > Thanks,
> > > Paul Callahan
> > >
> > > --- Lee Chalupa <lchalupa@seelink.org> wrote:
> > > > Hello:
> > > >
> > > > An application I am working on needs rich client gui
> > > > features and also
> > > > needs to talk
> > > > to servlets. Something like a swing gui running in a
> > > > browser that talks to
> > > > servlets.
> > > >
> > > > Any suggestions about the best way to do this?
> > > >
> > > > What references do you recommend?
> > > >
> > > > Thanks
> > > >
> > > > lee
> > > >
> > > >
> > >
> >
> >
> >__________________________________
> >Do you Yahoo!?
> >SBC Yahoo! DSL - Now only $29.95 per month!
> >http://sbc.yahoo.com
>
>