We have project with a server witch have about 3000 requests at day from client.
30-40 on-line users. And smth about 30-40Gb data increase per year.
And system should be on-line 24×7.
Where can we locate the SQL server better?
On one computer with JavaEE container or on standalone computer?
What pros and cons on this ways?
Of course, as Cade Roux explained, it’s always better to put them on separate servers (in case they connected via LAN (and not Internet)).
If, however, your budget isn’t enough for two machines, or you already have a powerfull machine, you can use virtualization.
Make 2 virtual machines, one for the Java EE container, one for the database server. This gives all the benefits explained by Cade Roux, with a single physical machine.