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 have not another.
:-( Ashish Jain-5 wrote: > > If it is a servlet which 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 <[email protected]> wrote: > >> >> 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 at Nabble.com. >> >> > > -- View this message in context: http://www.nabble.com/How-to-get-client-IP-address-called-EJB-method-tp23273787s134p23281912.html Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
