Java EJB - Crisis handler middleware [server side]