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
Why are global variables used?
What are static initalizers in java ?
Which method returns the length of a string?
Is java call by value?
What is the use of static class?
What are the different ways of implementing thread? Which one is more advantageous?
Give few difference between constructor and method?
What are design patterns and please explain?
What is the difference between compiler and jvm?
What is super constructor?
How arrays are stored in memory in java?
Give me an example of array and linked list? Where they can be used?
Why array is used in java?
What is the difference between checked exception and unchecked exception?
What is google full form?