JSP技术是友还是敌(外文文献翻译)

上传人:cl****1 文档编号:485491521 上传时间:2023-07-16 格式:DOC 页数:8 大小:47KB
返回 下载 相关 举报
JSP技术是友还是敌(外文文献翻译)_第1页
第1页 / 共8页
JSP技术是友还是敌(外文文献翻译)_第2页
第2页 / 共8页
JSP技术是友还是敌(外文文献翻译)_第3页
第3页 / 共8页
JSP技术是友还是敌(外文文献翻译)_第4页
第4页 / 共8页
JSP技术是友还是敌(外文文献翻译)_第5页
第5页 / 共8页
点击查看更多>>
资源描述

《JSP技术是友还是敌(外文文献翻译)》由会员分享,可在线阅读,更多相关《JSP技术是友还是敌(外文文献翻译)(8页珍藏版)》请在金锄头文库上搜索。

1、 JSP technology - friend or foe?A critical look at JavaServer Pages servlets as a viable presentation technologyBrett McLaughlinEnhydra Strategist, Lutris TechnologiesOctober 2000An old Java technology hand and new Enhydra partisan, the author urges developers to consider alternatives to JavaServer

2、Pages JSP servlets when choosing an approach to coding Web applications. JSP technology, part of Suns J2EE platform and programming model, serves as a solution to the common dilemma of how to turn drab content into a visually appealing presentation layer. The fact is, Web developers arent uniformly

3、happy with JSP technology. Since many variations on the Sun technology are now available, you can choose from a number of presentation technologies. This article takes an in-depth look at JSP coding and explores some attractive alternatives.Presentation technology was designed to transform plain ol

4、raw Web content into content wrapped in an attractive presentation layer. JavaServer Pages JSP technology, Suns presentation model and part of the J2EE platform, has received significant attention. There are both advantages and disadvantages to using JSP technology, and Web developers should be awar

5、e of the good and the bad - and know that they dont have to be limited to this single technology. In fact, these days a number of presentation technologies are available. This article begins by defining the problems presentation technologies were designed to solve. It then examines the specific stre

6、ngths and weaknesses of the JSP model. Finally, it introduces some viable alternatives to Suns presentation technology.A bit of historyBefore diving into an explanation of presentation technology, its helpful to fill in some details on the situation that led to the birth of the technology. Just 10 s

7、hort years ago, the term thin client was a novelty. We still lived in a world of desktop applications, powered by wimpy 286 microprocessors with 14-inch monitors that we squinted at. Boy, have times changed! Now my desktop does nothing but power a Web browser, while servers from Sun, IBM, HP, Compaq

8、, and the rest churn out computations, business logic, and content. And that little monitor? Replaced by flat-screen, plasma, whopping 21- and 25-inch beauties. Why? So we can see the intricate and complex 6HTML displays that serve as a front-end to these powerful applications. No longer does a clun

9、ky interface suffice; now we expect flashy graphics, moving images, color-coordinated presentations that would look good in any room in the house, and speedy rendering to boot.The premiseToday, a decade beyond those fledgling Windows applications, we are still dealing with this huge shift in the pre

10、sentation paradigm. The woeful Visual Basic and C programmers who remain now find themselves working either on back-end systems or Windows-only applications, or they have added a Web-capable language such as the Java language to their toolbox. An application that doesnt support at least three of fou

11、r ML-isms - such as HTML, XML, and WML - is considered shabby, if not an outright failure. And, of course, that means we all care very deeply about the ability to easily develop a Web presentation layer.As it turns out, using the new Internet, and all the languages we have at our disposal - Java, C,

12、 Perl, Pascal, and Ada, among others - hasnt been as easy as we might have hoped. A number of issues creep up when it comes to taking the programming languages everyone used for back-end systems and leveraging them to generate markup language suitable for a client. With the arrival of more options o

13、n the browser DHTML and JavaScript coding, for example , the increase in graphic artist talent in the Web domain, and tools that could create complex interfaces using standard HTML, the demand for fancy user interfaces has grown faster than our ability to develop these front ends to our applications

14、. And this has given rise to presentation technology.Presentation technology was designed to perform a single task: convert content, namely data without display details, into presentation - meaning the various user interfaces you see on your phone, PalmPilot, or Web browser. What are the problems th

15、at these presentation technologies claimed to solve? Lets take a look.Segregation vs. integrationThe primary purpose of presentation technology is to allow a separation between content and presentation. In other words, business logic units presumably in some programming language like C or Java dont

16、have to generate data in a presentation-specific manner. Data, or content, is returned raw, without formatting. The presentation technology then applies formatting, or presentation, to this content. The result is an amalgam of data surrounded by and intertwined with graphics, formatting, colors, and logos.Look at the examples in Listing 1 and Listing 2 to see at a glance the difference between raw content and conten

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 商业/管理/HR > 营销创新

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号