• 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

calling swing within a servlet

 
Greenhorn
Posts: 12
Tomcat Server Chrome Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
will any one please tell me how i call swing within a servlet....
i wants to invoke swing from web server,
....
 
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
You don't. What would be the point? The Swing components can't appear in the browser, so why would you want to use Swing?
 
Rahul Chhangani
Greenhorn
Posts: 12
Tomcat Server Chrome Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
m designing such a software where i need to implement swing, but what i need is that to implement that software serverside, so want to use other rich components of various other languages, so i want to implement all with swing.
 
Bear Bibeault
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
Then what do you need servlets for? You're not making a whole lot of sense.
 
Rahul Chhangani
Greenhorn
Posts: 12
Tomcat Server Chrome Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
servlet implement server side functionality as, database access, insert or any query
and i wants that if swing implemented with servlet then the app access remotely via web browser
 
Bear Bibeault
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

Rahul Chhangani wrote:servlet implement server side functionality as, database access, insert or any query


You don't need servlets to access a DB -- your Swing app can do that via JDBC or any JPA implementation.

and i wants that if swing implemented with servlet then the app access remotely via web browser


You can't mix Swing and servlets. If you want your swing app to be easily downloaded via the web, that's the job of Java Web Start, not servlets.
 
Rahul Chhangani
Greenhorn
Posts: 12
Tomcat Server Chrome Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
ok, thanks...Java Web Start is good solution,
as google, it' is nearest to my requirements...
i'll try this...
reply
    Bookmark Topic Watch Topic
  • New Topic