my dog learned polymorphism*
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
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Code examples" Watch "Code examples" New topic
Author

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.
Ian


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

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
Marshal

Joined: Jan 10, 2002
Posts: 61095
    
  66

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


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Code examples