JSP技术外文文献.docx

上传人:wj 文档编号:350975 上传时间:2023-04-29 格式:DOCX 页数:8 大小:20.10KB
下载 相关 举报
JSP技术外文文献.docx_第1页
第1页 / 共8页
JSP技术外文文献.docx_第2页
第2页 / 共8页
JSP技术外文文献.docx_第3页
第3页 / 共8页
JSP技术外文文献.docx_第4页
第4页 / 共8页
JSP技术外文文献.docx_第5页
第5页 / 共8页
JSP技术外文文献.docx_第6页
第6页 / 共8页
JSP技术外文文献.docx_第7页
第7页 / 共8页
JSP技术外文文献.docx_第8页
第8页 / 共8页
亲,该文档总共8页,全部预览完了,如果喜欢就下载吧!
下载资源
资源描述

JSP技术外文文献.docx

《JSP技术外文文献.docx》由会员分享,可在线阅读,更多相关《JSP技术外文文献.docx(8页珍藏版)》请在冰点文库上搜索。

JSP技术外文文献.docx

JSPandWEBtechnology

KathySierra,BertBates

1JSPIntroduction

JSP(JavaServerPages)isaJava-basedscriptingtechnology.IsadvocatedbySunMicrosystemsInc.,togetherwithanumberofcompaniesinvolvedinthe

establishmentofadynamicwebpagetechnologystandards.JSPtechnologyis

somewhatsimilartoASPtechnology,ItisatraditionalHTMLpagefile(*.htm,*.html)toinsertJavaprogramsegment(Scriptlet)andJSPtag(tag),ToformtheJSPfile(*jsp).WebdevelopmentwithJSPisacross-platformapplicationsthatcanrununderLinux,butalsoinotheroperatingsystems.IntheJSPofthemanyadvantages,oneofwhichisthatitwillbeHTMLencodedWebpagefromthebusinesslogic

separatedeffectively.JSPaccesswithreusablecomponents,suchasServlet,

JavaBeanandJava-basedWebapplications.JSPalsosupportsdirectlyintheWebpageembeddedJavacode.JSPcanbeusedtwowaystoaccessdocuments:

JSPdocumentssentbythebrowserrequest,therequestsenttotheServlet.JSP

technologyusesJavaprogramminglanguage,XML-typetagsandscriptlets,tohaveapackagedealwiththelogicofdynamicpages.Pagetagsandscriptletscanalso

existintheserveraccesstotheresourcesoftheapplicationlogic.JSPlogicandWebpagedesignanddisplayisolatedandsupportreusablecomponent-baseddesign,

Web-basedapplicationsmorequicklyandeasilydeveloped.

TheWebserverwhenmeetsvisitstheJSPhomepagetherequest,firstcarriesoutsegment,willthencarryouttheresultcodetoreturntogetherwithJSPinthedocumentHTMLforthecustomer.TheinsertionJavasegmentmayoperatethe

database,againthedirectionalhomepageandsoon,realizesthefunctionwhichtheestablishmentdynamichomepageneeds.JSPandJavaServletarethesame,isintheserverendexecution,usuallyreturnstothisclientsideisaHTMLtext,therefore

clientside,solongashasthebrowsertobeabletoglanceover.

TheJSPpageiscomposedoftheHTMLcodeandtheinsertingJavacode.TheserverinthepagebytheclientsidewasrequestedthatlaterwillcarryonprocessingtotheseJavacode,willthenproducetheHTMLpagewillreturngivestheclientsidethebrowser.JavaServletistheJSPtechnologybase,moreoverthelarge-scaleWebapplicationprocedure'sdevelopmentneedsJavaServletandtheJSPcoordination

cancomplete.JSPhadtheJavatechnologysimplyeasytouse,complete

object-oriented,hadtheplatformindependency,andsafereliable,mainlyfacedInternet'sallcharacteristics.

2JSPcomputingtechnique

Tocarryonthedynamicwebsiteconvenientlyfastthedevelopment,JSPhasmadetheimprovementinthefollowingseveralaspects,causesittobecomebuildsthecrossplatformfastthedynamicwebsitefirstchoiceplan.

2.1carriesonthecontentproductionandthedemonstrationseparates

WiththeJSPtechnology,theWebpagedevelopmentpersonnelmayuseHTMLortheXMLmarkingdesignandtheformattedfinalpage,andusestheJSPmarkingorthetootsyproducesonpage'sdynamiccontentoriginally.Productioncontent's

logicissealedinmarksandintheJavaBeansmodule,andtiesupinthescript,allscriptsinserverendmovement.Becausecorelogicissealedinmarksandin

JavaBeans,thereforetheWebadministrativepersonnelsandthepagedesigner,caneditandusetheJSPpage,butdoesnotaffectthecontenttheproduction.Inthe

serverend,theJSPengineexplainedthattheJSPmarkingandthescript,producethecontentwhichrequested,and(orXML)page'sformtransmitstheresultbyHTML

thebrowser.Thisbotharehelpfulintheauthorprotectsowncode,andcanguaranteeanybasedontheHTMLWebbrowser'scompleteusability.

2.2mayentrustwithheavyresponsibilitythemodule

TheoverwhelmingmajorityJSPpagereliesonmayentrustwithheavy

responsibility,thecrossplatformmodule(JavaBeansorEnterprisetheJavaBeansmodule)carriesoutcomplexprocessingwhichtheapplicationprocedurerequests.

Thedevelopmentpersonnelcanshareandexchangetheexecutionordinaryoperationthemodule,orcausesthesemodulesusesformoreusersandthecustomer

association.Hasacceleratedtheoveralldevelopmentprocessbasedonmodule's

method,andcauseseachkindoforganizationobtainsbalancedintheirexistingskillandintheoptimizedresultdevelopmentendeavor.

2.3usesmarking

TheWebpagedevelopmentpersonnelwillnotbethefamiliarscriptlanguageprogrammers.TheJSPtechnologyhassealedmanyfunctions,thesefunctionsareeasytouse,markingtocarryonthedynamiccontentproductionwithJSPintherelatedXMLtoneed.ThestandardJSPmarkingcanvisitandtheinstantiation

JavaBeansmodule,theestablishmentortheretrievalmoduleattribute,downloadsApplet,aswellastheexecutiondifficultywithcodesandthetime-consuming

functionwithothermethods.

2.4adaptstheplatform

NearlyallplatformssupportJava,JSP+JavaBeanstobepossibletopass

unimpedednearlyunderallplatforms.Transplantsfromaplatformtootherplatform,

JSPandJavaBeansdoesnotevenneedtotranslate,becausetheJavabytecodeisstandardhasnothingtodowiththeplatform.

2.5databaseconnection

InJavaconnectsthedatabasethetechnologyistheJDBC,Javaprocedureis

connectedthroughtheJDBCdriverandthedatabase,operationsandsoonexecutioninquiry,extractiondata.SunCorporationhasalsodevelopedJDBC-ODBCbridge,usesthistechnicalJavaproceduretobepossibletovisithastheODBCdriver

database,atpresentthemajoritydatabasesystemshavetheODBCdriver,thereforetheJavaprocedurecanvisitsuchasOracle,Sybase,MSSQLServeranddatabasesandsoonMSAccess.Inaddition,throughthedevelopmentmarkingstorehouse,theJSPtechnologymayfurtherexpand.Thethirdpartydevelopmentpersonneland

otherpersonnelmayfoundtheirmarkingstorehouseforthecommonlyusedfunction.ThisenablestheWebpagedevelopmentpersonneltobeabletousethefamiliartoolandtobesimilartomarkingsamecarriesoutthespecificfunctioncomponentto

carryonthework.TheJSPtechnologyveryeasyconformitytomanykindsof

applicationarchitecture,tousetheextanttoolandtheskill,andcanexpandtothesupportenterprisedistributionalapplication.

3Eclipsefunctionsynopsis

MoreandmoreJavadevelopmentpersonnelalreadystartedtheproductivitywhichandthequalityincomeappreciatesEclipseJDTtoprovide.ItwastheJava

editorprovidesgrammarGaoLiangtodemonstratethattheformatting,thefold,thecontentwereauxiliary,codetemplateandsoonmanyfunctions.Itgrows

unceasinglyavailablerestructuringandthecodegenerationfunctionsetpermitsyouinahigherranktheoperationcode,andautomatedusualcodeintensitydutyand

easywrongduty.Moreover,indevelopsthecodeandusesJDTtocompileandtocarryouttheJUnittestbuilt-insupportcarriesontheunittestingafterthecode,

mayuseEclipsethefirst-classJavadebuggerdebuggingwhenthemovementmeetsanyquestion.BesidesJDT,EclipseSDK-themostpopularEclipse.orgdownloading

-alsocontainsPlug-inDevelopmentEnvironment(PDE).PDEusedthespecific

functiontoexpandJDTtoconstructtheEclipseplug-inunit-basedontheEclipseapplicationprocedurebasicconstructionagglomeration.Infact,usesthetoolwhichprovidesbyEclipseitselftobeabletosurmounttheJavadevelopment,mayexpandtheexistingEclipseapplicationprocedure,orevenfoundsthebrand-newapplicationprocedure.

Eclipsebyascriptlevelconstitution,containsinmanyfunctionalmodulesor

theEclipseterminologyso-called“theplug-inunit”.Theplug-inunitisprovidesallfunctionsintheEclipseapplicationprocedurethemodule.Theycooperatethrough

itsAPItopaythefinaloutcometogether.InEclipse,eventhemostfoundation's

function,forinstancethesearchandthestartinstallment'splug-inunit,sealsintheplug-inunit.InordertoexpandtheexistingEclipsefunctionorcarryonthe

constructioninabove,theplug-inunittheconcreteexpansioncontributionfortheexpansionspotwhichwillexposebyotherplug-inunits.Usually,theplug-inunitconcentratesthespecificregionresponsibility,andgivesthroughoramany

expansionwayotherresponsibilitydesignationotherplug-inunits.Forexample,a

plug-inunitallowsyouparalleltocomparetwodocumentsvisiblythecontents,butitwillnotcarehowtoreadthesedocumentsevenhowtoexplainthesedocument

structure;Thisisotherplug-inunit'swork.Whencomparedwithtwodocuments,

thisplug-inunitfirstinspectswhethertohaveanotherplug-inunittobepossibletoexplainthesedocumentstructure.Iffoundone,ittotheplug-inunitinquiryrelatedfileorganizationinformationwhichfound,andusedthisinformationinthe

comparisonprocess.

MayseethatthemodularconstructionwasEclipsehasprovidedthehugeflexibility,andprovidedonetobepossibletosupportthemassiveapplicationprocedureplatformwhichtheoriginaldesignhasnotexpected.

4Structsfunctionsynopsis

StrutsisaMVCframe(Framework),usesindevelopingJavafasttheWeb

application.StrutsrealizesthekeypointinC(Controller),Actionwhichandwehavecustom-madeincludingActionServlet/RequestProcessor,wasalsoV(View)providesaseriesofrowstohavecustom-madethelabel(CustomTag).Springisalight

vessel(light-weightcontainer),itscoreistheBeanfactory(BeanFactory),withconstructsM(Model)whichweneed.Abovethisfoundation,SpringhasprovidedAOP(Aspect-OrientedProgramming,facestratificationplaneprogramming)

realization,providesunderthenon-managementenvironmentwithittodeclareservicesandsoonwaybusiness,security;Ismoreco

展开阅读全文
相关资源
猜你喜欢
相关搜索
资源标签

当前位置:首页 > 自然科学 > 物理

copyright@ 2008-2023 冰点文库 网站版权所有

经营许可证编号:鄂ICP备19020893号-2