I avhe the following problem:
I do not know how to trace the client IP address in a Session Bean Statefull.
There is not portable way to do this.
The non-portable method is to install
a client and server interceptor.
The client interceptor retrieves the client's ip
and adds it to the invocation, the server interceptor
retrieves it from the invocation.
I assume you are trying to do some form of security,
so you can do it in the server interceptor.