In client side there is a block which invoke the remove() method to destory the stateful session bean.
But if the network is unavailable before the remove() is invoked, what should we do to destory that stateful seesion bean to release the resources it has occupied in order to not cause memory leak?Thanks for your reply....
But if the network is unavailable before the remove() is invoked, what should we do to destory that stateful seesion bean to release the resources it has occupied in order to not cause memory leak?Thanks for your reply....
jboss中的standardjboss.xml的那个30分钟的设置没看出起到什么作用,30分钟後,服务器并没有remove()那个session bean因为资源没有被释放,内存还是被占用着。jboss-service.xml中也只是设置transaction的实效时间这个应该是和数据库的交互时间吧,服务器在时间到期之后并没有remove()。
另外,还有这个remove()在服务器端可以自己调用吗?