when you say 'users connect to the machine via the hostname'.. by what 
protocol? Http? If so, i believe servlets can get the URL of the request, so 
just parse the URL for the hostname and forward it to your ejbs then let your 
ejbs use the appropriate datasource or dao based on the hostname to db mapping 
in your config/properties file.  Cheers.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3868342#3868342

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3868342


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to