Click here to Skip to main content
15,892,746 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I'm building a School Management System that will have Teacher login and Admin login. When the teacher logs in he/she will be able to view student info and score student associated to the class that they teach then Submit these Scores. Which will be saved to database then Admin can view student score and generate Reports e.t.c

Now my question is whenever the program starts should the program ask Admin to input their Local Network IP which is going to be used as a Server to Teachers Pc. Like making the Admin PC the server and where the database is located then teachers pc the client

Thanks in Advance

What I have tried:

Haven't try anything yet. Just asking
Posted
Comments
Richard MacCutchan 16-Jun-18 12:24pm    
You should use a parameter file in the application to hold the ip address or host name of the server.
Drekel 22-Jun-18 17:50pm    
Ok thanks for your contribution. Can you give an example or a link on how to do this in java
Drekel 23-Jun-18 5:12am    
thanks

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900