--- Juan Pablo Lorandi <[EMAIL PROTECTED]> wrote:
> Of course, if you're using JSP/Servlets, you can fiddle
> around several methods of HTTPServletRequest that will
> provide the info you need.
> There's a snoop.jsp page that comes with many appservers
> that demonstrates this functionality

So you will have to "push" the information to your EJB beans,
rather than use code in the beans to "pull" it.

For example, your web-tier will look at the HTTP headers,
get the IP address, and then pass it on to your EJB bean
in a method call.

If you have no web-tier, for example you have an applet
that is a client, then it will have to provide the IP address.

-- Sam

__________________________________________________
Do you Yahoo!?
Yahoo! Web Hosting - Let the expert host your site
http://webhosting.yahoo.com

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to