File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes Which tools can be used? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Which tools can be used?" Watch "Which tools can be used?" New topic

Which tools can be used?

Jaimin Dave

Joined: Jun 28, 2011
Posts: 2
Hi everyone,
I am trying to build a client application that will interact with both thermostat and web server.Web server will be connected to a database where it will store information of thermostat for each client.Periodically client application will run on its own and fetch data from the web server and using that data it will send instructions to thermostat. On the other end, end-users will directly interact with web pages on the web server and make necessary changes for the thermostat. I am using API for the thermostat which is based on RESTful architecture. I am confused what how should I build this thing. Should I build server using JSP/Servlet or some other tools? I would be glad if you could provide me some insight.
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 13037
Seems pretty obvious that if users have web page access you need servlet (and possibly JSP) technology on the server side.

Your client that talks to the thermostat can certainly use HTTP methods to send data to a servlet.

Jaimin Dave

Joined: Jun 28, 2011
Posts: 2
Thanks for reply...Can you suggest me couple of good books for Servlet/JSP?.Also can I use JSP/servlet for restful architecture.
Campbell Ritchie

Joined: Oct 13, 2005
Posts: 46397
. . . and welcome to the Ranch

Afraid I didn't find anything in the Java™ Tutorials that looked helpful.
I agree. Here's the link:
subject: Which tools can be used?
It's not a secret anymore!