Hello,

have to admit the mail doesnt make much sense to me and you should open
your own thread. That said if you just want to create some json from a
model you can use directly johnzon (new MapperBuilder().build().writeXXX())
for jsf or if you use a JAX-RS service it will be built in (just return the
value)


Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> |  Blog
<https://blog-rmannibucau.rhcloud.com> | Old Blog
<http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> |
LinkedIn <https://www.linkedin.com/in/rmannibucau> | JavaEE Factory
<https://javaeefactory-rmannibucau.rhcloud.com>

2016-12-15 18:04 GMT+01:00 Jon <[email protected]>:

> Please help me to accomplish the same solution:
>
> How may I accomplish converting a POJO into a JSON (writeValue) -
>
> with BOTH a Model bean and a managed bean -
>
> that connects the MODEL to a remote MySQL data source ?
>
> (not static data that is included in the bean)
>
> Need to write an ObjectMapper with System.out.println test.
>
> full example of what I hope to accomplish
> <http://stackoverflow.com/questions/41142802/jsf-
> managed-bean-accessing-mysql-remote-database-how-to-create-json-array-to-f
> >
>
> Any suggestions greatly appreciated.
>
> Jon
>
>
>
> --
> View this message in context: http://tomee-openejb.979440.
> n4.nabble.com/Migrate-TomEE-1-7-x-to-7-x-Java-to-JSON-Issue-
> tp4679500p4680756.html
> Sent from the TomEE Users mailing list archive at Nabble.com.
>

Reply via email to