Build your professional network on facebook via our app Go to app
 
<< Prev  2 of 4 in Topic  Next >>
Topic : Design Patterns for Testability
  Rate : 
Posted in Community :

Design Patterns in Java

Industry : IT Products Functional Area : Architecture
Activity:  1 comments  412 views  last activity : 07 06 2010 20:18:04 +0000
 Refer 10
Share
 
 
 

Here are some of the design Pattern which are commonly followed by the people :

Fundamental Design Patterns

  • Delegation : Delegation is a way of extending and reusing a class

  • Interface: Keep a class that uses data and services provided by instances of other classes independent of those classes by having it access those instances through an interface

  • Immutable:The Immutable pattern increases the robustness of objects that share references to the same object and reduces the overhead of concurrent access to an object.Is related pattern which are more widelu used are Singleton Process.

  • Proxy: The Proxy pattern forces method calls to an object to occur indirectly through a proxy object. Other related Proxy methods are:

Access Proxy, Facade proxy, Virtual Proxy, Decorator.

Creational Patterns

  • Abstract Factory: Given a set of related abstract classes, the Abstract Factory pattern provides a way to create instances of those abstract classes from a matched set of concrete subclasses. The Abstract Factory pattern is useful for allowing a program to work with a variety of complex external entities such as different windowing systems with similar functionality.Its related Pattern are: Factory Method and Singleton.

  • Builder : The Builder pattern allows a client object to construct a complex object by specifying only its type and content. Related design patterns are:Interface, Composite, Factory, Factory Layerd, Null object and Visitor.

  • Object Pool : Manage the reuse of objects for a type of object that is expensive to create or only a limited number of a kind of object can be created.Related patterns are: Cache Method, Factory Method and singleton.

Partitioning Patterns

  • Layered Initialization : When you need multiple implementations of an abstraction, you usually define a class to encapsulate common logic and subclasses to encapsulate different specialized logic. Its related patterns are: Builder, Facade, Factory, layered and Composite.

  • Filter : The Filter pattern allows objects that perform different transformations and computations on streams of data and have compatible interfaces to be dynamically connected to perform combinations of operations on streams of data.

Structural Patterns

  • Adapter : An Adapter class implements an interface known to its clients and provides access to an instance of a class not know to its clients.

  • Virtual Proxy The Virtual Proxy pattern hides the fact that an object may not yet exist from its clients, by having them access the object indirectly through a proxy object that implements the same interface as the object that may not exist

 Behavioral Patterns

  • Snapshot : Capture a snapshot of an object's state so that the object's state can be restored later.

  • Template Method :Write an abstract class that contains only part of the logic needed to accomplish its purpose


 
TrackBack URL:
1 comments on "Trends of Design Pattern"
  Commented by  Darpan Sinha, Solution Architect, Fujitsu Consulting India Pvt Ltd    | 09 08 2008 03:02:10 +0000
good one
Add your comment on "Trends of Design Pattern"

Rate:
Submit
Leading Recruitment Firm
  • Create a confidential Career Profile and Resume/C.V. online
  • Get advice for planning their career and for marketing of experience and skills
  • Maximize awareness of and access to the best career opportunities
Viewers also viewed
We all know that the ways we are marketing have changed in the recent times than it was in the...
 
53 referals 9 votes, 6767 views
The increasing cost of construction rehabilitation, led by escalating raw materials and labour...
 
250 referals 10 votes, 2409 views
Yes Job Satisfaction is more important vs Finally Money moves everything
 
44 referals 19 arguments, 784 views
more...  
Recent Knowledge (60)
Anna Hazare Ends Latest Fast The United Progressive Alliance government heaved a huge sigh of...
 
87 referals 7 comments, 196 views
  Beautiful Thought by Lord Buddha     Once Buddha was traveling with a few of his followers....
 
1066 referals 30 comments, 895 views
India is ruled By Amma in south, Didi in east, Behen in north, Aunty in capital, Madam in center...
1951 referals 30 comments, 633 views
more...  
More From Author
I would not say it is boring but yes it is monotonous and working on some software time and again will get boring but it is also challenging at the same time where you need to write codes where you are making things simpler and simpler and its not an...
These days, you won’t always have immediate access to everyone who works on a given project. Maybe some aspects are being handled by freelancers. Maybe members of your team work remotely. Maybe you just aren’t in the office today. No matter how...
Nice phone gourav... thanks for posting..
more...