The train from Danang to Hue is a beautiful ride mainly along the coastline. Takes about 3 hours. Sit on the right side of the train if you can. As for which is best Hoi An or Hue well that depends on what you are looking for. Hoi An is very intersting in the Ancient town and if you are wanting to have clothes made up then that is a good place to stay.
Apache Tomcat, often referred to as Tomcat, is an open-source web server developed by the Apache Software Foundation (ASF).
apache tomcat is a java servlet container and is run on a java virtual machine or jvm tomcat utilizes the java servlet specification to execute servlets generated by requests often with the help of jsp pages allowing dynamic content to be generated much more efficiently than with a cgi script