Siesta is a JavaScript unit testing tool which perform testing of the DOM and simulate user interactions.
I installed JBoss Developer Studio and it's possible to create a WAR file by "right mouse project > Export > …