Java 应用与开发 - HTTP 会话跟踪技术议之上采用额外的技术协同的结果。 2. 掌握常用的会话跟踪技术,了解采用 URL 重写维持会话跟 踪的方法;理解 Cookie 和 Session 的协同机制,掌握使用 Cookie 和 Session 实现会话跟踪的技术。 3. 能够使用 Cookie 和 Session 编写会话跟踪代码。 大纲 会话基本概念 会话跟踪技术 本节习题 大纲 会话基本概念 会话跟踪技术 URL 重写 Cookie 会话基本概念 会话跟踪技术 本节习题 什么是会话 ▶ 在 Web 应用中把客户端浏览器开始请求 Web 服务器,访问 不同 Web 文档进行请求/响应,到结束访问的一系列过程称 为会话,即一次会话(Session)。 ▶ 当用户访问第一个 Java Web 组件时,Java EE Web 服务器 自动为用户创建一个会话对象。 例如,当当网进行图书浏览、购买、完成结算的全过程可能是一 次会话;登录 126 会话跟踪技术 本节习题 Java EE 会话对象 什么是会话对象 ▶ Java EE 规范提出了一种服务器实现会话跟踪的机制,即 HttpSession 接口,实现该接口的对象称为 Session 对象。 ▶ Session 对象保存在 Web 服务器上,每次会话过程创建一 个,为用户保存各自的会话信息提供全面支持。 ▶ 注意不要将过多的数据存放在会话对象内,如只在一个请求 期间内需要传递的数据,就不要存储在会话对象中,而应该0 码力 | 54 页 | 824.47 KB | 1 年前3
Apache ActiveMQ Artemis 1.2.0 User Manual
Message Grouping 31. Extra Acknowledge Modes 32. Management 33. Security 34. Resource Limits 35. The JMS Bridge 36. Client Reconnection and Session Reattachment 37. Diverting and Splitting Message Availability and Failover 42. Graceful Server Shutdown 43. Libaio Native Libraries 44. Thread management 45. Logging 46. REST Interface 47. Embedding Apache ActiveMQ Artemis 48. Spring Integration prohibited sign shows an EJB session bean talking directly to the Apache ActiveMQ Artemis server. This is not recommended as you'll most likely end up creating a new connection and session every time you want0 码力 | 244 页 | 1.46 MB | 1 年前3
Apache ActiveMQ Artemis 1.1.0 User ManualMessage Grouping 31. Extra Acknowledge Modes 32. Management 33. Security 34. Resource Limits 35. The JMS Bridge 36. Client Reconnection and Session Reattachment 37. Diverting and Splitting Message Availability and Failover 42. Graceful Server Shutdown 43. Libaio Native Libraries 44. Thread management 45. Logging 46. REST Interface 47. Embedding Apache ActiveMQ Artemis 48. Spring Integration prohibited sign shows an EJB session bean talking directly to the Apache ActiveMQ Artemis server. This is not recommended as you'll most likely end up creating a new connection and session every time you want0 码力 | 234 页 | 1.40 MB | 1 年前3
Apache ActiveMQ Artemis 1.3.0 User ManualMessage Grouping 31. Extra Acknowledge Modes 32. Management 33. Security 34. Resource Limits 35. The JMS Bridge 36. Client Reconnection and Session Reattachment 37. Diverting and Splitting Message Availability and Failover 42. Graceful Server Shutdown 43. Libaio Native Libraries 44. Thread management 45. Logging 46. REST Interface 47. Embedding Apache ActiveMQ Artemis 48. Apache Karaf 49. prohibited sign shows an EJB session bean talking directly to the Apache ActiveMQ Artemis server. This is not recommended as you'll most likely end up creating a new connection and session every time you want0 码力 | 247 页 | 1.47 MB | 1 年前3
Apache ActiveMQ Artemis 2.23.1 User ManualExtra Acknowledge Modes Management Management Console Metrics Security Masking Passwords Broker Plugins Resource Limits The JMS Bridge Client Reconnection and Session Reattachment Diverting and Availability and Failover Connection Routers Graceful Server Shutdown Libaio Native Libraries Thread management Embedded Web Server Logging 3 1.69 1.70 1.71 1.72 1.73 1.74 1.75 1.76 1.77 1.78 1 version-specific upgrade instructions outlined here. 2.23.0 Full release notes. Highlights: management operations for the embedded web server. JakartaEE 10 Support BugFix: High cpu usage on ReadWrite0 码力 | 503 页 | 6.35 MB | 1 年前3
Apache ActiveMQ Artemis 2.22.0 User ManualExtra Acknowledge Modes Management Management Console Metrics Security Masking Passwords Broker Plugins Resource Limits The JMS Bridge Client Reconnection and Session Reattachment Diverting and Availability and Failover Connection Routers Graceful Server Shutdown Libaio Native Libraries Thread management Embedded Web Server Logging 3 1.69 1.70 1.71 1.72 1.73 1.74 1.75 1.76 1.77 1.78 1 correct an inaccurate domain name 2 files will need to be updated: 1. etc/bootstrap.xml 2. etc/management.xml In both files change the XML namespace from activemq.org to activemq.apache.org , e.g0 码力 | 502 页 | 6.34 MB | 1 年前3
Apache ActiveMQ Artemis 2.21.0 User ManualExtra Acknowledge Modes Management Management Console Metrics Security Masking Passwords Broker Plugins Resource Limits The JMS Bridge Client Reconnection and Session Reattachment Diverting and Availability and Failover Connection Routers Graceful Server Shutdown Libaio Native Libraries Thread management Embedded Web Server Logging 3 1.69 1.70 1.71 1.72 1.73 1.74 1.75 1.76 1.77 1.78 1 19.0 Full release notes. Highlights: New ability to replay retained journal records via the management API. New environment/system property to set the "key" for masked passwords when using the default0 码力 | 503 页 | 6.34 MB | 1 年前3
Apache ActiveMQ Artemis 2.28.0 User ManualExtra Acknowledge Modes Management Management Console Metrics Security Masking Passwords Broker Plugins Resource Limits The JMS Bridge Client Reconnection and Session Reattachment Diverting and Availability and Failover Connection Routers Graceful Server Shutdown Libaio Native Libraries Thread management 3 1.67 1.68 1.69 1.70 1.71 1.72 1.73 1.74 1.75 1.76 1.77 1.78 1.79 1.80 1.81 1 ReadyForWriting : java.util.ConcurrentModificationException 2.23.0 Full release notes. Highlights: management operations for the embedded web server. JakartaEE 10 Support BugFix: High cpu usage on ReadWrite0 码力 | 494 页 | 6.33 MB | 1 年前3
Apache ActiveMQ Artemis 1.5.5 User ManualLast-Value Queues Message Grouping Extra Acknowledge Modes Management Security Resource Limits The JMS Bridge Client Reconnection and Session Reattachment Diverting and Splitting Message Flows Core Clusters High Availability and Failover Graceful Server Shutdown Libaio Native Libraries Thread management Logging REST Interface Embedding Apache ActiveMQ Artemis Apache Karaf Spring Integration prohibited sign shows an EJB session bean talking directly to the Apache ActiveMQ Artemis server. This is not recommended as you'll most likely end up creating a new connection and session every time you want0 码力 | 399 页 | 1.61 MB | 1 年前3
Apache ActiveMQ Artemis 1.5.1 User ManualLast-Value Queues Message Grouping Extra Acknowledge Modes Management Security Resource Limits The JMS Bridge Client Reconnection and Session Reattachment Diverting and Splitting Message Flows Core Clusters High Availability and Failover Graceful Server Shutdown Libaio Native Libraries Thread management Logging REST Interface Embedding Apache ActiveMQ Artemis Apache Karaf Spring Integration prohibited sign shows an EJB session bean talking directly to the Apache ActiveMQ Artemis server. This is not recommended as you'll most likely end up creating a new connection and session every time you want0 码力 | 399 页 | 1.61 MB | 1 年前3
共 386 条
- 1
- 2
- 3
- 4
- 5
- 6
- 39













