• 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

when do we use swings

 
Ranch Hand
Posts: 199
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
when do we go for swings instead of any other Gui technology say Jsp for that matter ???
 
Ranch Hand
Posts: 2596
Android Firefox Browser Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Gunjan Malhotra:
when do we go for swings instead of any other Gui technology say Jsp for that matter ???


JSP is a server side technolog, Swing is client-side.
Perhaps, you meant sth else...
- Manish
 
Pratibha Malhotra
Ranch Hand
Posts: 199
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I know that swings has extra components, but do we go for swings in case of a simple form.
is swings more safer than html + jsp.
 
Ranch Hand
Posts: 283
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Gunjan Malhotra:
I know that swings has extra components, but do we go for swings in case of a simple form.
is swings more safer than html + jsp.


I think it's like apples and oranges.
Html is only seen in a browser, so don't need much at the client end. But then should look at the java equivalent, an Applet, and applets are pretty safe. Html can look pretty chunky and needs lots of javascript to do any client validation.
On the other hand, within intranets it's easy to distribute java applications which can do far more at the client end. I have developed an application where the server jar file is about 60 KB and the client about 370KB and growing. The client looks nice, security of access is checked both in server and client, and the client is always responsive.
So it's horses for courses. Each situation is different.
Ed
 
Yes, of course, and I accept that blame. In fact, i covet that blame. As does this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic