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 ?
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
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
John Zukowski Author of <a href="http://www.amazon.com/exec/obidos/ASIN/189311578X/ref=ase_electricporkchop/107-7882751-0234939" target="_blank" rel="nofollow">"Definitive Guide to Swing for Java 2"</a>,<br /><a href="http://www.amazon.com/exec/obidos/ASIN/1893115925/ref%3Dase%5Felectricporkchop/102-5437230-7785719" target="_blank" rel="nofollow">"Java Collections"</a> and <a href="http://www.amazon.com/exec/obidos/ASIN/1893115984/ref%3Dase%5Felectricporkchop/102-5437230-7785719" target="_blank" rel="nofollow">"Learn Java with JBuilder 6"</a>
Johannes de Jong
Joined: Jan 27, 2001
Originally posted by John Zukowski: Most end users still prefer a rich user interface but are settling for HTML-based ones.
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).
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.
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