This content has been marked as final.
Show 5 replies
-
1. Re: caller IP
fbiaggi May 23, 2002 3:06 AM (in response to ionel)Ciao,
try
RemoteServer.getClientHost(); -
2. Re: caller IP
ionel May 23, 2002 3:22 AM (in response to ionel)I misspell, sorry
I mean from an EnterpriseJavaBean running in a container to know who is calling it.
ionel -
3. Re: caller IP
jguru May 23, 2002 8:48 AM (in response to ionel)It would depend on the protocol that you are using to connect. Lets say if you are accessing via HTTP then you could intercept HttpRequest's request.getRemoteAddr() to get the IP.
-
4. Re: caller IP
jguru May 23, 2002 8:56 AM (in response to ionel)Ohhhh! I don't think it's possible for bean to intercept IP of client m/c that invoked it because client access is intercepted by the container. You may need to refer to your vendor documentation, for whether it provides such method....... Anyways, if you really get the answer to it.. do respond.
-