小编Cél*_*lio的帖子

JasperReports和BIRT的替代品

我正在寻找一个Java报告引擎:

  • 不会强迫您使用设计器来定义报告模板(因此允许通过API生成报告),
  • 不是JasperReports也不是BIRT,
  • 是开源的,
  • 是免费的(如自由和免费啤酒),
  • 在你看来是体面的.

我知道这是个难题.我无法在Google上找到任何令人满意的东西,也无法在Stack Overflow中找到任何令人满意的东西,但我仍然希

java reporting

12
推荐指数
1
解决办法
6089
查看次数

JSR-356:如何在握手期间中止websocket连接?

我需要能够在握手期间中止websocket连接,以防HTTP请求不符合某些条件.根据我的理解,正确的地方是我自己实现的ServerEndpointConfig.Configurator.modifyHandshake()方法Configurator.我只是无法弄清楚要做什么来中止连接.有一个HandshakeResponse参数,允许向响应添加标题但我找不到任何执行该工作的标题.

那么如何在握手期间中止websocket连接呢?这甚至可能吗?

java java-ee websocket java-7 java-ee-7

10
推荐指数
1
解决办法
3272
查看次数

Play's continuations holding http threads

We have implemented a feature in our web app that updates the GUI in response to new events in the server by using Play's continuations, just like a chat app. After running it for some time in production we started to experience server hangs, more specifically the http connector of our Glassfish server stopped accepting new requests. A thread dump shows us that all http threads from the http thread pool are waiting for Play Promises to be invoked. Our …

java continuations web-applications glassfish playframework

7
推荐指数
1
解决办法
1207
查看次数