I just need a basic Java Restful Web Service with a NetBeans project, that does two GET requests.? One, is to get a vote_count, and the other is to still use GET, but have it UPDATE the vote_count.
So, with a database called: MyDatabase
A Table named:
Two columns called:
id and votes
Then, I want to be able to make a GET call to the webservice, to get and update it.? The result would be in XML.
Something like this:
To get the votes
To update the votes by 1
I am going to be doing this from a Flash app so I just want to use regular GET calls to get and update.
This must be in NetBeans since that is what I use (and I am on Windows 7).
1) All deliverables will be considered "work made for hire" under U.S. Copyright law. Employer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the employer on the site per the worker's Worker Legal Agreement).
2) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.
3) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables):
a) For web sites or other server-side deliverables intended to only ever exist in one place in the Employer's environment--Deliverables must be installed by the Worker in ready-to-run condition in the Employer's environment.
b) For all others including desktop software or software the employer intends to distribute: A software installation package that will install the software in ready-to-run condition on the platform(s) specified in this project.
Java, Windows, NetBeans