[Resteasy-users] Explain RestEasy providers, resources and singletons in relation to classes vs instances?

2012-04-11 Thread Brad Cox
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

[Resteasy-users] Converting JSON to/from Mongo BSON

2012-05-17 Thread Brad Cox
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.