Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to get caller's hostname and port in an EJB  RSS feed

 
Vijay Gorla
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is it possible to obtain caller's hostname and port in an ejb?.
Is this possible at all?.
It makes sense theoritically, but don't know how to do it in a practical sense. I'm using ejb 2.0 with weblogic 6.1

Any response is appreciated
 
Dushy Inguva
Ranch Hand
Posts: 264
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Nope. If your EJB layer is fronted by a web layer, you can use the methods present in the HttpServletRequest.

Or else, you are in a tough spot.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!