• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Testing and assimilating the three tier environment

 
Bill Robertson
Ranch Hand
Posts: 234
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I just passed the programmers certification test
and would like to dive right into the developer
certification. But I am a bit confused with this
notion of writting a user interface that connects
to a server, which then connects to a database.
Actually the idea is very clear in that I work
with such an architecture all day at work. But
how are we to implement and test this given I have
access to one machine - my own. I mean how would a test the server connection when I dont have a seperate box? Or am I getting ahead of myself and can the 3 tier environment they want you to build be assimilated all on one machine.
Is this question clear. I feel like I can't even move forward until I get the hardware requirements straight in my head.
Thank so much,
Bill
 
Ta Ri Ki Sun
Ranch Hand
Posts: 442
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
dont worry about hardware requirements, you can always connect to localhost, and it wont be any different speed aside to connecting to any other machines, for the purpose of this assignment anyway.
you can simulate everything on your machine, try connecting to localhost before your local server is running, or try killing your local server when your clients are still running, theres nothing you cant do on one machine, so its not expected of you to have more than one.
so relax, go for it
btw, cant you get one of the guys at work to run your server?
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Actually the implementation is seperated, but is still really a two tier design. The Data "business" logic classes will reside on the same JVM as the server.
But you can have 2 JVMs running on the same machine to simulate the client and server.
Mark
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic