Similar to Spring, Pop Framework (or shortly, Pop) implements IoC, Dependency Injection, and AOP. The difference is that the Pop implements those in Java syntax, instead of XML. Pop provides a more natural way for a programmer to define and reference a bean, and to use IoC, DI, AOP and MVC.
In Pop's MVC, the model of a web page (such as a JSP or a servlet) must be a bean. The JSP/servlet itself is treated as a view of the bean. The model provides the data for the view, the view is responsible for rendering the data. Hyperlink can reference a model in Pop. Navigation rule between two web pages is, therefore, represented by bean reference instead of web page connection.
So in Pop's MVC, view itself needn't to accept parameters from other views or send parameters to them. Its only task is to render and decorate the data provided by model. Model is of course object-oriented and is therefore easy to re-use. The parameters sent to a model or sent from it are strong-typed.
- Pure MVC-based framework for presentation layer of J2EE web application
- Using object reference and method invocation to represent hyperlink and page navigation
- Java object based model and independent and loosly coupled views
- Strong-typed and Java object based parameters
- Transferring parameter from one page to another one through method invocation
- Mapping a model with multiple views
- Storing sessions in HTML, easy to realize light-weighted server and load balancing
- Easy to realize i18n and l10n
Be the first to post a review of Pop Framework!