aspose file tools*
The moose likes Java in General and the fly likes Standalone app vs Intranet app Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Standalone app vs Intranet app" Watch "Standalone app vs Intranet app" New topic
Author

Standalone app vs Intranet app

Sathish K VGiri
Greenhorn

Joined: Feb 04, 2002
Posts: 1
Hi!

I am looking for some good reasons as to why one should go for an n-tier stand-alone application(Swing/RMI/EJB/DB) when he can get away with (jsps/html/http/servlets/EJB/DB)

Scalability,Security,Client-intensive, Development effort.........

what are the decisive factors??

Greatly appreciate your thoughts....
Stan James
(instanceof Sidekick)
Ranch Hand

Joined: Jan 29, 2003
Posts: 8791
User experience is the main thing I come up with. You can make a pretty darned rich Swing UI that's extremely difficult to reproduce in HTML and JavaScript.

The bad news is many of those other factors tend to favor web apps - zero deployment (ok, near-zero), scalability may be better because of pooled database and other resource connections, horizontal scalability, portability to any platform with a browser, and so on.

What's the app about? Given a complex interface and large amounts of "state" data, a Swing client might win out after all.


A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
Jessica Sant
Sheriff

Joined: Oct 17, 2001
Posts: 4313

I think a lot depends on the application's purpose and usage.

Is there a need for a central DB / repository? if not -- there's not much need for a centrally hosted system.
Does the application need to be used offline? if not -- then developing the system as a web app may be suitable
What about the functional speed of the app? typically there's a delay between pages of a web application.

Developing the UI of a web application is significantly easier than a Swing app, but then again, you're much more limited as to what kind of UI you can develop.

In a nutshell. This isn't a cut and dry question, it depends on a lot of factors.


- Jess
Blog:KnitClimbJava | Twitter: jsant | Ravelry: wingedsheep
Jeroen Wenting
Ranch Hand

Joined: Oct 12, 2000
Posts: 5093
Another argument in favour of a Swing application as compared to a browserbased solution can be CPU load.
If the application needs to perform heavy calculations you may want to move those from the server to the client at least in part. A web application cannot do that, a traditional client/server model is perfect for such situations.

If access to the client computer is needed (printers, other hardware) it's also far more difficult (if not impossible) to use a web interface.


42
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Standalone app vs Intranet app
 
Similar Threads
CMP db Access
Help with question on Legacy Connectivity and Common Architecture
Bmp deny access to mssqlserver2000
php calling EJB
Java EE Experience - how do I get it ?