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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why are global variables used?

503


What are static initalizers in java ?

583


Which method returns the length of a string?

571


Is java call by value?

586


What is the use of static class?

548






What are the different ways of implementing thread? Which one is more advantageous?

538


Give few difference between constructor and method?

522


What are design patterns and please explain?

574


What is the difference between compiler and jvm?

555


What is super constructor?

551


How arrays are stored in memory in java?

513


Give me an example of array and linked list? Where they can be used?

557


Why array is used in java?

519


What is the difference between checked exception and unchecked exception?

530


What is google full form?

537