aspose file tools*
The moose likes JSP and the fly likes JSP  or Swings Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "JSP  or Swings" Watch "JSP  or Swings" New topic
Author

JSP or Swings

Amit Sharma
Ranch Hand

Joined: Nov 22, 2005
Posts: 87
Hi i need some points which show that jsp is much better than swings. means how can we say that jsp is better than swings.


Amit Sharma SCJP 1.4, SCWCD 5, OCUP-100(UML)
Rao Raghu
Ranch Hand

Joined: Jan 05, 2007
Posts: 100
You cannot compare jsp with swing because both are quite different technologies. JSP is used to build web-applications whereas swing is used to develop stand-alone applications.


RAGHU<br /> <br />"When the going gets tough, the tough get going"
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

That's like asking how to prove that a bicycle is better than a pitchfork.
What type of application are you trying to build?

Also, as Rao has shown, it's "Swing" not swings. There is no 's' at the end.
[ February 08, 2007: Message edited by: Ben Souther ]

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Amit Sharma
Ranch Hand

Joined: Nov 22, 2005
Posts: 87
ok sorry for that but actually i am trying to build a application which will work on LAN and their will be one administrator and various clients. clients have to submit some reports and administrator will analyse that. i am a student and want to make this application in jsp but my teacher have some basic knowledge of java. so he asked me to describe in detail which will be better option.
Rahul Bhattacharjee
Ranch Hand

Joined: Nov 29, 2005
Posts: 2308
Its very simple to answer.
If you are building a web based application then go for jsp or if you want to go for standalone application , then go for swings.


Rahul Bhattacharjee
LinkedIn - Blog
Rao Raghu
Ranch Hand

Joined: Jan 05, 2007
Posts: 100
ok sorry for that but actually i am trying to build a application which will work on LAN and their will be one administrator and various clients. clients have to submit some reports and administrator will analyse that. i am a student and want to make this application in jsp but my teacher have some basic knowledge of java. so he asked me to describe in detail which will be better option.
You have to develop the application in jsp as you want to access it in a LAN.
Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9622
    
    2

Why not I can use network classes/Swing combination in java and build the application. It not necessarily be a web application. Am I right??


SCJP 1.4, SCWCD 1.4 - Hints for you, Certified Scrum Master
Did a rm -R / to find out that I lost my entire Linux installation!
Muhammad Saifuddin
Ranch Hand

Joined: Dec 06, 2005
Posts: 1321

Originally posted by Jothi Shankar Kumar Sankararaj:
Why not I can use network classes/Swing combination in java and build the application. It not necessarily be a web application. Am I right??


Absolutely right
[ February 09, 2007: Message edited by: Saif uddin ]

Saifuddin..
[Blog][Linkedin] How To Ask Questions On JavaRanch My OpenSource
Robert Waals
Greenhorn

Joined: Dec 22, 2006
Posts: 14
You have to consider if you want to have a client-server application or web-based application. In a server client setup every user needs to install the client software on her machine (depending on the way software is distributed in your network) but the user interface can be more advanced as
Swing allows you to build a complex (alert) and nice looking GUI.

Web based application do need not to have its clients installed, users only need the a web browser and the link to your web-server (and hopefully a user account..). The UI capabilities are limited compared to a full client application and the learning curve for building a web-application is (in my humble opinion) higher.
Amar Deep Singh Chaudhary
Ranch Hand

Joined: Dec 26, 2006
Posts: 49
dear Amit if you want to make this type of application for only lan than you can use RMI or Jsp.if you will use Rmi than you need to create front end by using Swing otherwise you can try Jsp,but jsp is much better because by using jsp you can extend your application for the worldwide.i have also made such type of application in RMI.
[ February 13, 2007: Message edited by: Bear Bibeault ]

"A thinking mind never dies"
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JSP or Swings