`
ginge
  • 浏览: 208404 次
  • 性别: Icon_minigender_1
  • 来自: 杭州
社区版块
存档分类
最新评论
文章列表
     转到Architecture Team后接手了公司的Framework, 单点登录也就落到我头上了.        公司最开始使用的策略是基于Tomcat 的Realm SSO, 这种策略的缺点是所有应用都必须放在同一个Tomcat下面, 放到不同Tomcat下都必须再做一次登录.      非常不利于HA.          (一)转到Architecture Team后我就向SDC的头提议了CAS的SSO策略.               1)      The user choose to visit AMS 2)      When the user arrived, AMS ...
Here's a rough performance test between Tomcat and Resin. The test was run on the same machine and with the same maximum memory of 256M. The Test Command: ab -c 2000 -n 10000 http://192.168.21.178:8080/bench/bench.jsp the size of bench.jsp is 32.6k and there is the image of size 48.4k. With the resul ...
过去的十二个月给来年预示了什么呢? By Andrew, JavaWorld.com 01/24/08 译者:ginge The future is now -- Java development in 2008 What do the past 12 months tell us about the year ahead? By Andrew Glover, JavaWorld.com, 01/24/08 the year 2007 was full of exciting plot twists, punctuated by growing excitement about dy ...
Our application need to meet the reliable communication and the least data loss requirements for the JGroup cluster. The JGroup-2.6.1 release provides some out-of-box configurations in xml format. I choose the tcp-nio.xml configuration, because the inefficiency of the traditional IO model and unrelia ...
【本文如需转载,请注明作者及出处】  I think a lot of people have misunderstanding about DBCP. What makes them think so? Cause' DBCP seems don't want to release database connection after use. Finally, all available connections got exhausted, and our application runs out of services. DBCP is weak and can not bear produ ...
哈哈,没想到俺也进入开源组织了,刚好将自己的翻译爱好继续下去 虽然大家都是自愿加入的,没钱,还有纪律要求,完成后最多也只是一个拥有一个署名权,但是还是高兴,像以前参与matrix翻译项目一样高兴,有事情做总比睡 ...
Spring, Springmodules, JBPM持久化集成--摆脱 LazyInitializationException(Part2) Spring, Springmodules, JBPM持久化集成理解系列三 【本系列如需转载,请注明作者及出处】 到此,如果有朋友还是比较清醒的话,应该还会有疑问,在OpenSessionInViewFilter里如果是isSingleSession为true,并没有看到session的关闭,到底是在什么地方关闭了呢?它其实是在OpenSessionInViewInterceptor里关闭了的。  public void afterCompletion( ...
Spring, Springmodules, JBPM持久化集成--摆脱LazyInitializationException(Part1) Spring, Springmodules, JBPM持久化集成理解系列三【本系列如需转载,请注明作者及出处】   不管Jbpm的持久化策略如何,要重用Spring的持久化集成服务,我们要怎么做呢?Jbpm可以是B/S架构中的一部分,也可以是C/S架构的一部分。对于B/S架构,我们都知道有OpenSessionInViewFilter,然而C/S没有“Filter”,该从何入手呢?
Spring, Springmodules, JBPM持久化集成理解系列二【本系列如需转载,请注明作者及出处】   本系列文章假设阅者具备以下知识:1,ThreadLocal相关知识2,Spring持久化,事务管理相关知识3,Hibernate 持久化相关知识4,Jbpm 持久化相关知识5,Springmodules项目相关知识6,相关J2EE知识且具备以下材料:1,Spring源代码2,Hibernate源代码3,Jbpm源代码4,Springmodules源代码  第二部分,Session的关闭: 到了这里,我们就到了验证的最后一部分了,JbpmContext的关闭了。 【位置JbpmCon ...
Spring, Springmodules, JBPM持久化集成理解系列二  【本系列如需转载,请注明作者及出处】  本系列文章假设阅者具备以下知识:1,ThreadLocal相关知识2,Spring持久化,事务管理相关知识3,Hibernate 持久化相关知识4,Jbpm 持久化相关知识5,Springmodules项目相关知识6,相关J2EE知识且具备以下材料:1,Spring源代码2,Hibernate源代码3,Jbpm源代码4,Springmodules源代码     本篇尝试探讨SpringModules集成的背后逻辑,这涉及到JbpmContext持久化的哲学。    JbpmCon ...
Spring, Springmodules, JBPM持久化集成理解系列一  【本系列如需转载,请注明作者及出处】  本系列文章假设阅者具备以下知识:1,ThreadLocal相关知识2,Spring持久化,事务管理相关知识3,Hibernate 持久化相关知识4,Jbpm 持久化相关知识5,Springmodules项目相关知识6,相关J2EE知识且具备以下材料:1,Spring源代码2,Hibernate源代码3,Jbpm源代码4,Springmodules源代码 接触JBPM始于两年多前,当时还在广州一个公司实习,公司打算研发ITIL相关的项目,于是就开始知道了工作流,也就开始接触了JBP ...
Global site tag (gtag.js) - Google Analytics