This shows you the differences between two versions of the page.

Link to this comparison view

tutorial:generate_new_project [2020/04/21 10:55] (current)
Line 1: Line 1:
 +====== Create a project from scratch ======
 +  - In the <wrap adicode>​Package Explorer</​wrap>​ right-click and select <wrap adicode>​new / Project...</​wrap>​ / <wrap adicode>​Adichatz Application (Model and RCP)</​wrap>​
 +  - In the open window:
 +<columns 100% l 550px middle>
 +{{:​tutorial:​create_project.png?​400 |Create project}}
 +<​newcolumn left>
 +  * Specify the project name.
 +  * Specify a connector between <wrap adicode>​JSE</​wrap>,​ <wrap adicode>​Wildfly 18.x</​wrap>, ​ ...
 +  * Look at other parameters and put your changes. Click on <wrap hyperlink>​Data source</​wrap>​ and <wrap hyperlink>​Application server</​wrap>​ hyper links to set right parameters for connections.
 +  * <wrap adicode>​pagilaMappingOverride.xml</​wrap>​ customization file (see [[tutorial:​customize_scenario|Customize scenarios]]) is an XML file associated with the <wrap hyperlink>​Data source</​wrap>​ that allows you to add features and specificities to the project scenario.
 +  * You can choose to generate and deploy an EJB containing a persitence manager bean and a lock manager bean for the application. ​
 +  * Click <wrap adicode>​Finish</​wrap>​.\\
 +<WRAP adihi>​Your project is created, Model POJOs are generated by Hibernate tools, and an EJB is built and deployed to the Application Server.</​WRAP>​
 +\\ \\
 +<WRAP indic>​Datasource and Application Server information are collected in file <wrap adicode>​[eclipse_dir]/​plugins/​org.adichatz.template/​template/​connectors/​connectors.xml</​wrap>​.\\
 +File can be manually changed and jdbc connectors can be added in the directory of the file.</​WRAP> ​
 +\\ \\
 +<columns 100% l  middle>
 +Main features of your first application are described below:
 +    * UI Side: a modern and flexible platform (Eclipse 4)
 +      * a modular architecture.
 +      * A powerful databinding solution.
 +      * Easy ways to customize or remodel your project.
 +      * JNDI implementation to be linked to the Application Server.
 +    * Server Side (in JEE context): ​
 +      * An EJB module for managing all changes and requests from UI side.
 +      * An EJB module for ensuring consistency (locks).
 +      * A implementation for OneToOne relationship for Hibernate.
 +      * A solution to automatically create incremental key (parent key, increment). ​
 +<​newcolumn left>
 +{{youtube>​_hHrKFaR6bM?​medium |Create your first RCP application}}