• 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

swing

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i want to develop a web application.. for this, i want to use swing to get the beatiful look.. i got a problem with servlets, that is how can i access the values from swing objects in servlets.. with html we use HttpServletRequest ,,, then how with swings.. is it possible to use swing + servlets in a web application
 
author and cow tipper
Posts: 5009
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have seen some amazing things, where portlets (similar to Servlets) deliver content with Swing applets, running on the portlet. Indeed, data from a Swing component running within an applet communicates with a much larger framework, BUT, it was a very home grown solution that required a great deal of infrastructure development. It ends up becoming a framework on its own.

I think integrating a Swing applet with the Servlet and JSP API on your own would be a fairly daunting task.

You may want to re-evaluate the various Servlet frameworks. Sure, Servlets and JSPs aren't perfect, but with JSF and Struts, many, and I mean millions, have been delivered very robust and effective web based applications. Surely your requirements aren't so unique that the Servlet and JSP API couldn't suffice?

-Cameron McKenzie
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The only way to use Swing in a web app is as part of an applet (or JApplet, to be more precise). That would run on the client side in the browser, not on the server side, so there's not really a fine-grained integration.
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
As this has nothing to do with JSF, it's been moved to the Applets forum which seems the best match.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic