• Post Reply Bookmark Topic Watch Topic
  • New Topic

swing  RSS feed

 
somaraju chilukamari
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • 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
 
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper
Posts: 4968
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • 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
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • 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.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66261
151
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • 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.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!