GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  J2EE  >  Java Patterns
Go To First  |  Previous Question  |  Next Question 
 Java Patterns  |  Question 6 of 20    Print  
Explain what is Design Pattern and Anti-Pattern?

  
Total Answers and Comments: 2 Last Update: February 20, 2007     Asked by: Kiran 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
November 27, 2006 11:27:37   #1  
lingareddy        

RE: Explain what is Design Pattern and Anti-Pattern?

Design Pattern is set rules approach problem.Designpatterns given by senior engineers will be documented.

WorstAnti Pattr


 
Is this answer useful? Yes | No
February 20, 2007 04:08:51   #2  
jananianandan Member Since: February 2007   Contribution: 17    

RE: Explain what is Design Pattern and Anti-Pattern?
Just as design patterns provide a way to communicte concisely with desired software practices these antipatterns provide the equivalent advantages of communicating with undesirable practices.


An antipattern is a classified bad design it is just opposite to design pattern that suggest good design they provide bad solutions in a manner that makes it easy for the concerned persons to understand the underlying problems and their consequences.

Depending on the development team's skill the product might have either a good or a bad design with the terms good and bad here applied within a context because a perfect design can qualify as an antipattern when applied in the wrong context.
For example using a Singleton object might be appropriate in a single-application server environment but it can actually create issues if not handled properly in a clustered-application server environment. In contrast to a positive design pattern antipatterns elicit a negative solution or legacy approach .Whether in construction or in maintenance mode knowledge of antipatterns is imperative for success. Once recognized developers can refactor these negative patterns to eradicate the bad design and meliorate the software in general.


 
Is this answer useful? Yes | No

 Related Questions

Latest Answer : when you want to restrict the object creation of a particular call is more tahn one then use singiltion class ...
Read Answers (5) | Asked by : manepalli

Latest Answer : Yep we can make the Singleton class synchronized and non clonebale... ...
Read Answers (6) | Asked by : sunils

Latest Answer : Many interactive Web applications are composed of brittle collections of interdependent Web pages. Such applications can be hard to maintain and extend. The Front Controller pattern defines a single component that is responsible for processing application ...
Read Answers (4) | Asked by : satyanarayana

Latest Answer : Just as design patterns provide a way to communicte  concisely with desired software practices, these antipatterns provide the equivalent advantages of communicating with undesirable practices.An antipattern is a classified bad design , it is just ...
Read Answers (2) | Asked by : Kiran

Latest Answer : Creative Design Pattern is one J2EE patterns. This pattern is used for project design and building. Best ever patterns are J2EE patterns. ...
Read Answers (3) | Asked by : javajet

Latest Answer : A context object encapsulates web server specific HTTP information in more general and portable form.It is used when  * you have components and services that need access to the system information. * You want to decouple application components ...
Read Answers (1) | Asked by : enjoy

Latest Answer : It is a bridge between Objects of different classes..so that they can talk to each other ...

Latest Answer : Concurrent Exception is the one which occurs while you try to do more than one operation on same property like it applies to collections in Java.ex:for (String s : set) {set.add("String");} ...
Read Answers (1) | Asked by : Suganthi

Latest Answer : There is three category in the design pattern realm 1- Creation2- Structure3- Behavioraleach category has its pattern this page may help you:http://en.wikipedia.org/wiki/Category:Software_design_patternsActually the most suitable pattern for web application ...
Read Answers (1) | Asked by : surendra babu

One set of Design Patterns is known as "Antipatterns." Referring to the statement above, how does an Antipattern help in designing a code solution? Choice 1 It allows code to be optimized by demonstrating ways to use bit-wise complements of integers. Choice 2 To enable an implementation of a problem to be developed as quickly as possible when a deadline is approaching Choice 3 To document and explain a code design technique that experience shows does not work well in practice
Read Answers (2) | Asked by : Teena


 Sponsored Links

 
Related Articles

Service Oriented Java Business Integration Review

Service Oriented Java Business Integration Review Introduction If you ve read through the texts which give you an introduction to SOA or Web Services you will often find them to be quite frustrating and the reason for this is because they spend too much time referencing business processes which are
 

Linux Thin Client Networks Design and Deployment Review

Linux Thin Client Networks Design and Deployment Review Introduction This book is written by David Richards a veteran Linux thin client network designer Designed for System Administrators Linux Thin Client Networks Design and Deployment goes over the concepts which are related to thin client network
 

jQuery Three-color Alternating Pattern

Learning jQuery Three color Alternating Pattern There may be times when we want to apply more complex striping For example we can apply a pattern of three alternating row colors rather than just two To do so we first need to define another CSS rule for the third row We ll also reuse the odd and even
 

Service Oriented Design and Development

Service Oriented Design and Development SOAD Service Oriented Analysis and Design The term Service Oriented Analysis and Design  was first used in the publication Elements of Service Oriented Analysis and Design Service Oriented Analysis and Design is also covered in the publication Service
 

Java and Client Server Models

Java and Client Server Models The Role of Client Servers on the Web Client server models provide the essential mechanisms for working with the Internet In fact most of the World Wide Web is built according to this paradigm In client server models the web browsers run by millions of users are the cli
 

Explain about TNSPING

You can also use tnsping utility on command prompt to check Oracle Net connectivity. Follow these steps to check the connection to particular SID. Open Command prompt. Write tnsping < SID for the database connectivity you want to check > If you get the message “Used TNSNAMES
 

Systems Design

In previous chapter, we discussed system analysis and requirements stage in SDLC where everything was laid out on papers.  SDLC makes sure that there is an actual need for the software being developed.  Developers need to think of this first, especially in a business setting.&n
 

The Interview Snafu

How to turn someone else’s mistake to your advantage Your dream job is about to become reality. A recruiter gave you the heads up about the perfect position at Humungous Conglomerate, Inc. You went through five interviews as well as a battery of psychological tests mandated by their HR de
 

Winning a Job Interview with a Winning Resume

Does your resume unlock your potential, take your skills to the highest level and win you the interview and the job you want now? The job market today is highly competitive and even if you think you have what it takes to get an interview you won’t get over the line without a polished, prof
 

WinRunner Script Design Tips

Scripts play an important role in the function of WinRunner. Those who wish to successful with this program will need to learn how to properly create scripts. In this article, I will provide you with a number of useful tips for script creation. The first tip of script development is to always place
 

About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape