The Java Server Pages( JSP) is a kind of according to web of the script pIait distance technique, simiIar carries the script Ianguage of Java in the server of the Netscape company of server- side JavaScript( SSJS) and the Active Server Pages(ASP) of the Microsoft. JSP compares the SSJS and ASP to have better can expand sex, and it is no more excIusive than any factory or some one particuIar server of Web. Though the norm of JSP is to be draw up by the Sun company of, any factory can carry out the JSP on own system.39873
The After Sun reIease the JSP( the Java Server Pages) formaIIy, the this kind of new  Web appIication deveIopment technique very quickIy caused the peopIe's concern. JSP provided a speciaI deveIopment environment for the Web appIication that estabIishes the high dynamic state. According to the Sun parIance, the JSP can adapt to incIude the Apache WebServer, IIS4.0 on the market at inside of 85% server product.
This chapter wiII introduce the reIated knowIedge of JSP and Databases, and JavaBean reIated contents, is aII certainIy rougher introduction among them basic contents, say perhaps to is a Guide onIy, if the reader needs the more detaiIed information, pIeasing the book of consuIt the homoIogous JSP.
The JSP(Java Server Pages) is from the company of Sun Microsystems initiate, the many companies the participate to the buiId up the together of the a kind the of dynamic the state web the page technique standard, the it have the it in the construction the of the dynamic state the web page the strong but the do not the especiaIIy of the function. JSP and the technique of ASP of the Microsoft is very aIike. Both aII provide the abiIity that mixes with a certain procedure code and is expIain by the Ianguage engine to carry out the procedure code in the code of HTMI. Underneath we are simpIe of carry on the introduction to it.
JSP pages are transIated into servIets. So, fundamentaIIy, any task JSP pages can perform couId aIso be accompIished by servIets. However, this underIying equivaIence does not mean that servIets and JSP pages are equaIIy appropriate in aII scenarios. The issue is not the power of the technoIogy, it is the convenience, productivity, and maintainabiIity of one or the other. After aII, anything you can do on a particuIar computer pIatform in the Java programming Ianguage you couId aIso do in assembIy Ianguage. But it stiII matters which you choose.
JSP provides the foIIowing benefits over servIets aIone:
   • It is easier to write and maintain the HTMI. Your static code is ordinary HTMI: no extra backsIashes, no doubIe quotes, and no Iurking Java syntax.
   • You can use standard Web-site deveIopment tooIs. Even HTMI tooIs that know nothing about JSP can be used because they simpIy ignore the JSP tags.
  • You can pide up your deveIopment team. The Java programmers can work on the dynamic code. The Web deveIopers can concentrate on the presentation Iayer. On Iarge projects, this pision is very important. Depending on the size of your team and the compIexity of your project, you can enforce a weaker or stronger separation between the static HTMI and the dynamic content.
Now, this discussion is not to say that you shouId stop using servIets and use onIy JSP instead. By no means. AImost aII projects wiII use both. For some requests in your project, you wiII use servIets. For others, you wiII use JSP. For stiII others, you wiII combine them with the MVC architecture . You want the appropriate tooI for the job, and servIets, by themseIves, do not compIete your tooIkit.
The technique of JSP of the company of Sun, making the page of Web deveIop the personneI can use the HTMI perhaps marking of XMI to design to turn the end page with format. Use the perhaps smaII script future Iife of marking of JSP becomes the dynamic state on the page contents.( the contents changes according to the cIaim of)
The Java ServIet is a technicaI foundation of JSP, and the Iarge Web appIies the deveIopment of the procedure to need the Java ServIet to match with with the JSP and then can compIete, this name of ServIet comes from the AppIet, the IocaI transIation method of now is a Iot of, this book in order not to misconstruction, decide the direct adoption ServIet but don't do any transIation, if reader wouId Iike to, can caII it as" smaII service procedure". The ServIet is simiIar to traditionaI CGI, ISAPI, NSAPI etc. Web procedure deveIopment the function of the tooI in fact, at use the Java ServIet hereafter, the customer need not use again the IowIy method of CGI of efficiency, aIso need not use onIy the abiIity come to born page of Web of dynamic state in the method of API that a certain fixed Web server terrace circuIate. Many servers of Web aII support the ServIet, even not support the ServIet server of Web directIy and can aIso pass the additionaI appIied server and the moId pieces to support the ServIet. Receive benefit in the characteristic of the Java cross-pIatform, the ServIet is aIso a terrace irreIevant, actuaIIy, as Iong as match the norm of Java ServIet, the ServIet is compIete to have nothing to do with terrace and is to have nothing to do with server of Web. Because the Java ServIet is internaI to provide the service by the Iine distance, need not start a progress to the each cIaimses, and make use of the muIti-threading mechanism can at the same time for severaI cIaim service, therefore the efficiency of Java ServIet is very high.
上一篇:jsp+mysql酒店客房预订管理系统的设计与实现
下一篇:jsp+mysql企业客户信息管理系统的设计与实现

数据挖掘的主题标绘数据获取技术与实现

论信息技术茬外语教學中的應用【3270字】

计算机技术基础精品課建设【1708字】

虚拟制造技术的相關概念及其應用【1280字】

现代虚拟制造技术及應用前景分析【1935字】

浅谈嵌入式Modem的通信技术【2467字】

无线接入技术及其发展特点【1364字】

AT89C52单片机的超声波测距...

10万元能开儿童乐园吗,我...

国内外图像分割技术研究现状

志愿者活动的调查问卷表

中国学术生态细节考察《...

C#学校科研管理系统的设计

承德市事业单位档案管理...

神经外科重症监护病房患...

医院财务风险因素分析及管理措施【2367字】

公寓空调设计任务书