Developing a Ripla application
To create a Ripla application, you have to do the following steps:
- Create an application bundle containing the application's main class which has to extend org.ripla.web.RiplaApplication.
- Create at least one use case bundle containing a use case service implementation (i.e. a class implementing the org.ripla.web.services.IUseCase interface) as well as the use case's resources, i.e. views and controllers.
- Create
a bundle fragment containing the layout resources, i.e. style sheets
and images for the layout you want to use for your application.
- Create a skin bundle for your application, i.e. a component containing the service provider for org.ripla.web.services.ISkin and referencing the skin bundle fragment.
- Collect other OSGi bundles you need for the application's business or persistence layer (e.g. service providers for the org.osgi.service.jdbc.DataSourceFactory service).
Note: throughout this document, the term bundle stands for OSGi bundle.