Re: How to get client IP address called EJB method

2009-04-29 Thread alex_r
djencks wrote: On Apr 28, 2009, at 10:06 AM, alex_r wrote: No, it is not servlet. Method called by standalone GUI client. Some hourse ago i has add to org.apache.openejb.ejbd.EJBServer some code that store client IP and port in CallContext. I think it is bad solution, but i

How to get client IP address called EJB method

2009-04-28 Thread alex_r
Sorry for my bad english. Can i get ip address of client requested some EJB method within this method? -- View this message in context: http://www.nabble.com/How-to-get-client-IP-address-called-EJB-method-tp23273787s134p23273787.html Sent from the Apache Geronimo - Users mailing list archive

Re: How to get client IP address called EJB method

2009-04-28 Thread alex_r
is accessing your ejb you can get the IP address through ServletRequest.getRemoteAddr(). HTH On Tue, Apr 28, 2009 at 3:23 PM, alex_r aryabuk...@gmail.com wrote: Sorry for my bad english. Can i get ip address of client requested some EJB method within this method? -- View this message