了解servlet容器 [英] Understanding servlet container

查看:133
本文介绍了了解servlet容器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

作为一个UI开发人员和Java知识非常有限的人,我如何理解servlet容器究竟是什么?

As a UI devloper and someone with very limited Java knowledge, how do I understand what exactly is servlet container in simple terms ?

我听过Weblogic,JBoss,等等是servlet容器,但不确定这意味着什么。这是否意味着任何中间件技术?

I have heard Weblogic, JBoss, etc are servlet containers, but not sure what that means exactly. Does it mean any middleware technology ?

你能不能帮助我。

推荐答案

servlet容器是一个应用程序服务器,它实现了某些版本的 Java Servlet规范。

A servlet container is an application server that implements some version of the Java Servlet Specification.

简而言之,servlet规范定义了一种编程模型,允许开发人员编写处理请求的组件(例如servlet)(几乎总是HTTP请求)。然后可以将这些组件声明到容器中,它处理许多繁琐的任务,这些任务涉及连接和管理这些组件,以便他们可以处理这些请求。

In a nutshell, the servlet spec defines a programming model that allows a developer to write components, for example servlets, that process requests (almost always HTTP requests). Those components can then be declared to the container and it handles many of the tedious tasks involved with wiring up and managing those components such that they can process those requests.

这篇关于了解servlet容器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆