How to Get Started with AndroMDA

If you decided to get started with AndroMDA the following approach is recommended.

Learn It

First of all, consider looking through the web pages under the section For Users. Having reviewed the basic concepts and some essential parts of AndroMDA you will be able to understand what to expect and how it works when you see it in action. Should you fail to understand something, don't get upset. After building your first model and generating code from it everything will become clear.

See It

Once you have reviewed the fundamentals of AndroMDA it's time for you to see it in action. Consider starting with building, deploying, and running the Car Rental System sample that AndroMDA features. Make sure you check out the Sample Intro for detailed instructions how to build and use the Car Rental System sample. After running it you had better browse around the UML model and generated code to see how it was put together.

Do It

Having mastered the basics and seen AndroMDA in action you can try it on a simple project of your own. It is recommended to start with a Poseidon project or an ANT based wizard as your first AndroMDA based project. Then this basic project can be modified and used as a starting point for your modeling. Just edit the blank UML model and start designing your own beans.

Keep in mind the following rules concerning this basic project setup: Make sure session Bean names end in the word 'Service' for example, 'AdminService', 'InventoryService', etc. This is required as the project includes build.xml file ( AndroMDA doesn't come with these files). For more information check out the build.xml file for the replace command used to process the EJB deployment descriptor file.

PrimaryKeys - remember that each entity bean has at least one attribute that is a primary key.

No Struts support built into this blank project. The Car Rental System sample will help you generate struts code.