Skip to content
travis edited this page Jan 20, 2020 · 23 revisions

Home

General Concept

This documentation serves as an introductory course to application development under devonfw. It is structured in an alternating fashion: First a general explanation of different components and features is provided — using the complex MyThaiStar application as an example, then the actual implementation of these aspects is demonstrated via code-examples — which are part of the smaller JumpTheQueue application.

Here’s some general advice up front:

  • Carefully read each chapter and use the provided instructions in combination with the screenshots to complete your application code.

  • Work through the chapters in their correct order by following the "Next chapter:" link at the bottom of each page.

  • Don’t get lost in all the optional links provided within the text. They exist for the sake of completeness and you don’t have to follow them unless explicitly stated.

  • In Eclipse select the "Package Explorer" tab, press Ctrl+F10 and under "Package Presentation" enable the option "Hierarchical" to gain a better overview over the project.

  • If Eclipse shows any warnings, ignore them for the time being.

  • If Eclipse detects errors as a result of its static code analysis, read the displayed tooltips and consider applying the suggested solutions. If this doesn’t resolve the issue or if you encounter runtime errors, do the following:

    • Backtrack your steps and make sure you haven’t made any mistaktes previously. Be especially careful when using CobigGen, since generating wrong/unnecessary classes will most likely break the application.

    • Compare your own code with the finished application code in this repository to rule out any other potential mistakes. As a last resort you might copy/paste the provided files into your own project.

    • If all of the above fails, ask your supervisor for help and provide them with a link to the respective section in this guide. This way we can correct possible errors and improve this introductory course for future trainees.

If you haven’t already, please read the devonfw getting started guide for a basic overview over the framework and the available resources.