I'm a Java EE developer (never worked in an enterprise). let's say we have a java ee 7 application (using EJB JPA JSF..) and connected to MySQL Database for example. now in the development mode you just work on your computer. my question is, let's say you have bought 5 servers (Windows). and you want to deploy the application (along with the database) on these servers. how you do that, how on server number 1 having Java, glassfish (war/ear file deployed) connect with others.
I mean if server n1 wants to get some entry from the database and that entry exists in sever n3, how is that possible????
today with the "Cloud" you don't actually know how stuff works. I need to know how the "Classic" way things works.