A.Storethedatainavocalvariable.
B.Storethedatainaninstancevariable.
C.StorethedataintheHttpSessionobject.
D.StorethedataintheServletContextobject.
E.StorethedataintheServletRequestobject.
第1题
Adeveloperisdesigningamulti-tierwebapplicationanddiscoversaneedtohidethedetailsofestablishingandmaintainingremotecommunicationsfromtheclient.Inaddition,theapplicationneedstofind,ina transparentmanner,theheterogeneousbusinesscomponentsusedtoservicetheclient’srequests.Which designpatterns,workingtogether,addresstheseissues?()
A.BusinessDelegateandTransferObject
B.BusinessDelegateandServiceLocator
C.FrontControllerandBusinessDelegate
D.InterceptingFilterandTransferObject
第2题
A.whenasessioniscreated
B.afteraservletisdestroyed
C.whenasessionhastimedout
D.whenacookiehasbeencreated
E.whenaservlethasforwardedarequest
F.whenasessionattributevalueischanged
第3题
A.SessionFacade
B.BusinessDelegate
C.DataAccessObject
D.Model-View-Controller
E.ChainofResponsibility
第4题
ServletAreceivesarequestthatitforwardstoservletBwithinanotherwebapplicationinthesamewebcontainer.ServletAneedstosharedatawithservletBandthatdatamustnotbevisibletootherservletsinA’swebapplication.InwhichobjectcanthedatathatAshareswithBbestored?()
A.HttpSession
B.ServletConfig
C.ServletContext
D.HttpServletRequest
E.HttpServletResponse
为了保护您的账号安全,请在“上学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!