This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Groovy and the fly likes status history Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Languages » Groovy
Bookmark "status history" Watch "status history" New topic

status history

nom ed

Joined: Oct 28, 2010
Posts: 1
Hi i am a developer new to groovy. I am supposed to develop a web application that keeps a record of status changes for a device. The application is suppose to read and know the date the device was online and the date it was offline i.e keeping a status change history. I do not have an idea how i achieve this. Please can someone give me ideas on how to go about this...

Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299

There are several ways to approach this but I'm assuming since you posted this in the Groovy forum you would prefer a Groovy solution. My advice would be to use Grails. There are several books and a lot of tutorials available online. You're question is way to broad in scope to be answered efficiently so you should look into Grails and then come back with more specific questions when you have them.

GenRocket - Experts at Building Test Data
It is sorta covered in the JavaRanch Style Guide.
subject: status history