Powerful Google developer tools for immediate impact! (2023-24 C)
Tracking platform
1. 2nd year engineer internship
Development of a web platform
using J2EE technology to track
in real time vehicles equipped
with a GPS module
Realized by : Mr. BEDHIAFI Anis
Supervisor : Mr. BEN HASSINE Rached
Period
: From 20/06/13 to 10/08/13
3. Introduction
Maps are older then alphabets.
Radio Navigation Systems: NAVSTAR GPS (USA), GLONASS
(Russia), GALELIO (Europe).
Implementation of radio navigation system in vehicles.
Fleet management system.
This paper describes the development of a web platform to
make it possible for companies to track, in real time, their
vehicles.
24/11/2013
HIGH SCHOOL OF COMMUNICATIONS OF TUNIS
3
4. Project presentation (1)
Goal:
Need: Track, in real time, vehicles equipped with a GPS module.
Answer: Develop a web platform using J2EE technology to
satisfy this need.
This project consists of three parts:
A J2EE Server.
A database.
A consultation website.
24/11/2013
HIGH SCHOOL OF COMMUNICATIONS OF TUNIS
4
6. Technologies used (1)
GPS technology:
GPS: Global Positioning System.
24 military satellites of the DoD.
Triangulation principle:
24/11/2013
HIGH SCHOOL OF COMMUNICATIONS OF TUNIS
6
8. Technologies used (3)
J2EE technology:
J2EE (Java 2 Enterprise Edition) : A Java platform that sets the
standard for professional multi-tier applications development.
Why J2EE technology and not .Net technology ?
Enterprise Application
24/11/2013
HIGH SCHOOL OF COMMUNICATIONS OF TUNIS
8
9. Technologies used (4)
Detail of the J2EE elements:
This project can be divided into three parts:
1. The J2EE server:
Wait for the connection of one or more clients,
Connect to the database,
Receive data, process it and insert it into the database,
Disconnect from the database,
Wait for the connection of new customers.
24/11/2013
HIGH SCHOOL OF COMMUNICATIONS OF TUNIS
9
10. Technologies used (5)
2. The database:
The database must contain:
Data on vehicle owners,
Data on vehicles,
The positions of vehicles.
3. The consultation website:
Safe Identification of the Owner,
The return of the vehicle position,
Contain an administrator party with a form to register new
users.
24/11/2013
HIGH SCHOOL OF COMMUNICATIONS OF TUNIS
10
11. Conception and realization (1)
Conception of the web platform:
This step allows modeling the entire project while taking in
consideration its technical aspect.
1. Use case diagram:
24/11/2013
HIGH SCHOOL OF COMMUNICATIONS OF TUNIS
11
13. Conception and realization (3)
Realization:
1. The database:
Take into account several parameters (speed and reliability)
to select a database management system.
Existing DBMSs: MySQL, Access and Oracle.
I want a light, reliable, and free database which supports a
large number of simultaneous connections.
The best choice is MySQL.
24/11/2013
HIGH SCHOOL OF COMMUNICATIONS OF TUNIS
13
14. Conception and realization (4)
Database conception schema:
24/11/2013
HIGH SCHOOL OF COMMUNICATIONS OF TUNIS
14
15. Conception and realization (5)
2. The J2EE Server:
The web container
The Enterprise Application
The EJB container
24/11/2013
HIGH SCHOOL OF COMMUNICATIONS OF TUNIS
15
16. Conception and realization (6)
3. The consultation web site:
The website project
24/11/2013
HIGH SCHOOL OF COMMUNICATIONS OF TUNIS
16
17. Results achieved (1)
Test of the J2EE Server:
24/11/2013
HIGH SCHOOL OF COMMUNICATIONS OF TUNIS
17
18. Results achieved (2)
Test of the Client:
24/11/2013
HIGH SCHOOL OF COMMUNICATIONS OF TUNIS
18
19. Conclusion and future work (1)
Résumé:
I have tried to adopt the best technical solutions and methods of
development.
Theoretical study of the basic concepts and technologies used.
Analysis and specification of requirements and design part.
The set of interfaces and implementation strategies.
Richness of the project:
Opportunity to enjoy both the acquisition of knowledge and the
initiation to group work.
24/11/2013
HIGH SCHOOL OF COMMUNICATIONS OF TUNIS
19
20. Conclusion and future work (2)
Opportunity to discover the professional world, its realities,
from the angle adaptation and difficulties.
Opportunity to learn self reliability and autonomy.
Future work:
The challenges of the implementation are not all solved.
My web platform is not so complete and can be easily
improved.
I suggest to enhance the graphical side of the web platform.
Add more features such as a chat rooms.
24/11/2013
HIGH SCHOOL OF COMMUNICATIONS OF TUNIS
20
21. Th a n k
y o u
24/11/2013
HIGH SCHOOL OF COMMUNICATIONS OF TUNIS
21
Hinweis der Redaktion
Good evening Madame, Good evening Sir !I’m me! I’mhere to presentyoumyworkwithin the 2ndyearengineerinternshipwhichconsists of developinga web platform using J2EE technology to trackin real time vehicles equippedwith a GPS module. The hosting company was the internet service provider HexaByte. My supervisor was Mr Ben HassineRached, a developer at HexaByte.
Maps are older than alphabets. It’s one of the most primitive natures of human beings to know their exact location on the surface of earth. At present Radio Navigation Systems like NAVSTAR GPS (USA), GLONASS (Russia) and GALELIO (Europe) are the most efficient, accurate and reliable technologies available to determine the precise position of any point on or above the surface of earth. And the Implementation of such systems in vehicles seems to be more a justified need rather than a fashion.The most common need is to perform what we call fleet management using the GPS system.
The goal of this project is an answer to the strong need expressed by companies to track in real time their vehicles using the GPS system.The answer in our case is to develop a web platform using J2EE technology to satisfy this need.This project can be divided into 3 major parts which I will detail later on:
This is a general view of the whole tracking system.The GPS receiver equipped in the vehicle will calculate its position basing on signals sent by the current seen satellites. The position will be transmitted via a GPRS modem to the J2EE server using a TCP connection. The J2EE server will treat the received data and insert it into the database. On the other side, a client can consult the position of his vehicle by logging into the web platform.
Now let’s take a look at the technologies I used !The first technology is obviously the GPS technology. The GPS which refers to Global Positioning System is a satellite positioning system developed by the Department of Defense of the United States of America (DoD).The position is calculated basing on the principle of triangulation which is based on 24 military satellites of the DoD. Generally with 3 satellites we can determine the position of a certain target but a marge of error between 3 and 10 meters is expected. To obtain a more precise position a minimum of 4 satellites is required.
The GPRS technology:GPRS forGeneral Packet Radio Service is used as a data transmission service; it is an upgrade from any GSM network. It allows GSM networks to be truly compatible with the Internet. GPRS uses a transfer technique in packet mode to transfer data traffic efficiently. It allows transmission rates of 9.6 kbps to over 172 kbps per user theoretically. In practice throughputs between 18 and 50 kbps are possible.
And at last The J2EE technology with which I developed the whole web platform.But first what is J2EE technology? Actually J2EE which refers to Java 2 Enterprise Edition is a platform based on java and sets the standard for professional multi-tier applications development.Why did I choose J2EE technology and not the .Net technology of Microsoft.Well for the simple reason, Applications written according to the J2EE architecture are scalable, transactional and secure in multi-user environment. These applications can be written once and then deployed on any other platform thanks to the Java Virtual Machine (JVM) which is not the case in the .Net platform.So here’s the J2EE architecture and the different components I used.The DATA BASE MANAGEMENT SYSTEM which can manage a shared database by several users simultaneously.The J2EE server which is made of The EJB container and the Web container.The EJB Enterprise JavaBeans is an architecture of components dedicated to the development and deployment of distributed enterprise applications based on components. It is made of 3 layers.The layer JDBC (Java DataBase Connectivity) manages the connection with the database(s). Here the concept of connection pool is used.JPA: The layer JPA (Java Persistence Annotation) is a layer of abstraction from the JDBC layer. It allows making Object-Relational Mapping.The layer DAO (Data Access Object) represents the intelligence of the application. The DAOs provide access to objects and propose CRUD methods (Create, Read, Update, and Delete). Web Services: This layer is meant to identify services that can be called according to the SOAP protocol (Simple Object Access Protocol). Therefore information can move between applications as XML (eXtensible Markup Language) messages.
The study of targets led to define two categories of users.
To select a database management system, I must take in considerations several parameters.