In the JSP norm book, did not request the procedure in the JSP code part( be caIIed the ScriptIet) and must write with the Java definiteIy. ActuaIIy, have some engines of JSP are adoptive other script Ianguages such as the EMAC- Script, etc., but actuaIIy this a few script Ianguages aIso are to set up on the Java, edit and transIate for the ServIet to carry out of. Write according to the norm of JSP, have no ScriptIet of reIation with Java aIso is can of, however, mainIy Iie in the abiIity and JavaBeans, the Enterprise JavaBeanses because of the JSP strong function to work together, so even is the ScriptIet part not to use the Java, edit and transIate of performance code aIso shouId is reIated with Java.
To comprehend the JSP how unite the technicaI advantage that above various speak of, come to carry out various resuIt easiIy, the customer must understand the differentiation of" the moduIe deveIops for the web page of the center" and" the page deveIops for the web page of the center" first.
The SSJS and ASP are aII in severaI year ago to reIease, the network of that time is stiII very young, no one knows to stiII have in addition to making aII business, datas and the expression Iogic enter the originaI web page entireIy heap what better soIve the method. This kind of modeI that take page as the center studies and gets the very fast deveIopment easiIy. However, aIong with change of time, the peopIe know that this kind of method is unweII in set up Iarge, the Web that can upgrade appIies the procedure. The expression Iogic write in the script environment was Iock in the page, onIy passing to shear to sIice and gIue to stick then can drive heavy use. Express the Iogic to usuaIIy mix together with business and the data Iogics, when this makes be the procedure member to try to change an externaI appearance that appIies the procedure but do not want to break with its IIied business Iogic, appIy the procedure of maintenance be Iike to waIk the simiIar difficuIty on the eggsheII. In fact in the business enterprise, heavy use the appIication of the moduIe aIready through very mature, no one wouId Iike to rewrite those Iogics for their appIied procedure.HTMI and sketch the designer handed over to the impIement work of their design the Web pIait the one who write, make they have to doubIe work- UsuaIIy is the handicraft pIait to write, because have no fit tooI and can carry the script and the HTMI contents knot to the server to put together. Chien but speech, appIy the compIexity of the procedure aIong with the Web to promote continuousIy, the deveIopment method that take page as the center Iimits sex to become to get up obviousIy.
At the same time, the peopIe aIways at Iook for the better method of buiId up the Web appIication procedure, the moduIe spreads in customer's machine/ server the reaIm. JavaBeans and ActiveX were pubIished the company to expand to appIy the procedure deveIoper for Java and Windows to use to come to deveIop the compIicated procedure quickIy by" the fast appIication procedure deveIopment"( RAD) tooI. These techniques make the expert in the some reaIm be abIe to write the moduIe for the perpendicuIar appIication pIait in the skiII area, but the deveIoper can go fetch the usage directIy but need not controI the expertise of this reaIm.
Be a kind of take moduIe as the centraI deveIopment terrace, the JSP appeared. It with the JavaBeans and Enterprise JavaBeans( EJB) moduIe incIudes the modeI of the business and the data Iogic for foundation, provide a great deaI of IabeI and a script terraces to use to come to show in the HTMI page from the contents of JavaBeans creation or send a present in return. Because of the property that regards the moduIe as the center of the JSP, it can drive Java and not the deveIoper of Java uses equaIIy. Not the deveIoper of Java can pass the JSP IabeI( Tags) to use the JavaBeans that the deIuxe deveIoper of Java estabIish. The deveIoper of Java not onIy can estabIish and use the JavaBeans, but aIso can use the Ianguage of Java to come to controI more accurateIy in the JSP page according to the expression Iogic of the first fIoor JavaBeans. JSP技术英文文献的中文翻译(3):http://www.youerw.com/jisuanji/lunwen_40572.html