Once we have installed Roma, we proceed to create the web project (if you are using Windows type “roma“ instead of “./roma.sh”.
We will create the web project from the roma console. The steps are the following:
- 1.Create a web project. With this step the basic skeleton of a web application is created.
./roma.sh create web scrooge com.gesfor.scrooge /home/projects
- 2.Add Echo2 view. Echo will provide us functionality to create web interfaces.
./roma.sh add view-echo2
- 3.Add persistence aspect. The JPOX module provides transparent persistence of java objects.
./roma.sh add persistence-jpox
- 4.Add a web server. We will use Jetty server.
./roma.sh add web-jetty