Find Jobs
Hire Freelancers

Java Web Clients (Web Programming)

$10-30 USD

Annullato
Pubblicato circa 7 anni fa

$10-30 USD

Pagato al completamento
In this assignment, you will develop two Java Web Clients and a PHP page. The assignment has two parts. In the first part, you will develop a Java Client that sends HTTP requests to a PHP page. In the second part, you will develop a PHP page that responds to the requests of the client. For the Server side, you will use the “gnuplot” to generate some plots. So download and install that software. Assignment Parts: 1. Part 1: In this part, you are required to develop a Java Application that acts as a Web Client that sends HTTP requests and a PHP server as described below. Develop a GUI Application that has drop-boxes or text boxes to enter the data to be sent to the client. The user must specify his ID and Name also. Use a Drop box to select the method to use for the HTTP request, which should be either GET or POST. The client sends a request every 10 seconds periodically. The Server responds with a string of pairs of (Timestamp, Temperature) for the last 10 seconds, one for every 2 seconds. Temperature value is between 0 – 100. The client should parse the received pairs and add values to a Temperature-time plot in real time. In other words, the graph should be updated every 10 seconds. Your client must have also a Button “Get Data File” to get the File in which the all pairs of (Time, Temperature) are stored. When the Button “Get Data File” is pressed, the file should be transferred from the Server to the Client and displayed. Your client must have also a Button “Get Graph” a plot of all data generated by the Server as an Image and displays that image. The graph is a plot of the data collected in the current day. 2. Part2: Write a PHP page that responds to the HTTP requests sent by the client described in a. You will need a small database to store the users and their IDs. Treat the ID as a password. If the user does not have an ID, deny the service for that user. You will need to do the followings: 1. Create a Periodic Daemon that runs every 2 seconds and generates a random pair (timestamp, Temperature) and add them to a file. In Linux, you can do this as a “cron” job. In windows, you can do this by using the Scheduler. Do some research here. Store the generated Temperatures in on File Per day. Keep also the last 5 values handy and easily accessible. This is left to you to come up with Ideas. 2. The PHP page does not generate the values, but it gets them from the file(S) generated by the Daemon. 3. If a client application requests the file, it should be sent to the requester. 4. If the user requests a graph of the data, generate the data by using the open source such as “gnuplot”. Your PHP page can easily execute and command line to execute a program, see the System or exec PHP.
Rif. progetto: 13411092

Info sul progetto

15 proposte
Progetto a distanza
Attivo 7 anni fa

Hai voglia di guadagnare un po'?

I vantaggi delle offerte su Freelancer

Imposta il tuo budget e le scadenze
Fatti pagare per il lavoro svolto
Delinea la tua proposta
La registrazione e le offerte sui lavori sono gratuite
15 freelance hanno fatto un'offerta media di $56 USD
Avatar dell'utente
i have a lots of experience in PHP MVC,MySQL, Wordpress, Codeigniter, laravel, Android, Mobile application development and Web Designing. my aim to deliver quality products to our customers within specified deadline. If hired by you I will put in my best work. I am ready to be hired by you and start work on your jobs. PM to me for more discussion
$111 USD in 2 giorni
4,8 (95 valutazioni)
6,0
6,0
Avatar dell'utente
Hey there, I am interested in this project. I am an experienced Java developer. Kindly send me more details over chat, I would like to discuss. Thank you.
$55 USD in 1 giorno
5,0 (7 valutazioni)
2,9
2,9
Avatar dell'utente
Hi, I have more then 10 years of experienced in java, i did lots of work on Swing,AWT, JDBC, servlet, JSP, Spring. Kindly initiate the discussion .
$82 USD in 1 giorno
4,3 (16 valutazioni)
2,7
2,7
Avatar dell'utente
Hello, Im advanced Java/PHP developer - as I see you need 2 projects and php api script that returns content of a file, I can create that stuff in 2 days for you and I suggest to user JavaFx as destop aplication or maven Java aplication for the web. I also offer written test for any project that I will make so you can be sure your project will works properly like a harm.
$55 USD in 1 giorno
0,0 (0 valutazioni)
0,0
0,0
Avatar dell'utente
I have 5 yrs working experience in web development and mobile app development client satisfaction is my priority and excellent service i would love to work on your project. hope to hear from you soon
$25 USD in 2 giorni
0,0 (0 valutazioni)
0,0
0,0

Info sul cliente

Bandiera: PALESTINIAN TERRITORY
Palestinian Territory
0,0
0
Membro dal ago 9, 2015

Verifica del cliente

Grazie! Ti abbiamo inviato tramite email il link per richiedere il tuo bonus gratuito.
Non è stato possibile inviarti l'email. Riprova per piacere.
di utenti registrati di lavori pubblicati
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Caricamento anteprima
Autorizzazione per la geolocalizzazione concessa.
La tua sessione è scaduta ed è stato effettuato il log out. Accedi nuovamente per piacere.