aspose file tools
The moose likes EJB and other Java EE Technologies and the fly likes getting hostname in Session Bean Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "getting hostname in Session Bean" Watch "getting hostname in Session Bean" New topic
Author

getting hostname in Session Bean

Dinesh Bang
Ranch Hand

Joined: Jun 15, 2006
Posts: 52
Hi all,
I am using EJB2.0
And want to get the hostname of the machine (server)in the session bean, any idea how can i get it ??


SCJP 1.4,SCBCD 1.3, SCWCD 1.5, ???
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10433
    
176



[My Blog] [JavaRanch Journal]
Dinesh Bang
Ranch Hand

Joined: Jun 15, 2006
Posts: 52
it worked out..
thanks..
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: getting hostname in Session Bean
 
It's not a secret anymore!