Trick JavaServer Faces, load your bean data from the client side
Nov 4 · 6 min read

Commonly we are using JavaServer Faces (JSF) to access to server-side data and logic but it might happen, that we would actually have to fetch data on the client side and would then have to inject these in our server managed beans.
For example, let’s imagine that your client absolutely want to display a random cute picture provided by the third party Dog…


