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 can we not override static method?
How will you reverse a singly-link list?
What is the difference between integer parseint and integer valueof?
What is a nested class?
Explain the difference between protected and default access.
What is parsing in grammar?
Define iterator and methods in iterator?
How does hashmap work in java ?
What is void in java?
Explain importance of throws keyword in java?
Is arraylist dynamic in java?
What is the main method java?
What is null mean in java?
What is io stream in java?
What is the range of a character variable?