- 博客(4)
- 资源 (10)
- 收藏
- 关注
原创 Jetty:配置连接器
连接器配置概览连接器用于接收网络连接,配置一个连接器需要配置: 1)连接器的网络参数(例如:端口); 2)连接器使用的服务(例如:executors,schedulers); 3)为接收连接而初始化和配置协议的连接工厂。Jetty主要使用的连接器类型为ServerConnector。标准Jetty发布使用下面的Jetty XML文件创建和配置连接器: 1)jetty-h
2014-06-20 09:54:34 9283
原创 Jetty:配置上下文
这篇文件讲述配置Jetty上下文的各种选项。设置上下文路径上下文路径是一个URL路径的前缀,用于将一个输入请求对应到对应的上下文。Java Servlet Server的URL通常的格式为:http://hostname.com/contextPath/servletPath/pathInfo。如果没有上下文路径,则对应上下文为根上下文,根上下文必须被配置为"/"。你怎么设置上下文路径
2014-06-11 10:53:54 15661 2
原创 Jetty:部署到Jetty
Web应用的框架标准Jetty发布版本能部署标准servlet Spec Web应用和Jetty内部ContextHandler部署描述符,或者两者的一个混合。Web应用是可部署的动态(servlets、filters、jsps、等等)和静态内容、支持库、和绑定到特定上下文路径的描写性的元数据的集合。格式和布局最终都是通过Servlet Spec定义,你可以查阅官方Servlet Sp
2014-06-06 13:38:02 19718
原创 Jetty:配置概览-需要配置什么
上一节讲述了怎么配置Jetty,这节将告诉你使用Jetty你需要配置些什么。配置ServerServer实例是Jetty服务端的中心协调对象,它为所有其他Jetty服务端组件提供服务和生命周期管理。在标准Jetty发布中,核心的服务端配置是在etc/jetty.xml文件中,你也能在其中包含其他服务端配置,可以包括: 1)ThreadPool Server实例提供了一个线程池,你可
2014-06-03 13:03:51 6203
hadoop-part3
2015-08-04
hadoop-part2
2015-08-04
hadoop-part1
2015-08-04
linux教学课件:Advanced Programming in the Linux Environment
2009-11-09
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人