[计算机软件及应用]1_2 Java EE Platform.ppt

  1. 1、本文档共81页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
[计算机软件及应用]1_2 Java EE Platform

Java? EE 5 Platform SSE USTC Qing Ding Agenda Java EE 5 Theme: Ease of development EJB 3.0 Programming model Persistence JAXB 2.0 JAX-WS 2.0(Used to be called JAX-RPC) JavaSever Faces 1.2 JBI 1.0 (Java Business Integration) SOA Not part of Java EE 5 The J2EETM Challenge J2EE is enormously powerful The industry standard for robust enterprise apps But that power sometimes gets in the way Too difficult to get started Even simple apps need boring boilerplate Can we keep the power, but make typical development tasks simpler? YES: and that is the focus of Java EE 5! EoD Improvements in JavaTM EE 5 POJO-based programming More freedom, fewer requirements Extensive use of annotations Reduced need for deployment descriptors Resource Injection Inversion of control New APIs and frameworks Annotations in JavaTM EE 5 Making extensive use of annotations For defining and using web services To map Java classes to XML To greatly simplify EJB development To map Java classes to databases To specify external dependencies To reduce need for deployment descriptors JavaTM EE 5 Major Features Simplified web services support More web service standards support Greatly simplified EJBTM development New persistence API Easy web applications with JavaServerTM Faces Java EE 5 Platform JSR 220 (EJB 3.0) JSR 224 (JAX-WS 2.0) JSR 222 (JAXB 2.0) JSR 252 (JavaServer Faces 1.2) JSR 52 (JSTL 1.1) JSR 181 (WS Annotations) JSR 245 (JSP 2.1) Java EE Platform APIs EJB 3.0 Primary Goal of EJB 3.0 Ease of Development! EJB 2.1 Very powerful, but complex to use Too many classes, interfaces Java Naming and Directory Interface? (JNDI) API lookups javax.ejb interfaces Awkward programming model Deployment descriptors Entity bean anti-patterns ... Ease of Development in EJB 3.0 Makes EJB technology easier to learn and use Fewer classes and interfaces Dependency injection Simple lookups No required container interfaces No required deployment descriptor Simplified persistence Object/relational mapping Improv

文档评论(0)

ctuorn0371 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档