A project refers to the collection of information that is needed to create an application in RapidJ. This information is stored in various files and directories under the project directory.
A project consists of the following elements:
The application type for a project determines the type of application that the project will create.
This is the Java package name that will prefix all package names for any Java files generated for the project. It itself must be a valid Java package name.
For example, with base package of com.company.project
, templates
having a relative package of web
will produce Java classes in
the com.company.project.web
package.
This is the database connection associated with the project. The connection information is used when generating the application for the project.
A project will generally contain of a number of entities. Entities are used to model the real world objects and concepts that are applicable to the application.
A project will generally contain of a number of GUI components. GUI components are used to define how the user interface of the application should look.
A project generally has a number of templates that are used generate the application for the project. New templates can be added to a project, and unused templates can be disabled or deleted.
Templates can be customised to better suit the needs of the application.
A project stores its own copy of templates for the application type. Making changes (customising) to these templates will in no way affect the templates for other projects.
The generated files for a project are the result of processing the project templates with the project configuration. Together the generated files make up the application for the project.
Project directory
Entity
GUI component
Template
Generated file
Creating a project
Installing an application type
Creating a new template
Customising a template