JBoss Forge is a command line tools that help setting up and configuring a project, and it has the ability to generate code. Forge can be used on any kind of Maven project. You can find or write Forge plugins for any kind of technology that you use in projects. The built-in code generation is based on plain Java EE.
The fastest and easiest way to install Forge on any operating system is through the use of JBoss Tools or JBoss Developer Studio , where Forge comes pre-installed and makes use of IDE GUI integration.