What kind of a tree? Is the data in the tree exactly the same, and obtained in exactly the same way?
Also is the the first request for the tree only, or does each request take a long time?
Try asking for the home page:
http://hostname:8080/
How long does that take compared to asking for the home page on localhost? That should give you some indicate of the network latency.