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
What are the major advantages of internal iteration over external iteration?
How many types of memory areas are allocated by jvm?
Can we have more than one package statement in source file ?
What is cr keyboard?
Which is the best sorting technique in java?
What is null data type?
What are the main features of java?
Does string is thread-safe in java?
What is class forname used for?
What is hashtable and explain features of hashtable?
When do we need to use internal iteration? When do we need to use external iteration?
What is constant in programming?
what are three ways in which a thread can enter the waiting state? : Java thread
Why is an interface be able to extend more than one interface but a class can’t extend more than one class?
What is lambda in java?