April 17, 2014
Hot Topics:
RSS RSS feed Download our iPhone app

Getting Started with WaveMaker, Page 2

  • May 2, 2011
  • By Shekhar Gulati
  • Send Email »
  • More Articles »

Getting Started with WaveMaker

It is very easy to get started with WaveMaker:

  1. Download the installer specific to your operating system and install it.
  2. For Linux Debian/Ubuntu users, start the WaveMaker application by executing wavemaker.sh.
  3. 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.
  4. 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:

  1. 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.
  2. 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.
  3. src: This directory contains the log4j.properties, which can be edited to change logging settings. You can also add your custom Java classes here.
  4. webapproot: This is the Web folder of your application and contains the Web resources, like CSS, JavaScript files, Spring context files and the web.xml file.

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.

Conclusion

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.


Tags: Java, IDE, Web Tool



Page 2 of 2



Comment and Contribute

 


(Maximum characters: 1200). You have characters left.

 

 


Sitemap | Contact Us

Rocket Fuel