Friday, November 29, 2013

Book Review for "Developing RESTful Services with JAX-RS 2.0, WebSockets, and JSON"

I've just finished reading "Developing RESTful Services with JAX-RS 2.0, WebSockets, and JSON" from Packt Publishing.  It's an interesting book, mostly because the authors provide plenty of context around the technical explanations and give a good overview of the covered technologies. 






WebSockets and Server Side Events are two new features provided with JEE 7 that will allow you to develop client (browser) / server applications that benefit from server side 'push' communications.  This book explains both of these, also the previous generation answers to this problem (Polling, Long Polling) and examples of all of these.  Throughout the book, sensible diagrams are provided that help the reader understand things.  Truly, a picture is worth 1,000 words.  Too many technical books fail to provide enough useful illustrations, I'm pleased to report this book is not one of them.

Ancillary features (i.e. Bean Validation) are given coverage.  The authors spent an appropriate amount of time on these-- where things don't require a lot of text, not a lot is given.  By the way, the whole book is just a little over 100 pages, so it's not a long read.  But those 100 pages are generally well written ones, so this book still represents good value.

REST is also explained, including the new client API.  REST seems to be picking up steam, so if you're not well versed in it yet you might have a look at this book for that purpose.  Hand in hand with REST goes JSON, and this book also explains how you can produce and consume JSON documents in Java.

All things considered, this book is a good, targeted resource that delivers on it's promise.  I imagine I'll be using it as a reference resource from time to time.



The book can be found here.

Happy (RESTful) Reading!

Monday, November 18, 2013

Learning New Tricks

Hello Readers,

Do you sometimes like to pick up some new programming tool, language or technique to keep yourself fresh and interested?  I certainly do.

I've got two great projects in the works, I'd like to share them with you.  Maybe you'll find an interest in these two, or maybe they'll spark an idea of some other type for you.

First, I've been taking my first online course through Coursera.  I've been a 'business' programmer for 23 years now (can't believe it!), but have never done any game programming since my Vic 20.  (Even then, I didn't really do much original work.)  But that's all changed now-- I'm taking 'Introduction to Interactive Programming with Python' via Rice University.  This class is a blast!  We're in week 6, we've already written 'Pong', 'Memory' and are about to handle 'BlackJack'.  The course final will be 'Asteroids'.  Coursera is free, and I have really enjoyed this class.  Maybe you can, too.

The other item currently in the hopper is a new title from Packt Publishing.  I've done web service programming (a fair bit), but have not done a lot of work with WebSockets.  Packt has a new title, "Developing RESTful Services with JAX-RS 2.0, WebSockets and JSON", as seen here.  I've got a copy and will be providing a review here in near future.  Sounds like exciting stuff, and the book looks to be mean and lean.  I'll report more after I've given it a read.

Happy (continual) study!