jQuery in Action, 3rd edition
The moose likes Beginning Java and the fly likes Code examples Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Code examples" Watch "Code examples" New topic

Code examples

Ian Cockcroft
Ranch Hand

Joined: Apr 05, 2001
Posts: 46
Hi Guys,
I know this might sound like cheating or hacking, but is there maybe a resource or a site where I can download code? The thing is that I have all the knowledge of using code and small little programs but have no idea now to put it all together into a big system. If I could look at some code of a big system just to get an idea of how it all fits together. For Example a logon screen.
Is there such a site?
Thanks alot.

- Make it idiot proof and they'll make a better idiot!
Jessica Sant

Joined: Oct 17, 2001
Posts: 4313

Check out the Java Petstore. It's a Java Demo created by Sun that basically has an example of every kind of technology you can think of (including a log-in module). It comes complete with Source Code.
You can also check out Core J2EE Patterns: Best Practices and Design Strategies, It covers a lot of the design patterns used in the Petstore app.

- Jess
Blog:KnitClimbJava | Twitter: jsant | Ravelry: wingedsheep
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63873

I would hardly consider looking at previously written code (hopefully well-written) in order to learn something "cheating".

[Asking smart questions] [About Bear] [Books by Bear]
I agree. Here's the link: http://aspose.com/file-tools
subject: Code examples
It's not a secret anymore!