![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Java EE
文章平均质量分 75
jingliangfu
这个作者很懒,什么都没留下…
展开
-
Admin Console very slow in OGS 3.0.1
<br />I installed OGS 3.0.1 for a customer escalation. I accessed the admin console and found that its was terribly slow.<br />Goggled on the net and landed up with suggestions to reduce this slowness.. If you are experiencing slowness and seeing the fol转载 2010-12-06 15:46:00 · 374 阅读 · 0 评论 -
The Essentials of Filters
<br />The Java Servlet specification version 2.3 introduces a new component type, called a filter. A filter dynamically intercepts requests and responses to transform or use the information contained in the requests or responses. Filters typically do not t转载 2010-12-21 23:45:00 · 455 阅读 · 0 评论 -
Java EE 设计模式学习笔记——会话管理
“用户会话”描述的是在客户端和服务器之间的多次请求构成的一种“对话”,会话管理有两种办法:1. 在客户端保存会话状态优点:相对来说容易实现; 当要保存的状态比较少时,效果很好;而且当需要在多台物理服务器上实现负载均衡时,使用在客户端保存会话状态的策略,也不需要再服务器之间复制会话状态。常见策略:HTML隐藏字段;<input type="hide"..>缺点:性能影响,尤其保存状态较多时候,每次请求和响应都需要通过网络往复传输;任何对象都必须“字符串化”。HTTP cookie;缺点:除了隐藏字段的缺点外,原创 2010-12-23 14:51:00 · 1102 阅读 · 0 评论 -
Servlet Listener
The servlet specification includes the capability to track key events in your Web applications through event listeners. This functionality allows more efficient resource management and automated processing based on event status. The following sections desc转载 2010-12-21 23:51:00 · 1243 阅读 · 0 评论 -
Java EE 设计模式学习笔记——不佳实践
<br />所谓不佳实践,也就是与模式推荐的思路冲突一些不太理想的解决方案。<br /> <br />表现层不佳实践<br />1. 多个视图中都包含控制代码;<br />解决方案:引入控制器;隔离不同逻辑;命令与控制策略。<br />2. 把表现层的数据结构暴露给业务层<br />3. 把表现层的数据结构暴露给业务领域对象<br />4. 允许重复提交表单<br />解决方案:引入同步器令牌;控制客户端访问<br />5. 把敏感资源暴露给客户端的直接访问<br />解决方案:对客户端隐藏资源;控制客原创 2010-12-24 15:44:00 · 662 阅读 · 0 评论 -
多角度彻底理解数据库事务中的"脏读"."不可重复的读"及"虚读"
脏读 dirty reads:当事务读取还未被提交的数据时,就会发生这种事件。举例来说:Transaction 1 修改了一行数据,然后 Transaction 2 在 Transaction 1 还未提交修改操作之前读取了被修改的行。如果 Transaction 1 回滚了修改操作,那么 Transaction 2 读取的数据就可以看作是从未存在过的。 不可重复的读 non-repeatable reads:当事务转载 2010-11-26 18:54:00 · 596 阅读 · 0 评论 -
Getting Started with Java Management Extensions (JMX): Developing Management and Monitoring Solutions
Contents - Overview of JMX Technology- JMX Tiered Architecture- JMX Technology Implementations- JMX Technology and J2SE 5.0- The JMX Technology Programming Model- JMX Technology for Remote Management- JMX Technology Related SpecificationsThe Java Managemen转载 2010-11-25 13:21:00 · 538 阅读 · 0 评论 -
Enterprise JavaBean (EJB)
<br />Enterprise JavaBeans (EJB) is a managed, server-side component architecture for modular construction of enterprise applications.<br />The EJB specification is one of several JavaAPIs in the Java EE specification. EJB is a server-side model that encap转载 2010-11-25 15:25:00 · 2057 阅读 · 0 评论