• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Swing Redundant ?

 
Johannes de Jong
tumbleweed
Bartender
Posts: 5089
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Bit of a overstatement but still, with large corporations increasingly using JSP's & Servlets for their presentation logic is there still a need for the professional programmer to know the ins and outs of Swing ?
 
Nathan Pruett
Bartender
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, it really depends on what you are doing... JSP's and servelets are not the only types of Java applications being developed... lots of in-house programs are being developed in Java, and most of those programs use Swing to present GUIs... in fact, the program I am working on currently is a stand-alone application being developed in Java, and we are using Swing (kinda... we are using Swing as the basis for our GUI... ) I personally don't have to know Swing that well, because I am just using the components that the GUI programmers have created for us to use specifically on this project, but I would assume those programmers would have to know quite a bit about Swing. Though, personally, I don't think anyone needs to know the "ins and outs" of Swing... or even of JSPs and Servelets for that matter... if you are using any of these technologies extensively, you will need to know the "ins and outs", but you will probably pick those up as you are using them. More importantly, learn the concepts behind what is going on ( i.e. how Servelets and JSPs run, How Swing uses MVC, etc. ) and then, if you need to use these technologies you will be able to pick up a book and refresh yourself on the syntax for a second before coding them.

Just my $0.02,
-Nate
 
John Zukowski
Author
Ranch Hand
Posts: 88
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Most end users still prefer a rich user interface but are settling for HTML-based ones.
------------------
John Zukowski Author of "Definitive Guide to Swing for Java 2" and "Java Collections"
 
Johannes de Jong
tumbleweed
Bartender
Posts: 5089
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by John Zukowski:
Most end users still prefer a rich user interface but are settling for HTML-based ones.

Can one actually use Swing in a Brower John ?
 
Cindy Glass
"The Hood"
Sheriff
Posts: 8521
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you get the 1.3 plug-in from Sun you can use Swing in a browser.
 
Glen Tanner
Ranch Hand
Posts: 147
Java Python Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think that Swing is valuable to learn for other reasons, too. By learning Swing you expose yourself to a lot of cool concepts like event handling; learning how to keep data separated using models; layout management; actions; threads; as well as lots of design pattern examples, multithreading, and OO in general (inheritance, polymorphism, encapsulation).
 
Glen Tanner
Ranch Hand
Posts: 147
Java Python Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey Cindy,
A new Wrox book due out in August claims that...
"This book demonstrates proven techniques for developing and deploying client-side Java components and applets that are efficient, and compatible with modern Internet browsers, without the use of external software or plug-ins."
The book is titled "Professional Java UI Components". Hmmm.
 
krishna anand
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear Friends
Glen's observation on the importance of learning Swing is 100% correct and I fully agree with it .He has put in a nutshell all the essential benefits one might gain in learning Swing .
------------------
Krishna
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic