Page 1 of 1

About Question enthuware.ocejws.v6.2.287 :

Posted: Wed Nov 16, 2016 1:44 pm
by sttaq0442
"preference to show the dynamic results in their web-pages" - this implies they need html pages so html is better option than json because json is just data and we have already selected javascript which can be used to manipulate any type of data coming from the server. But without html you will just have data which will be difficult to interpret.

Anyway, shoud I prefer JSON over HTML in exam question if there is no clear choice?

Re: About Question enthuware.ocejws.v6.2.287 :

Posted: Wed Nov 16, 2016 2:36 pm
by fjwalraven
The HTML in the existing webpages is there, however to get the dynamic behaviour you will have to do an AJAX call to a JAX-RS service and that communication is mostly done using JSON (using less bandwith than XML).
Anyway, shoud I prefer JSON over HTML in exam question if there is no clear choice?
Yes.

Regards,
Frits

Re: About Question enthuware.ocejws.v6.2.287 :

Posted: Thu Nov 17, 2016 5:55 am
by sttaq0442
Thanks for the explanation.