kaviraj07 / Hospital-Management-System-RMI

Distributed System using Java RMI
1 stars 1 forks source link

N #1

Open wellsana opened 5 months ago

wellsana commented 5 months ago

Hey man ! Iam trying toopen the hospitalImplemenetations projeect on netbeans but it doesnt work . should i use another IDE?

kaviraj07 commented 5 months ago

This project was built using Eclipse IDE. So use that IDE to open it or try importing the project as an 'eclipse project' when using NetBeans.

wellsana commented 5 months ago

thx for responding! but i keep getting errors . are there some libraries that i need to add to the project? like in theses lines : import static hospitalImplementations.environment.port; import static hospitalImplementations.environment.server_address;

kaviraj07 commented 5 months ago

As far as I remember you would need the JDBC driver for database connection. Check the code for any other libraries that you don't have.

For the line you mentioned: " import static hospitalImplementations.environment.port; " these are just imports and the files are already there. You might need to configure your ports in the environment.java file

wellsana commented 5 months ago

Sorry to disturb you but it seems like the files dont exist in the project and in the client side the file hospitalInterfaces doesnt exist also .

kaviraj07 commented 5 months ago

Yes, indeed, after examination, the hospitalInterfaces seems to be missing. As this is an old project, I don't think I have the files for this. The implementation is there and you just have to create the interface files with the method calls.