how many design pattern r there? and wht design pattern u
use and why ?

Answers were Sorted based on User's Feedback



how many design pattern r there? and wht design pattern u use and why ?..

Answer / ravi ranjan kumar rajnish

In case of sun technology, we can categories in two type
java design pattern and j2ee design pattern.
java design pattern is divided into three category futher
creational pattern, structered pattern and behavioral
pattern.
in J2ee there is 15 types of design pattern

Is This Answer Correct ?    5 Yes 0 No

how many design pattern r there? and wht design pattern u use and why ?..

Answer / smitha

23
MVC - separation of presentation and business logic
DAO- Abstracts and hides data access code from business
logic code

Is This Answer Correct ?    3 Yes 0 No

how many design pattern r there? and wht design pattern u use and why ?..

Answer / ravikiran

Design pattern is the solution for a recurring problem.
Mvc-2 design pattern---For the sake of seperation between
presentation logic and business logic
Data Access Object-----For maintaining databae logic
seperatly
Data Transfer Object---To Maintain Getters and setters for
database columns

Is This Answer Correct ?    2 Yes 0 No

how many design pattern r there? and wht design pattern u use and why ?..

Answer / hima bindu

so many design patterns are used for solving the reoccurs
problems.Mainly these design patterns are used for EJB
Application.They are
1.Front Controller - handling all the requests form client.
2.Application Controller/Business deligate - this is used
for delgate the request to appropriate method in business class.
3.Service Locater -- this is used for the get the reference
of home object.
4.Data Access Object -- It is uesd for connecting with the
databases like hibernate,jdbc connections,JNDI and Etc.
5.Data Transfer Object/Value Object --- if you want to
transfer the data from bean to client and vice-versa.We
create one helper class.In this class we r writing some
setters and getters are used for data transfer.

Is This Answer Correct ?    3 Yes 2 No

how many design pattern r there? and wht design pattern u use and why ?..

Answer / sampath

23

Is This Answer Correct ?    1 Yes 2 No

Post New Answer

More Core Java Interview Questions

When you Click a Button, What event will be fired?

5 Answers  


What are the benefits of immutable objects?

0 Answers  


When abstract methods are used?

1 Answers  


When we give defination of interface method in the class why method must be public???

2 Answers  


what is difference between method overloading & method overridding with example?

4 Answers   IBM,






In java, how many ways you can take input from the console?

0 Answers  


What are basic keywords?

0 Answers  


What is meant by the value of a variable?

0 Answers  


10. What is the output of the following Java program? class Main { public static void main(String args[]){ final int i; i = 10; System.out.println(i); } } 10. What is the output of the following Java program? class Main { public static void main(String args[]){ final int i; i = 10; System.out.println(i); } }

0 Answers  


I need to know about complete topic in java's collections i with an examples

1 Answers   TCS,


Difference between linkedlist and arraylist.

0 Answers  


Difference between the paint() and repaint() methods?

1 Answers  


Categories