Continued from
http://blog.lckymn.com/2009/05/17/roo-so-cool-01/

Let’s run this project to see what it looks like.

Run ROO Generated Application on Server

Run ROO Generated Application on Server


Right click on the project -> Select the Run As option on the menu -> Select the Run on Server.

Choose Server

Choose Server


Select Choose an existing server -> Select any Servlet Container or JEE Server on which you would like ROO generated application to run (If you do not have any available ones, install set it up first). -> Click the Next button.

Click Finish to Run

Click Finish to Run


Make sure vote project appears on the right-hand side and Click the Finish button.

ROO Generated Application is Running.

ROO Generated Application is Running.


Now it’s running.

I opened Firefox 3 to test it instead of using the built-in browser of Eclipse.
Let’s create a new choice.

Create New Choice (Firefox3)

Create New Choice (Firefox3)


Click the Create New Choice menu.

Create New Choice Form

Create New Choice Form


It displays the Create New Choice form.

Wait a minute! Is that a JavaScript (JS) error that Firebug complains?

dojo JS Toolkit Error

dojo JS Toolkit Error


Yes, it is but it looks like an error in dojo JS toolkit which Spring JS uses. Anyway, despite the error, it works fine.

Fill in the Form -> Save

Fill in the Form -> Save


Quickly fill in the form. -> Click the Save button.

New Choice Created

New Choice Created


The entered data are added and a new Choice is created.

Next:
http://blog.lckymn.com/2009/05/17/roo-so-cool-03/