开发者

Deliberately delayed response from JBoss

What is the best way to deliberately delay a response from the JBoss server?

I would like to implement a delayed login functionality, where if a username has been used in a failed login attempt recently, the AS will wait a few seconds before returning to the user. The stack consists of SQL-db, JBoss runnning the application, EJBs exposed t开发者_Go百科o SOAP webservice adapters which in turn will be used by the clients.

Obviously Thread.sleep() won't do...


No, it does not seem possible, nor reasonable to delay the responses from the application server.

This is a feature that should be implemented on the client side.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜