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

Does constructor creates the object ?

584


What are synchronized methods ?

617


What are different types of expressions?

554


What is one third plus one third as a fraction?

487


How do you do a line break in java?

494






Difference between nested and inner classes ?

610


What is concurrent hashmap and its features?

524


What is Enum in Java?

686


What is the numeric promotion?

499


what is difference betweem home interface and remote interface?

2116


What are loops in java? What are three types of loops?

551


Why is stringbuffer thread safe?

567


What is the difference between method overriding and overloading?

580


Tell me about different OOPS concepts.

593


Difference between java and javascript

586