I'm developing a web application using MVC architectural pattern.
- Struts2 (version 2.3.24) is used for the Business Logic and Presentation Layer
- Spring (version 4.1.0) is the dependency injection engine
- Hibernate (version 3.6.10) is used for the Data Layer.
I have to create a PaginationFactory
class that I can dynamically use for the various section of the application. I've several examples on google and StackOverflow... But mostly old stuff like this question.
Any ideas on how implement this function with using something more modern? Maybe with JQuery
and Ajax
as support?