MJCS package includes sample application, where most of the implementation code could be found and tested.