Which pattern should be used to eliminate this duplicate code?

The Squeaky Bean company has decided to port their web application to a new J2EE 1.4
container. While reviewing the application, a developer realizes that in multiple places within the
current application,nearly duplicate code exists that finds enterprise beans.Which pattern should
be used to eliminate this duplicate code?

The Squeaky Bean company has decided to port their web application to a new J2EE 1.4
container. While reviewing the application, a developer realizes that in multiple places within the
current application,nearly duplicate code exists that finds enterprise beans.Which pattern should
be used to eliminate this duplicate code?

A.
Transfer Object

B.
Front Controller

C.
Service Locator

D.
Intercepting Filter

E.
Business Delegate

F.
Model-View-Controller

Explanation:



Leave a Reply 0

Your email address will not be published. Required fields are marked *