aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes when do we use swings Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "when do we use swings" Watch "when do we use swings" New topic
Author

when do we use swings

Pratibha Malhotra
Ranch Hand

Joined: Dec 21, 2003
Posts: 199
when do we go for swings instead of any other Gui technology say Jsp for that matter ???


~ Pratibha Malhotra<br /> <br />Sun Certified Java Programmer<br />SCEA 1.4 (In Progress)<br />~~~~~~~~~~~~~~~~~~~~~~~~~~~<br />"Many of life's failures are people who did not realize how close they were to success when they gave up!!"
Manish Hatwalne
Ranch Hand

Joined: Sep 22, 2001
Posts: 2578

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

Joined: Dec 21, 2003
Posts: 199
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.
Eddie Vanda
Ranch Hand

Joined: Mar 18, 2003
Posts: 281
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


The nice thing about Standards is that there are so many to choose from!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: when do we use swings