实现。读完这一章,你将了解这些概念
be able to implement them using Java EE 8. Here are the topics that are covered in
能够使用JavaEE8实现它们。以下是中涉及的主题
upcoming sections:
后续章节:
Explaining the presentation tier
解释演示层
Explaining the intercepting filter pattern
解释拦截过滤器模式
Implementing the intercepting filter pattern using Java EE 8
用javaee8实现拦截过滤模式
Explaining the front controller pattern
解释前控制器模式
Implementing the front controller pattern
实现前端控制器模式
Explaining the application controller pattern
解释应用程序控制器模式
Implementing the application controller pattern
实现应用程序控制器模式
Explaining the presentation tier
解释演示层
The Java EE platform is a distributed multitiered application model that has three widely
javaee平台是一个分布式的多层应用程序模型,它有三个广泛的
used common tiers. These tiers are the presentation tier (or web tier), the business tier, and
使用通用层。这些层是表示层(或web层)、业务层和
the integration tier (or EIS tier).
集成层(或EIS层)。
The presentation tier, also known as the web tier, contains the components that create a
表示层,也称为web层,包含创建
web application. This tier has many components that use the HTTP protocol, construct
web应用程序。这个层有许多使用HTTP协议的组件,construct
views and interfaces for users, and provide a web service. These components are called web
为用户提供视图和接口,并提供web服务。这些组件称为web
components. There are two types of presentation tier:
组件。有两种类型的表示层:
Presentation-oriented tier: This type of presentation tier contains the
面向表示层:这种类型的表示层包含
components to construct an interactive web page and dynamic content using
组件来构造交互式网页和使用
HTML and XHTML. These components are JavaServer Faces technology, Java
HTML和XHTML。这些组件是JavaServer Faces技术,Java
Servlet technology, and JavaServer Page technology, which allow us to construct
Servlet技术和JavaServer页面技术,它们允许我们构造
an interactive web page.
一个交互式网页。
Server-oriented tier: This contains the components to construct an endpoint of a
面向服务器层:包含用于构造
web service. These components are JAX-RS and JAX-WS.
网络服务。这些组件是JAX-RS和JAX-WS。
The presentation-oriented tier is generally used on web applications using componentbased specifications such as JavaServer Faces technology, or web applications using actionbased Java Servlet technology as well as JavaServer Pages technology. The server-oriented
面向表示层通常用于使用基于组件的规范(如javaserverfaces技术)的web应用程序,或使用基于action的javaservlet技术以及javaserverpages技术的web应用程序。面向服务器
tier is generally used on web applications that create a REST API or web service that is
tier通常用于创建restapi或web服务的web应用程序
consumed by the client running on a mobile platform or browser. In the following diagram,
最后
自我介绍一下,小编13年上海交大毕业,曾经在小公司待过,也去过华为、OPPO等大厂,18年进入阿里一直到现在。
深知大多数Java工程师,想要提升技能,往往是自己摸索成长,自己不成体系的自学效果低效漫长且无助。
因此收集整理了一份《2024年Java开发全套学习资料》,初衷也很简单,就是希望能够帮助到想自学提升又不知道该从何学起的朋友,同时减轻大家的负担。
既有适合小白学习的零基础资料,也有适合3年以上经验的小伙伴深入学习提升的进阶课程,基本涵盖了95%以上Java开发知识点,不论你是刚入门Java开发的新手,还是希望在技术上不断提升的资深开发者,这些资料都将为你打开新的学习之门!
如果你觉得这些内容对你有帮助,需要这份全套学习资料的朋友可以戳我获取!!
由于文件比较大,这里只是将部分目录截图出来,每个节点里面都包含大厂面经、学习笔记、源码讲义、实战项目、讲解视频,并且会持续更新!
份全套学习资料的朋友可以戳我获取!!**](https://bbs.youkuaiyun.com/topics/618164986)
由于文件比较大,这里只是将部分目录截图出来,每个节点里面都包含大厂面经、学习笔记、源码讲义、实战项目、讲解视频,并且会持续更新!