Would it be sufficient to for example use a client-side interceptor to add some context data to EJB invocation and then assert the data presence on server side?