- 1、本文档共57页,可阅读全部内容。
- 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
Applications With The Struts FrameworkSession WE06 – 11
Building Web Applications With The Struts Framework Session WE06 – 11/20/2002 – 10:00-11:00 Craig R. McClanahan Senior Staff Engineer Sun Microsystems, Inc. Session Outline Web Applications Backgrounder The Model-View-Controller Architecture The Struts Framework Building A Web Application With Struts Resources Web Applications Backgrounder Web Applications Backgrounder Web applications run over the HTTP protocol: Request/response oriented Stateless Web applications use varied presentation (markup) languages, and talk to varied client hardware devices: “Standard HTML” -- not! Varying dynamic and JavaScript capabilities Wireless devices vary in capabilities, language dialect, and input device support Simple Solutions ... for Simple Problems For relatively simple applications, a simple architecture works fine For each page in the user interface ... Create a servlet, JSP page, or something similar The page includes: Logic to create the user interface Logic to retrieve required information from the database Logic to perform the appropriate business transaction Logic to update the corresponding database information And its all mixed together in one source file This works fine for a Guest Book app, but what about something bigger? What About Large Scale Applications? Disparate skill sets required: Presentation Layer-- User interface design, visual appearance, interaction model Application Layer – Functional business logic to perform required transactions Persistence Layer – Databases, directory servers, messaging, Enterprise JavaBeansTM (EJBs) Application Deployment – Networks, firewalls, public key infrastructures, load balancing, failover We need a fundamental organizing principle: The Model-View-Controller (MVC) architecture The Model-View-Controller (MVC) Architecture The Model-View-Controller Architecture Divides the overall functionality of an application into three layers: Model Layer – Contains the functional business logic of the application, as well as a repr
您可能关注的文档
最近下载
- 96张各类数据安全治理数据安全管理体系架构图网络安全信息安全运行数据分类分级架构可编辑PPT资料.pptx VIP
- “共和国勋章”获得者黄旭华微党课ppt课件.pptx VIP
- 2024-2025学年北京西城区七年级初一(上)期末数学试卷(含答案).pdf
- 军史课件(精华版).ppt VIP
- 义务教育数学课程标准变化与解读.pptx
- 2025年软件资格考试信息系统管理工程师(中级)(基础知识、应用技术)合卷试卷及答案指导.docx VIP
- 医美整形咨询师案例成交话术(全).doc
- 好书推荐名著导读《骆驼祥子》阅读分享PPT课件.pptx
- 企业春节后复工复产工作方案.doc
- 04水平四 七年级 武术18课时大单元计划+《健身长拳》.doc VIP
文档评论(0)