File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Swing / AWT / SWT and the fly likes which is good for GUI Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "which is good for GUI" Watch "which is good for GUI" New topic

which is good for GUI

Shubhada Nandarshi
Ranch Hand

Joined: Jun 10, 2005
Posts: 59

I Have some doubts,
1. What is difference between java servelets & appliets & swings?
2. Which is good for online storage management GUI?

chandrakant karale
Ranch Hand

Joined: Nov 21, 2007
Posts: 41
Do have a look at Google Web Toolkit.

All benefits of development in Java; a code which will take care of all browser incompatibilities; faster development;
Nathan Pruett

Joined: Oct 18, 2000
Posts: 4121

  • servlets - stored and run on the server-side. Used to generate dynamic HTML pages. Rather than doing everything in servlets, you'll also use JSPs (HTML pages with special tags) and probably some kind of web framework like Struts, SpringMVC, etc.
  • swing - (not swings) Java's library for building desktop applications. In general stored on and runs on users computer, but you can use Java WebStart to store the code on a server and check for updates and download new versions when the application relaunches. Swing can use any kind of networking/distributed computing libraries in Java to communicate with code on a server, if it needs to.
  • applets - stored on the server, but runs inside the client's web browser. Can use Swing or it's predecessor AWT. It's like a small part of a normal Swing or AWT desktop application, but embedded in the client's browser. There are some restrictions on what applets can do due to security constraints.

  • The best approach to build an online storage management GUI would be something related to Servlets. GWT is a library provided by Google which allows you to code Java and then compile it into a mix of server-side and client-side Javascript.
    [ September 12, 2008: Message edited by: Nathan Pruett ]

    Write once, run anywhere, because there's nowhere to hide! - /. A.C.
    I agree. Here's the link:
    subject: which is good for GUI
    jQuery in Action, 3rd edition