Getting Started with WaveMaker, Page 2
Getting Started with WaveMaker
It is very easy to get started with WaveMaker:
- Download the installer specific to your operating system and install it.
- For Linux Debian/Ubuntu users, start the WaveMaker application by executing wavemaker.sh.
- WaveMaker IDE will open in the browser and shows you the welcome screen. The welcome screen will give you options to create a new project or open an existing project.
- Follow the tutorials mentioned on the WaveMaker website to get your hands dirty with WaveMaker. Because WaveMaker has a very good documentation, I am not going to show you how to create a sample application. I would suggest that you should read documentation, follow the tutorials and listen to the very useful screencasts to make yourself comfortable with WaveMaker.
What About the Code Generated by WaveMaker?
To look at the code generated by WaveMaker, click on the File menu and press export project. This will export the project source code in your WaveMaker projects directory. The generated code has four directories:
lib: When you first export the project, this folder is empty. This folder is provided so that you can add your own JARs. These JARs then will be available on classpath.
services: This folder will contain the server-side code, like Hibernate mapping, generated Java code and Spring Beans definition files. The Spring context XML file will contain bean definitions for the session factory, Spring Hibernate template, transaction manager and many more.
src: This directory contains the log4j.properties, which can be edited to change logging settings. You can also add your custom Java classes here.
The code generated by WaveMaker is quite decent, especially the Hibernate mapping files. The exported project also gives you placeholders where you can add your own code and extend the application. But I have not tried to add any custom code, so I can't say how easy it would be.
In this article, I gave you a quick overview of WaveMaker. In a future post on WaveMaker, I will build an application using WaveMaker, extend it by adding custom Java code and then deploy it to CloudFoundry.
About the Author
Shekhar Gulati--Contributing Editor, Java-- is a Java consultant with over 5 years experience. He currently works with Xebia India, an Agile Software Development company. The opinions in this article and on his blog are his own and do not necessarily represent the opinions of his employer. His own blog is at and you can follow him on twitter here.