[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
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