There may be several options.
The Bean method can return a string that is nothing more than a JSON string.
public String getSearchResult(){
results = SearchService.getResults();
return JsonHelper.convertToJson(results);
}
You can use JsonLib to convert Java objects to Json.
Use a different servlet to serve grid requests
. , JSon, JSON, JSF. , jQuery, JSF. JSF , JSF . . , . , .
JSF Phase Listener, Json Response.
,