gvNIX es un nuevo entorno de trabajo para Java. Es una distribución de Spring Roo con funcionalidades adicionales: gestión de la capa de servicio, servicios web, gestión de temas, gestión de la estructura de la aplicación y más.
5. Roo, Making gvNIX Work
Distribución
Convención
No runtime
Generación de código
6. El intérprete de comandos
____ ____ ____
/ __ / __ / __
/ /_/ / / / / / / /
/ _, _/ /_/ / /_/ /
/_/ |_|____/____/ 1.1.0.M1 [rev 3a0b8a3]
Welcome to Spring Roo. For assistance press TAB or
type "hint" then hit ENTER.
roo>
7. ____ ____ ____
/ __ / __ / __
/ /_/ / / / / / / /
Comando help
/ _, _/ /_/ / /_/ /
/_/ |_|____/____/ 1.1.0.M1 [rev 3a0b8a3]
Welcome to Spring Roo. For assistance press TAB or type "hint" then
hit ENTER.
roo> help
* */ End of block comment
* /* Start of block comment
* // Inline comment markers (start of line only)
* ; Inline comment markers (start of line only)
* backup Backup your project to a zip file
* cit security setup Configura la autenticación de usuarios con el
mecanismo de la Consellería de Infraestructuras y Transportes.
...
8. ____ ____ ____
/ __ / __ / __
/ /_/ / / / / / / /
Comando hint
/ _, _/ /_/ / /_/ /
/_/ |_|____/____/ 1.1.0.M1 [rev 3a0b8a3]
Welcome to Spring Roo. For assistance press TAB or type "hint" then
hit ENTER.
roo> hint
Welcome to Roo! We hope you enjoy your stay!
Before you can use many features of Roo, you need to start a new
project.
To do this, type 'project' (without the quotes) and then hit TAB.
Enter a topLevelPackage like 'com.mycompany.projectname' (no
quotes).
...
9. ____ ____ ____
/ __ / __ / __
/ /_/ / / / / / / /
TAB
/ _, _/ /_/ / /_/ /
/_/ |_|____/____/ 1.1.0.M1 [rev 3a0b8a3]
Welcome to Spring Roo. For assistance press TAB or type "hint" then
hit ENTER.
roo> s<TAB>
script security setup selenium test
service class service define ws service export operation
service export ws service import ws service list operation
service operation solr add solr all
solr setup system properties
...
11. ____ ____ ____
/ __ / __ / __
/ /_/ / / / / / / /
/ _, _/ /_/ / /_/ /
Comando project
/_/ |_|____/____/ 1.1.0.M1 [rev 3a0b8a3]
Welcome to Spring Roo. For assistance press TAB or type "hint" then hit ENTER.
roo> project topLevelPackage
com.proyecto
Created /tmp/proyecto/pom.xml
Created SRC_MAIN_JAVA
Created SRC_MAIN_RESOURCES
Created SRC_TEST_JAVA
Created SRC_TEST_RESOURCES
Created SRC_MAIN_WEBAPP
Created SRC_MAIN_RESOURCES/METAINF/spring
Created SRC_MAIN_RESOURCES/METAINF/spring/applicationContext.xml
Created SRC_MAIN_RESOURCES/log4j.properties
com.proyecto roo>