Chapter 5. MVC

Table of Contents

Overview
Basic concepts
Creating an MVC application context
Examples

Overview

The MVC framework is based on IoC and AOP capabilities described in the previous chapters. The framework supports MIDP and LWUIT APIs and it should be easy to add support for other view technologies if needed.

The framework does not impose any restrictions on the domain model or views, as long as either LWUIT or MIDP is used. Instead, it is designed to make implementation of controllers easy. The most important features implemented in the controller layer are lazy initialization of controllers (and corresponding views, if any) and declarative navigation rules defined in an IoC configuration file.