Programmer's Heaven - For C C++ Pascal Delphi Visual Basic Assembler C# .Net java JSP ASP ASP.NET Javascript developers!

Members
Username:

Password:

Auto-login

Register
Why register?
Forgot Password?
Blogs new Blog section
Jobs
Webtools
Message Boards
FAQ
CodePedia
Free Magazines
User search
What's New
Top lists
RSS Feeds RSS Feed

Submit content
Contact Us
Link To Us
Help



Advanced Search
Newsletter
E-mail:


More information
Current area: HOME -> Java -> Design Patterns Articles Adds this page to your personal favorites
  Design Patterns
An Introduction to Antipatterns in Java Applications
Just as design patterns provide a way to communicate concisely about desired software practices, antipatterns provide the equivalent advantages for communicating undesirable practices and here's a set of common antipatterns to get you started.
Visits: 306 Updated: 2005-10-10  Rating: (Not Rated)  More info & Ratings
Applying MVC to Web-Based Applications with Generic Views
In this article, I'll show how to use MVC in a Web-based project. My controller will rely on Reflection API to dynamically call action methods, redirect to proper views, and coordinate data flow between presentation and model layers.
Visits: 937 Updated: 2003-12-2  Rating: (Not Rated)  More info & Ratings
Advertisment
Become a programming Picasso with JHotDraw
Design patterns and frameworks have a mutually beneficial relationship. A well-known example of this is JHotDraw, a highly customizable GUI framework that simplifies developing drawing applications. This article explains the JHotDraw framework and general framework principles in terms of several important design patterns. You'll develop a class diagram editor that demonstrates JHotDraw's usage and capabilities.
Visits: 716 Updated: 2003-12-11  Rating: (Not Rated)  More info & Ratings
Creating Dynamic Swing Views with Reflection by Extending MVC
In this article I’ll show how to extend MVC architectural pattern to build a Swing GUI program by using Reflection to dynamically generate Views. The Controller will read a property file, generate Views, and corresponding Models, and execute simple business logic. Developers working on Views and following this design will only need to update properties file and their new class instances will automatically be added to the main project, without the need to modify Controller or any other part of the project. Reflection will be used to instantiate new objects and call required methods.
Visits: 1086 Updated: 2003-12-2  Rating: 
Design Patterns for Building Flexible and Maintainable J2EE Applications
With the proliferation of Java 2 Enterprise Edition (J2EE) as a platform of choice for server-side applications, it is crucial for developers to share their experiences and designs. This article introduces some reusable designs you can use to build flexible and easily maintainable J2EE applications. This article does not explain the patterns with their formal template or UML diagrams. The J2EE BluePrints Program is the place to find these details, along with code samples. This article explains some problem domains that affect the flexibility and maintainability of J2EE applications, and the recommended solutions.
Visits: 508 Updated: 2003-12-11  Rating: 
Design Patterns in Java AWT
In this paper we tried to study the design of Java AWT focusing in interesting object collaboration structures (trying to use the Role Modeling approach) and finding the correspondence to [Gamma95]’s design patterns. In no means is the result exhaustive.
Visits: 639 Updated: 2004-1-29  Rating: (Not Rated)  More info & Ratings
Designing Fields and Methods
This installment of the Design Techniques column shows how some fundamental software design techniques, like avoiding special data values and minimizing method coupling, apply to Java.
Visits: 373 Updated: 2003-12-10  Rating: (Not Rated)  More info & Ratings
Double-checked locking and the Singleton pattern
All programming languages have their share of idioms. Many are useful to know and use, and programmers spend valuable time creating, learning, and implementing them. The problem is that some idioms are later proven not to be all that they were purported, or to simply not work as described. The Java programming language contains several useful programming idioms. It also contains some that further study has shown should not be used. Double-checked locking is one such idiom that should never be used. In this article, Peter Haggar examines the roots of the double-checked locking idiom, why it was developed, and why it doesn't work.
Visits: 344 Updated: 2003-12-9  Rating: (Not Rated)  More info & Ratings
Dynamic Web Data Analysis
Learn about an adaptable approach which separates programming tasks from Web page design tasks. This strong conceptual model encourages good design, enables re-use of data definitions, and is well-suited to the construction of dynamic user interfaces. The authors also illustrate the particular challenges you might encounter when you dynamically change the analysis performed by Web pages.
Visits: 336 Updated: 2004-8-30  Rating: (Not Rated)  More info & Ratings
Event Generator Idiom
In this installment of the Design Techniques column, I propose the "event generator" as a Java idiom. The article provides a background on the concepts of patterns and idioms, describes the observer pattern, and demonstrates the idiomatic way to implement the observer pattern in Java.
Visits: 417 Updated: 2003-12-10  Rating: (Not Rated)  More info & Ratings
How to decouple the Observer/Observable object model
By using a decoupling technique, you can optimize the performance of the Observable by isolating, or decoupling, it from the dissemination of information to the Observers.
Visits: 354 Updated: 2003-12-11  Rating: (Not Rated)  More info & Ratings
Introduction to Design Techniques
This article introduces the Design Techniques column and discusses the larger issues involved in designing Java programs. In addition, it examines the software development process in general, describes the role of design within that process, and looks at the various and competing goals of a "good" software design.
Visits: 473 Updated: 2003-12-10  Rating: (Not Rated)  More info & Ratings
Java Modeling: Holonic software development
Granville Miller temporarily abandons the topic of requirements gathering for one more compelling: holonic software development. Find out how this method complements and extends the tenets of the agile...
Visits: 419 Updated: 2001-9-28  Rating: (Not Rated)  More info & Ratings
Java Singleton Design Pattern
The Singleton Pattern is one of the commonly used design templates when there needs to be a control on how an object can be created. This design pattern proposes that at any time there can only be one instance of a singleton (object) created by the JVM. The Singleton class’s default constructor is made private, which prevents the direct instantiation of the object by others (Other Classes).
Visits: 673 Updated: 2006-11-14  Rating: (Not Rated)  More info & Ratings
Learning Polymorphism and Object Serialization
While most textbooks teach polymorphism by drawing UML diagrams, the Brainy Draw project encourages you to draw. While others make up hypothetical objects to use as examples for object serialization, we'll discuss the real need to persist your objects. The Brainy Draw project in this article is a fun way to learn polymorphism and object serialization.
Visits: 734 Updated: 2003-12-9  Rating: (Not Rated)  More info & Ratings
Simply Singleton
The Singleton pattern is one of the simplest design patterns, but for Java developers, it's full of pitfalls. In this month's column, David Geary explores the Singleton pattern and how to deal with its pitfalls while discussing multithreading, classloaders, and serialization.
Visits: 716 Updated: 2003-12-11  Rating: (Not Rated)  More info & Ratings


Found a broken link? Please report it to us.

 

Sponsored Links 
SFTP components for .NET
Add complete SSH and SFTP support to your .NET framework application
Virtual File System SDK
Create your own file systems in Windows and .NET applications
PureCM Software Configuration Management
Version control and integrated issue tracking - powerful and easy to use. Get your FREE trial now!
CSTSOFT Instrumentation .NET & ActiveX Components
A collection of 13 instrumentation .NET/ActiveX/VCL components including Gauge,Knob,LED,Trend etc.
Software Localization Tool Sisulizer
Localize DotNet, C++ Builder, Delphi, C/C++, Visual Basic & Java apps & html help. Try Sisulizer now
Buy a link now

Advertisement

  Free Magazine  
Free Magazines
Oracle Magazine contains technology-strategy articles, sample code, tips, Oracle and partner news, an all-new Oracle Developer section for Java developers, and more.
subscribe now


Newsletter Submit Content About Advertising Awards Contact Us Link to us    
© 1996-2008 Community Networks Ltd All rights reserved. Reproduction in whole or in part, in any form or medium without express written permission is prohibited. Violators of this policy may be subject to legal action. Please read Terms Of Use and Privacy Statement for more information. Development by ASP.NET Konsult - Synchron Data.