Explore chapters and articles related to this topic
Smartphone-based parking guidance algorithm and implementation
Published in Journal of Intelligent Transportation Systems, 2021
Hongyan Gao, Qian Yun, Rundong Ran, Jun Ma
The server provides necessary functions of database connection, client-server communication, and implementation of parking guidance algorithm. The project creates database connection using MySQL JDBC driver through the steps of defining the connection URL, establishing the JDBC connection, creating statements, setting parameters, and retrieving results. The server handles client’s requests and returns responses to client using Java Servlet, which provides a communication interface between Java program handler and client’s request. Java program handler processes the data according to parking guidance algorithm and then obtains optimal parking lot and driving route.