what are design patterns?




Answers were Sorted based on User's Feedback



what are design patterns?..

Answer / srinivas.parigi

design patterns are a good solutions for reoccuring
problems in the development of appliation, and these are
designed by senior software developers by using very good
frameworks.
using design pattens a junior can spend less time to solve
the problems insted of spending lot of time for reoccuring
problems in the development of applications.
Ex :
single thread model,DataAccessObject,DataAccesLogic,
mvc-II(most popular today using in all development of
applications)
ejb design patterns(EDP) : SLDP(service locator design
pattern),Business deligate desing patt,Home cash
DP,DataTransfer Object (DTO)SessionFecade(SF),etc

Is This Answer Correct ?    1 Yes 1 No

what are design patterns?..

Answer / naresh

In software engineering, a design pattern is a general
reusable solution to a commonly occurring problem in
software design. A design pattern is not a finished design
that can be transformed directly into code. It is a
description or template for how to solve a problem that can
be used in many different situations. Object-oriented
design patterns typically show relationships and
interactions between classes or objects, without specifying
the final application classes or objects that are involved.

Design patterns reside in the domain of modules and
interconnections. At a higher level there are Architectural
patterns that are larger in scope, usually describing an
overall pattern followed by an entire system.[1]


Abstract Factory
Builder
Factory Method
Prototype
Singleton
Adapter
Bridge
Composite
Facade
Flyweight
Proxy
Chain of responsibility
Command
Interpreter
Iterator
Mediator
Memento
Observer
State
Strategy
Template method
Visitor

Is This Answer Correct ?    0 Yes 0 No

what are design patterns?..

Answer / rajashree

Software professionals may be familiar with the
term "Design Patterns," but many have no idea of where they
come from and what they truly are. Consequently, some do
not see the value and benefits design patterns bring to the
software development process, especially in the areas of
maintenance and code reuse. This article will bridge this
gap by defining design patterns from a historical
perspective. It will also summarize the salient features of
a typical design pattern and arrive at a working definition
so that you will know what they are and what to expect when
you incorporate them into your designs. Finally, it will
explicitly summarize the benefits design patterns bring to
software development and why you should incorporate them
into your work. Subsequent articles will present more
detailed descriptions of some of the more common design
patterns, and how they can be applied to software
development on the .NET platform.

Is This Answer Correct ?    0 Yes 3 No



Post New Answer



More JDBC Interview Questions

Explain about the drive manager class working?

0 Answers  


What are the different types of JDBC drivers?

0 Answers  


What is the exception thrown by JDBC ?

7 Answers  


How do you determine the sensitivity of the ResultSet object?

0 Answers  


dear friends I have made connection with SQLSERVER where the following code is compiling properly but giving error at the runtime . I think error in this line where i am sending the value through string Connection connection = DriverManager.getConnection ( "jdbc:microsoft:sqlserver://localhost:1433","sa",""); import java.sql.*; //import mssqlserver.*; public class TestSQLCON { public TestSQLCON() throws Exception { // Get connection DriverManager.registerDriver(new com.microsoft.jdbc.sqlserver.SQLServerDriver()); System.out.println(); System.out.println("Successfully connected one"); System.out.println(); Connection connection = DriverManager.getConnection ( "jdbc:microsoft:sqlserver://localhost:1433","sa",""); if (connection != null) { System.out.println(); System.out.println("Successfully connected"); System.out.println(); // Meta data DatabaseMetaData meta = connection.getMetaData(); System.out.println("\nDriver Information"); System.out.println("Driver Name: " + meta.getDriverName()); System.out.println("Driver Version: " + meta.getDriverVersion()); System.out.println("\nDatabase Information "); System.out.println("Database Name: " + meta.getDatabaseProductName()); System.out.println("Database Version: "+ meta.getDatabaseProductVersion()); } } public static void main (String args[]) throws Exception { TestSQLCON test = new TestSQLCON(); } } so please help me

2 Answers  






Give steps to connect to the db using jdbc?

0 Answers  


If I use the JDBC API, do I have to use ODBC underneath?

0 Answers  


What is PreparedStatement?

6 Answers   Wipro, Infogain,


How do I retrieve a whole row of data at once, instead of calling an individual ResultSet.getXXX method for each column?

0 Answers  


What is JDBC Connection isolation levels?

0 Answers  


What types of DataSource objects are specified in the Optional Package?

0 Answers  


What is the use of getGeneratedKeys() method in Statement?

0 Answers  






Categories