Could someone here please take a crack at this question on StackOverflow?
The essence is, how to register instances I'm creating at runtime with
RestEasy so that I can direct REST messages to them thereafter?
http://stackoverflow.com/questions/10115658/explain-resteasy-providers-resources-and-sin
Is there a way to convert between json and bson? Other than doing it by
hand?
I know Mongo has a JSON class that converts one way or the other (bson to
json as I recall). I've found nothing simlar for going the other way.