Server side for Connect to database, this project should be run in eclipse Kepler