www.SwTech.com

SwTech.com
- Java Design Patterns

[ Home | Whats New | Recommended Books | Search | Subscribe ]
[ TP | DB | Java | JavaBeans | C++ | Design-Pattern | CORBA | Server | Script | SCM | Dev-Mags | Net-News | WebDev | Net | XML ]


Get the FREE SwTech e-mail newsletter :
Support this site by buying one of our Recommended Books

Search the SwTech.com site:   

Java : Java Design Patterns

See the Design Patterns page for other articles on general usage of Design Patterns, including what they are, and why they are useful.

See Also:
^Java
>Programming Techniques and Methods
>Java AWT and GUI Programming
>Java Network Programming
>JavaBeans
>Design Patterns


* Implementing Basic Design Patterns in Java
by Doug Lea. Using the features of the Java language to implement design patterns.
* Book: Concurrent Programming in Java - Design principles and patterns
by Doug Lea. Advanced programming using Java and design patterns. One of the main uses and requirements for concurrency is in the handling of networking and communications while still keeping an app responsive to user input.
This is what real programming is about - remember, if it isn't concurrent, it's SLOW!
Buy it TODAY from Amazon Worldwide/U.S.A. or U.K.
* Online supplement to 'Concurrent Programming in Java'
An online supplement to the book 'Concurrent Programming in Java : Design Principles and Patterns' by Doug Lea.
* Book: Concurrent Programming using Java
by Steve Hartley. In case you can't wait until February 1998 for the book, some notes on using Java for concurrent programming. From a pure Computing Science / Academic background, but that will ensure your code is sound!
* Syncronization of Java Threads using Rendezvous
A description of Rendezvous, a mechanism for imposing an ordering on events in an arbitrary number of concurrent threads.
* Book: JAVA DESIGN: Building Better Apps and Applets
by Peter Coad and Mark Mayfield. Show the best way to design Java client/server applications and applets that are as efficient and reliable as possible, by properly using object models and scenario views, interfaces, thread concurrency for reliable multithreading, Java exceptions - and when and how to use them, and the Java implementation of the Notification design pattern.
Also available is a full table of contents list, and some online excerpts (see below).
Buy it TODAY from Amazon Worldwide/U.S.A. or U.K.
* Online exerpts from JAVA DESIGN: Building Better Apps and Applets
Some online excerpts from the book 'JAVA DESIGN: Building Better Apps and Applets' by Peter Coad and Mark Mayfield.
This is a fairly basic conversion of some pre-production drafts of the book, but contains some good advice.
* JavaPatterns page at the Portland Pattern Repository (WikiWikiWeb)
* The State Pattern in Java
Describes how to implement the State pattern in Java to provide state-dependent behavior - for example, the acceleration characteristics of a car object depending on its current RPM range.
* HotDraw
The HotDraw editor used for the case study in the "Gang-of-Four" Design Patterns book translated into a Java applet with a demo version available on-line.
* Introduction to "Design Techniques"
An article from JavaWorld discussing the role of design and design patterns in the context of the overall software development process, and several of the conflicting requirements that affect design choices.
This is the first of a new column in the JavaWorld online magazine (obviously looking at design patterns particularly from a Java perspective!), and we don't JUST like it because we get a mention !
* Java Data Structures
A very useful summary/tutorial of how to implement all the major data structures using Java - including Arrays, Stacks, Linked Lists, Queue, and Binary Trees.
* Designing with exceptions
Some design guidelines and tips on when and how to use exceptions in Java.
* Exceptions in Java : A Tutorial
A JavaWorld article discussion the detail of the exception mechanisms built into the Java programming language.
* Design for Open Systems in Java
A paper by Doug Lee examining the design of object-oriented open systems through encapsulation of services, structuring their composition, and customization through parameterization. Explores some occasionally disguised aspects of responsibility-driven design seen in the development of Java-based open systems.
* How to implement the Command pattern in Java
Sometimes it's necessary to issue requests to objects without knowing anything about the operation being requested or the receiver of the request. In procedural languages, this type of communication is accomplished via a callback: a function that is registered somewhere to be called at a later point. Commands are the object-oriented equivalent of callbacks and encapsulate the callback function. This Java Tip demonstrates how to implement the Command pattern in Java.
* Clever Facade makes JDBC look easy
A JavaWorld article to saves you some work when dealing with common JDBC operations! You can use the Facade design pattern to encapsulate the most popular JDBC objects, thereby hiding all the tedium of initialization, exception handling, and cleanup.
* Design networked applications in RMI using the Adapter design pattern
A guide to correctly adapting local Java objects for the Web.
Creating a networked application is easy using Java's Remote Method Invocation. However, taking a non-networked class and jazzing it up for the network is definitely not the way to go. This will just lead to mess -- slow, hard to read, and difficult to maintain. Dan Becker demonstrates the proper way to adapt a local Java class for use over a network using the Adapter design pattern. This design technique creates an easy-to-maintain application that works extremely well.
* Book: Concurrent Programming in Java - Second Edition
The long awaited second edition of Doug Lea's book on advanced programming using Java threads. Not for the beginner, but vital for any serious Java programmer.
Buy it TODAY from Amazon Worldwide/U.S.A. or U.K.
* JAC - Java Aspect Components
JAC (Java Aspect Components) is an Open Source (LGPL) project developing an aspect-oriented middleware layer.
Current application servers relying on J2EE does not always provide satisfying means to separate technical concerns from the application code. Since JAC uses aspect-orientation, the complex EJBs components are replaced by POJOs (Plain Old Java Objects) and technical concerns implementations that are usually wired deep into the containers implementations are replaced by loosely-coupled, dynamically pluggable aspect components.
JAC supports (in aspect components):
* Nanning Aspects AOP framework
Nanning Aspects is a simple yet scaleable aspect-oriented framework based on the ideas of implementing AOP in Java outlined by Rickard Öberg in his blog.



DevLynx - Developer Links

Add your own Developer Links:

You can now suggest your own DevLynx to include on this page.
Search the Software Technologies site:   




Home Copyright © 1996-2006 Software Technologies Ltd.
All rights reserved. All trademarks acknowledged. E & O E.
Privacy Policy.
Designed for
Microsoft Internet Explorer
Designed for
Netscape Navigator
webmaster@SwTech.com http://www.SwTech.com/java/dpattern/