 <blockquote> <p>can i deploy database and java web service in different server?</p> </blockquote> <p>Yes you can, database and web-server are not dependent on each other installation. Just make sure you have the connectivity between the two machines, firewall allows connection on the desired port.</p>