• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How to change my client from JSP to Swing??

 
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello all,

I have made a chat application using jsp and servlets.. It is running smoothly..Now If i want to change my client side from jsp to swing.. then is it possible to do so by using the same servlets and the same class that are using by the servlet? Tell me the necessary steps to do the same..

Thank You,
Siddharth
 
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Take a look at the httpclient libraries at:
http://jakarta.apache.org/commons/httpclient.

With them, you should be able to make the same HTTP calls from your Swing app that you're currently making from the browser.

Instead of returning HTML, you may want to have your servlet stream some Java objects to the Swing app.
 
reply
    Bookmark Topic Watch Topic
  • New Topic