I'm a front-end dev with Java familiarity. I'm having a real tough time pulling up performance & development pros/cons for using methodical conversion vs JSTL for converting Java objects to JSON.
I know that with methodical conversion, an extra layer of getter/setter classes can be used for security - also I've got a really huge hunch that it's just all around faster and less resource intensive, yet I can't find any proof. I can only find comparisons between JSON libraries.
My reasons I need to elaborate on:
- Stricter security - countered by we control what data is displayed in the JSP
- Faster, less overhead - countered by lack of proof
- More easily standardized - countered by lack of flexibility
Here's a few links I've ran into (below) - I'm really looking for some solid research other than a comparison of libraries. Also, if anyone can show me some solid examples of the OJM mapping Jackson offers - that would be awesome.
- http://www.informit.com/articles/article.aspx?p=30334&seqNum=3
- http://jackson.codehaus.org/
- Spring MVC - Is JSTL Tag JSON Conversion OK?
- http://code.google.com/p/google-gson/
- http://code.google.com/p/json-io/
- http://code.google.com/p/commons-json/
Once again, I know this is so generic - but I'm just looking for suggestions and proposed reasons why methodical is better than using JSTL.