This may not be exclusively for AEM, but I would like to know what is the best approach considering the framework.
I’m creating an Infinitescroll solution in a JSP file
I have a java class that uses query builder to load content into a jsp page. The class will load a content list based on a search filter.
The solutions I found are:
By creating a servlet, which I think it will require to refactor the whole business logic.
By creating JSONObject and pull from it.
By Calling the existing method (Which I favor since this is already loading into the page)
Thanks for all your assistance in advance…
AEM 6.3.3.8