Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Good Code Examples

 
blair cairns
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am looking for a good open source application to learn from. It could be either a real application or one written for instructive purposes. I am aware of the numerous open source projects available but alot of them seem to be very large and not necessarily very well structured.
I am interested in particular in apps that have good examples of patterns use, preferably in a client-server context. I am sure there are lots of good ones, please toss me a few links. Thanks.
 
Damian Ryan
Ranch Hand
Posts: 117
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would say you could do worse than to take a look at some source code you almost certainly already have sitting around on your computer - the source code of the Java API.
This can be found in the src.zip file in the top level of your JDK installation.
Several patterns are used in the API - MVC, adapter, observer, factory, the list goes on. Many times the name of the pattern being used is explicitly stated in class names such as SocketFactory.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic