Please suggest where can I find good resources (tutorial/books/example code etc) for this
The opensocial-development-environment is very useful for developing OS applications. You can test your applications locally and generate Java RESTful client stubs easily.