Project Structure

RapidClipse automatically creates a standard project structure consisting of six main areas (packages). Thus, RapidClipse determines an application architecture that strictly separates different application layers, especially the UI layer, the data storage layer (Entities) and the data query layer (Data Access). 

  • Entities - List of entities created for the project. In Java, entities are the counterpart to the tables in a relational database and at runtime are used as data containers that receive query results.
  • Data Access - List of data access objects created for the project. Usually there is a corresponding Data Access Object (DAO) for each entity that is responsible for the access to the linked data source.
  • Business Objects - In this area, you can create the Java classes for your own application logic.
  • User Interface - In this section, you can create the views for your graphical interface. The class is the first view created by RapidClipse by default.
  • Themes - The SCSS files that define the theme of the application are created here.
  • Resources - Here is where all files that the application can access at runtime can be saved, including pictures and voice files for the internationalization of an application.

  • Within this standard package you can create additional packages, if required, to structure your project. However, you can also deviate from this standard structure and structure your project completely on your own using the standard Eclipse Project Explorer.

Generated files

  • Projectname
    • JRE System Library - Files of Java Runtime Environment.
    • Maven Dependencies - Required libraries which are automatically downloaded from Maven Repository and included into the RapidClipse project.
    • ehcache.xml - EhCache configuration file. By default, RapidClipse uses EhCache as a second-level cache for Hibernate to grant quicker database access via Hibernate. 
    • - Log4J configuration file. By default, RapidClipse uses Log4J to log application messages. 

      log4j.rootLogger=INFO, stdout
    • persistence.xml - JPA configuration file that defines Hibernate as a JPA Provider, amongst others.

      <?xml version="1.0" encoding="UTF-8"?>
      <persistence version="2.1"
      	<persistence-unit name="examples">
      			<property name="hibernate.cache.use_second_level_cache"
      				value="true" />
      			<property name="hibernate.cache.use_query_cache"
      				value="true" />
      			<property name="hibernate.cache.region.factory_class"
      				value="org.hibernate.cache.ehcache.EhCacheRegionFactory" />
      			<property name="javax.persistence.sharedCache.mode"
      				value="DISABLE_SELECTIVE" />
      			<property name="hibernate.archive.autodetection"
      				value="class, hbm" />
      			<property name="hibernate.show_sql" value="false" />
      			<property name="" value="validate" />
      			<property name="hibernate.transaction.auto_close_session"
      				value="false" />
      			<property name="hibernate.dialect"
      				value="org.hibernate.dialect.H2Dialect" />
      			<property name="javax.persistence.jdbc.driver"
      				value="org.h2.Driver" />
      			<property name="javax.persistence.jdbc.url"
      				value="jdbc:h2:tcp://localhost:5435/northwind;IFEXISTS=TRUE" />
      			<property name="javax.persistence.jdbc.user" value="sa" />
      			<property name="javax.persistence.jdbc.password" value="" />
    • pom.xml - Maven configuration file. The dependencies the RapidClipse project has to other libraries are specified here.

      <project xmlns=""
    • web.xml -  Configuration file that connects the application to the Servlet container as a web application.

      <?xml version="1.0" encoding="UTF-8"?>
      <web-app xmlns:xsi="" xmlns="" xsi:schemaLocation="" id="WebApp_ID" version="3.1">
  • User Interface

    • - View created by RapidClipse by default.  The name, MainView, can be changed at any time.

    • - Vaadin configuration file.

      import javax.servlet.annotation.WebServlet;
      import com.vaadin.annotations.VaadinServletConfiguration;
      import com.xdev.communication.XdevServlet;
      @WebServlet(value = "/*", asyncSupported = true)
      @VaadinServletConfiguration(productionMode = false, ui = MainUI.class)
      public class Servlet extends XdevServlet {
      	public Servlet() {
  • Themes
    • Projectname - Contains the required SCSS and CSS files for the selected theme.

XDEV Software Corp. - One Embarcadero Center, San Francisco, CA 94111, US
Copyright © 2015. XDEV Software Corp. All rights reserved.