• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

Abhishek Tanwar

I build web & mobile experiences

  • HOME
  • BLOG
  • CONTACT ME
  • DISCLAIMER & COPYRIGHTS
You are here: Home / Uncategorized / Standard Design Patterns – Applied to JAVA

Standard Design Patterns – Applied to JAVA

August 6, 2013 by Abhishek Tanwar

I know that almost all of us know what are “Design Patterns”. I am not inventing anything new here but presenting a new/fresh perspective to the Design Pattern applied to Java.

This is an introductory post to the series of post that will follow explaining each one of them with respect to Java.

I am going to quote the very basic definition of a Design Patten here.

“If a problem occurs over and over again, a solution to that problem has been used effectively. That solution is described as a pattern. The design patterns are language-independent strategies for solving common object-oriented design problems. SUN suggests GOF (Gang Of Four–four pioneer guys who wrote a book named “Design Patterns”- Elements of Reusable Object-Oriented Software)”.

Now simply put, Design Pattern is like:

  1. Asking Apple to pack your old Samsung Phone
  2. Asking a Fashion photographer like “Andrea Klarin” for taking your Profile Picture for a Passport
  3. Asking a question to GOD and getting the answer immediately that will work all the time.
  4. If you wan to to kill someone, there are many ways, best is to “slap him first and then, put a bullet in his head”.
  5. Finally, get the things done in a proven, workable and efficient way.

As per the “Gang Of Four”, there are three majorly known groups for Standard Design patterns:

  1. Creational
  2. Structural
  3. Behavioural

Below is a list of all Design patterns grouped by their types.

Design Patterns

I read through some sites which says there are more than 200 design patterns but to me they are just pointing out poor coding practices.

As of now only 23 are well known and documented “Design Patterns”.

Now the question comes, “DO I NEED TO USE ALL THESE PATTERNS?” Answer to that is “Depends”. I personally don’t use all. there are only a few favourites which I personally use and recommend to use wherever possible.

Its like, when you are thorough with them, you will know for sure that the functionality will work 100% in all aspects of Software Engineering. One thing that Design patterns has benefitted me is the Way I design solution on any programming language or platform.

I will be explaining each of the pattern in detail with example applied to Java and hoping that it will benefit in more or less the same way for some of you guys out there!

Watch the space for updated Information. Let me know if you are looking for a specific pattern in detail, I can put more details on it.

Share this:

  • Facebook
  • X

Like this:

Like Loading...

Filed Under: Uncategorized Tagged With: Design Patterns, Java Design Patterns, Pattern

Reader Interactions

Comments

  1. lose fat with Nuretix Research says

    August 26, 2014 at 11:54 pm

    excellent publish, very informative. I’m wondering why the opposite specialists of this sector don’t understand
    this. You should proceed your writing. I’m confident, you’ve a great readers’ base
    already!

  2. cell phone spy free trial download says

    September 7, 2014 at 3:57 pm

    Thanks for ones marvelolus posting! I certainly enjoyed reading it, you happen to bbe a great author.I will
    make certain to bookmark your blog and will eventually come
    back at some point. I wnt to encourage that you continue your great work, hhave
    a nice holoiday weekend!

  3. symbian Tracking says

    September 11, 2014 at 10:57 pm

    Hello just wanted to give you a quick heads up and let you know a few of the pictures aren’t loading properly.
    I’m not sure why but I think its a linking issue. I’ve tried it in two different internet
    browsers and both show the same results.

    • Abhishek says

      September 11, 2014 at 11:17 pm

      It’s working fine at my end.

  4. cell phone spy does it really work says

    September 13, 2014 at 12:34 pm

    I am really pleased to glance at this webpage posts
    which consists of tons of vapuable information, thanks for providing these kinds of information.

Trackbacks

  1. SOA Patterns Site Link | SOA Developers Blog says:
    September 19, 2013 at 2:17 am

    […] Standard Design Patterns – Applied to JAVA (technology.toraveabout.com) […]

Primary Sidebar

  • Behance
  • Email
  • Facebook
  • GitHub
  • LinkedIn

Popular Posts

How To Integrate React in JSP Application
SaaS, PaaS, IaaS
XQuery highlighting in Notepad++
Standard Design Patterns – Applied to JAVA
XQDT Installation on Eclipse JUNO

Categories

  • Building APIs
  • Building Mobile Apps
  • Building Web Apps
  • Coding Challenges
  • Extensions
  • Fullstack
  • Patterns
  • Tips & Tricks
  • Uncategorized
  • VSCode

Tags

2022 vscode extensions Abstract Factory alienware amazing vscode extensions apple challenges coding coding-challenges Design Patterns dota2 dota2 items dynamic web service call dynamic webservice invocation enterprise integration express flex helpful vscode extensions how to implement mfa in nodejs increasing productivity using vscode integration pattern macro message channel message endpoint message pattern message router message translator messaging mfa offline action processing offline actions in struts pipes and filters PRG in struts react Steam struts System Emulator threads in struts utilities vscode vscode customization vscode extensions vscode productivity extensions xquery xquery 1.0 xquery design principles

Recent Posts

  • 15+ VSCode Extensions To Improve Your Productivity
  • Productivity and Quality Extensions for ReactJS in VSCode..
  • My goto VSCode plugins for 2022…
  • How to enable MFA for your application in Node.JS?
  • Structuring Express Application – How I do it?

Categories

  • Building APIs (8)
  • Building Mobile Apps (1)
  • Building Web Apps (7)
  • Coding Challenges (3)
  • Extensions (1)
  • Fullstack (6)
  • Patterns (8)
  • Tips & Tricks (41)
  • Uncategorized (43)
  • VSCode (2)

Tags

2022 vscode extensions Abstract Factory alienware amazing vscode extensions apple challenges coding coding-challenges Design Patterns dota2 dota2 items dynamic web service call dynamic webservice invocation enterprise integration express flex helpful vscode extensions how to implement mfa in nodejs increasing productivity using vscode integration pattern macro message channel message endpoint message pattern message router message translator messaging mfa offline action processing offline actions in struts pipes and filters PRG in struts react Steam struts System Emulator threads in struts utilities vscode vscode customization vscode extensions vscode productivity extensions xquery xquery 1.0 xquery design principles

Archives

  • August 2023 (1)
  • March 2022 (1)
  • February 2022 (1)
  • November 2020 (1)
  • April 2020 (2)
  • May 2019 (1)
  • April 2019 (1)
  • March 2019 (1)
  • December 2018 (1)
  • July 2018 (4)
  • June 2018 (3)
  • March 2018 (1)
  • May 2016 (1)
  • December 2015 (1)
  • May 2015 (1)
  • April 2015 (2)
  • March 2015 (1)
  • December 2014 (2)
  • November 2014 (2)
  • October 2014 (1)
  • August 2014 (2)
  • July 2014 (1)
  • April 2014 (1)
  • March 2014 (1)
  • February 2014 (2)
  • January 2014 (1)
  • December 2013 (4)
  • November 2013 (4)
  • October 2013 (3)
  • September 2013 (4)
  • August 2013 (2)
  • July 2013 (5)
  • June 2013 (9)
  • May 2013 (6)
  • April 2013 (2)
  • March 2013 (2)
  • January 2013 (1)
  • November 2012 (2)
  • HOME
  • BLOG
  • CONTACT ME
  • DISCLAIMER & COPYRIGHTS

Copyright © 2025

%d