AdeveloperisdesigningawebapplicationwhichextensivelyusesEJBsandJMS.Thedeveloperfindsthatth

题目

AdeveloperisdesigningawebapplicationwhichextensivelyusesEJBsandJMS.ThedeveloperfindsthatthereisalotofduplicatedcodetobuildtheJNDIcontextstoaccessthebeansandqueues.Further,becauseofthecomplexity,therearenumerouserrorsinthecode.WhichJ2EEdesignpatternprovidesasolutionforthisproblem?()

A.Command

B.Transferobject

C.Servicelocator

D.SessionFaçade

E.Businessdelegate

F.Dataaccessobject

参考答案和解析
参考答案:C