Skip to main content

J2EE to Swing

6 replies [Last post]
manyce400
Offline
Joined: 2006-04-24
Points: 0

Hi am a J2EE developer very interested in learning and working with Swing. Any advice on where i should begin. I find the swing presentation layer a bit confusing.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
dstaelen
Offline
Joined: 2003-06-10
Points: 0

I would highly recommend Desktop Java Live by Scott Delap also. http://www.sourcebeat.com/TitleAction.do?id=10

Once you get through the basics of how a Swing component works, this will help put it all together.

manyce400
Offline
Joined: 2006-04-24
Points: 0

Thanks to everyone for your positive feedback. I have allways been a big fan of Swing ever since my college days but never really got to work with it since J2EE is the money maker these days.

Am excited about new technologies like JWS. Do you see JWS catching on? So far most people I know in the industry don't use it and are not even considering it.

pocarbuile
Offline
Joined: 2005-06-15
Points: 0

The link to the visual index of swing components is a good place to get information on an ongiong basis:

http://java.sun.com/docs/books/tutorial/uiswing/components/components.html

Other than that, there's a book by John Zukowski - "The Definitive Guide to Java Swing" - that's also pretty good.

Ben Galbraith is a brialliant resource for threading in Swing. Here's a url to one of his presentations:

http://www.javalobby.org/java/forums/t16630.html

Listen to him. He's pretty brilliant.

I've always preferred Swing to any of the web-oriented technologies. Mostly I hook my Swing apps into the J2EE stack via a JNDI lookup of a JDBC datasource or a JMS destination.

Good luck to you!

bangrazi
Offline
Joined: 2003-06-30
Points: 0

One of the biggest challenges coming from J2EE to Swing is that with most J2EE programming, threading issues are handled for you by the container. With Swing programming, you'll need to program for thread saftey yourself. This is the issue I see more J2EE developers get wrong when programming user interfaces. It's not too much of a burden, but you do need to be aware of threading issues and thread safety (like making sure you don't block the EDT, and UI component manipulation happens on the Swing thread).

manyce400
Offline
Joined: 2006-04-24
Points: 0

Since J2EE is also a lot more poupular for enterprise applications is learning Swing a good investment?

aberrant
Offline
Joined: 2006-02-02
Points: 0

http://java.sun.com/docs/books/tutorial/uiswing/TOC.html#components

This is a good site to visit for swing info. It gives good basic and intermediate examples.

-Aberrant