12 Sites To Find Java Code Examples

This is a collection of some useful sites that you may not know. They contain code snippets and may help in coding and learning Java.

cafe java

Photo by fleurdumal71

RoseIndia
http://www.roseindia.net/java/
Perfect for beginners but also contains advanced Java lessons, tutorials, and lots of code examples and complete small programs.

Java-Examples
http://www.java-examples.com/
Helps understand functionality of various Java classes and methods as well as various programming techniques in a simple way. You just search for the Java class you want the example for.

Snipplr
http://snipplr.com/
Public source code repository that gives you a place to store, organize and share code snippets with other programmers.

Leepoint
http://leepoint.net/notes-java/index.html
Lots of very well written tutorials covering many Java topics with code examples.

StackOverflow
http://stackoverflow.com/
Collaboratively edited question and answer site for programmers — regardless of platform or language. Of course, Java is one of those languages.

cafe
Photo by Cockneck


Dzone Snippets
http://snippets.dzone.com/tag/java
The Java section of Dzone Snippets. Dzone is a social site for developers, the best out there for us.

Codase
http://www.codase.com/
A source code search engine. You can select on which programming language you want to search.

Koders
http://www.koders.com/
Search engine for open source and other downloadable code, that contains over 1 billion lines of code within its repository.

ByteMyCode
http://www.bytemycode.com/tags/tag/Java/
Social site to share code, with a Java section, amongst many other languages. Users vote the best ones.

Sun Wiki
http://wikis.sun.com/display/code/Home
The Sun's Java Wiki that contains lots of code examples.

JavaDB
http://www.javadb.com/
Provides source code examples in the Java language as well as other Java specific resources.

JavaFAQ
http://www.javafaq.nu/java-example.html
A very big portal for Java that has examples for many packages and classes, organized in search engine and in a directory.

And A Bonus: KodeJava
Lots of Java examples.
http://www.kodejava.org/

-Jordi R. Cardona-


© 2008 by Jordi R. Cardona. Link to this post without copying the text.

If you liked this post, get updates of Hiperia3D News for FREE

5 comments

Ashraf Bashir said...

Thank you.

Chris said...

I don't see jexamples (http://jexamples.com) which provides semantic search results based on open source projects.

Jordi R Cardona said...

Now you can see it, because you've suggested it. Please continue suggesting others, this way we all benefit.

I re-publish the link with link:
http://jexamples.com

I encourage everyone to post your fav sites of Java examples.

Anonymous said...

http://www.exampledepot.com/

The good old java almanac for java 1.4

Chinese Billi said...

good ......
I like this....
very helpful.....

Post a Comment