About Question enthuware.ocejws.v6.2.287 :

Moderators: Site Manager, fjwalraven

Post Reply
sttaq0442
Posts: 27
Joined: Tue Nov 15, 2016 11:20 am
Contact:

About Question enthuware.ocejws.v6.2.287 :

Post 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?

fjwalraven
Posts: 429
Joined: Tue Jul 24, 2012 2:43 am
Contact:

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

Post 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

sttaq0442
Posts: 27
Joined: Tue Nov 15, 2016 11:20 am
Contact:

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

Post by sttaq0442 »

Thanks for the explanation.

Post Reply

Who is online

Users browsing this forum: No registered users and 15 guests