example java programs to learn from?

Hi. I just finished the Head First Book and I am about to start on the 1.5 certification book. In the mean time, I was wondering what open source projects might be good for me to download and start reading the code for? I thought it might be a good idea to download one and go through the code, marking it up with what I think it is doing and looking up things I don't understand. Any pointers to good software to do that on, would be great!

Sorry if this is the wrong forum.

Mark

[500 byte] By [eko291a] at [2007-10-3 2:43:10]
# 1

I never really think it's a good idea to just study code....

What is always a good idea is come up with a big project and start your own open source project using sourceforge or Google code.......

Someone ones said "if you want to learn something, write a book on it" same can be said for code, just make it precise follow all guidelines use new technologies the hole shebang.

probably no help, but my two cents all the same.

Tom_Timpsona at 2007-7-14 20:31:30 > top of Java-index,Java Essentials,New To Java...
# 2
you should write code for problems that are of interest to you. write yourself small, useful applications. you'll learn more by thinking about and overcoming the problems you encounter than you will by studying open source projects.%
duffymoa at 2007-7-14 20:31:30 > top of Java-index,Java Essentials,New To Java...
# 3
understood. Thank you for the suggestions.
eko291a at 2007-7-14 20:31:30 > top of Java-index,Java Essentials,New To Java...
# 4

Hi Mark.

Because I am researching the world of Java (and related technologies) developers for a fiction project, I discovered javablackbelt.com. It's a web community.

While I personally cannot understand the exams, they seem to have a lot of them covering many technologies to practice. I think you can also author and improve exam questions.

(Maybe that can also help you evolve as a developer?)

Good luck!

Java_Groupiea at 2007-7-14 20:31:30 > top of Java-index,Java Essentials,New To Java...
# 5
definately, thanks!
eko291a at 2007-7-14 20:31:30 > top of Java-index,Java Essentials,New To Java...
# 6

My advice: stop learning Java and start learning programming. There's so much those books won't teach you, and Java's syntax and peculiarities are good to know, but won't help you move forward in general.

Think about architecture, OO analysis, OO design, application modeling, specifications, testing, usability...

CeciNEstPasUnProgrammeura at 2007-7-14 20:31:30 > top of Java-index,Java Essentials,New To Java...
# 7

As the others have been saying, just keep practicing! Practice makes perfect...

> Think about architecture, OO analysis, OO design,

> application modeling, specifications, testing,

> usability...

I agree with this, but it's hard to learn any sort of Object-Oriented subjects if you aren't comfortable with the basics of programming.

I'd say stick with Java and try to pick up these subjects as you go along, especially once you're programming comfotably in Java.

davedesa at 2007-7-14 20:31:30 > top of Java-index,Java Essentials,New To Java...
# 8

> Hi Mark.

>

> Because I am researching the world of Java (and

> related technologies) developers for a fiction

> project, I discovered javablackbelt.com. It's a web

> community.

>

> While I personally cannot understand the exams, they

> seem to have a lot of them covering many technologies

> to practice. I think you can also author and improve

> exam questions.

>

> (Maybe that can also help you evolve as a

> developer?)

>

> Good luck!

while we're at that, you might find this site handy:

http://www.javaalmanac.com

snippets that demonstrate how to use JDK classes.

won't help you with overall design and implementation.

%

duffymoa at 2007-7-14 20:31:30 > top of Java-index,Java Essentials,New To Java...
# 9

hey eko291!

I found that the easiest way to learn java was to do something with it. I set up a sourceforge site, and set about making widgets for swing that were non standard in java but found in other languages/operating systems. Looking at code to learn is a two-edged sword. On the one hand it can be great for ideas, but on the other, some people really write cruddy obfuscated code that is a nightmare to follow, let alone learn from.

Write some of your own stuff first to get really familiar with it. If you get stuck, look at some examples from Java Almanac (blood good site that one). Look for some examples from O'Reilly books etc.

I wrote some code to help me learn java. While looking at it to learn Java is not something I would recommend, you may find getting ideas from it to help out with your own projects is something useful.

Feel free. www.sf.net/projects/avianfs

Also, I got a lot of good ideas from a particular guy's blog. Romain Guy. He posts up some really super code for people interested in UI design. Looking through his code, you will be amazed at some of the things you can do with Java. You will get heaps of ideas from there.

hope that helps!

Jason Barraclough.

Message was edited by:

fireman.sparkey

because he realised that a word he used was a naughty one...

fireman.sparkeya at 2007-7-14 20:31:30 > top of Java-index,Java Essentials,New To Java...