This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Which tools can be used?

 
Jaimin Dave
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Posts: 13058
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

Bill
 
Jaimin Dave
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Sheriff
Posts: 48645
56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
. . . and welcome to the Ranch

Afraid I didn't find anything in the Java™ Tutorials that looked helpful.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic