很多时候,我见到有人试图测试某个功能,突然新的版本推到交付准备服务器上了,破坏了正在运行的测试。
On many occasions I have seen someone try to test a feature when suddenly a new version is pushed to the staging server, spoiling the test run.
事实的确如此,当我试图在JBoss5上运行我的EJB 3代码时,我发现了几个问题,但是我最终解决了这些问题,我将在本文中介绍我是如何解决它们的。
Sure enough, I found a few problems when I tried to run my EJB3 code on JBoss5, but I was able to get around all of them and I'll tell you how I did it in this article.
上面的代码我不是开始时就试图编成这样;这是最终的版本,已经很好地修复过了所以它能够运行并反映一些有趣的怪事。
This code is not what I first attempted; this final version, nicely fixed up so that it works, reflects a handful of interesting quirks.
应用推荐