users@glassfish.java.net

Re: How to customize a JSON response?

From: <glassfish_at_javadesktop.org>
Date: Wed, 06 Aug 2008 17:39:50 PDT

In spite of the muddled question, you seem to have understood the problem! Yes, I see that your suggestion will work, I am just overcomplicating things after trying to follow the JsonFromJaxb example.

In the context of our application, we need to ensure that the javascript client gets the event code and has the opportunity to respond appropriately, so yes, we are doing the "what the heck" thing.

Thanks, this was helpful.

I am open to other suggestions.
[Message sent by forum member 'snyderpa' (snyderpa)]

http://forums.java.net/jive/thread.jspa?messageID=292009