gvnix slides
TRANSCRIPT
![Page 1: Gvnix slides](https://reader034.vdocuments.mx/reader034/viewer/2022052212/55a255581a28abff378b4654/html5/thumbnails/1.jpg)
![Page 2: Gvnix slides](https://reader034.vdocuments.mx/reader034/viewer/2022052212/55a255581a28abff378b4654/html5/thumbnails/2.jpg)
gvNIXDesarrollo rápido de aplicaciones
Java
Enrique RuizDirector I+D+i DISID TECHNOLOGIES S.L.
![Page 3: Gvnix slides](https://reader034.vdocuments.mx/reader034/viewer/2022052212/55a255581a28abff378b4654/html5/thumbnails/3.jpg)
TecnologíaEvolución
ProductividadOpciones
![Page 4: Gvnix slides](https://reader034.vdocuments.mx/reader034/viewer/2022052212/55a255581a28abff378b4654/html5/thumbnails/4.jpg)
¿Java?Comunidad
Documentación
PopularVersátil
Proyecto
![Page 5: Gvnix slides](https://reader034.vdocuments.mx/reader034/viewer/2022052212/55a255581a28abff378b4654/html5/thumbnails/5.jpg)
gvNIX = Productividad +Homogeneidad
![Page 6: Gvnix slides](https://reader034.vdocuments.mx/reader034/viewer/2022052212/55a255581a28abff378b4654/html5/thumbnails/6.jpg)
Roo, Making gvNIX Work
DistribuciónConvenciónNo runtime
Generación de código
![Page 7: Gvnix slides](https://reader034.vdocuments.mx/reader034/viewer/2022052212/55a255581a28abff378b4654/html5/thumbnails/7.jpg)
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>
![Page 8: Gvnix slides](https://reader034.vdocuments.mx/reader034/viewer/2022052212/55a255581a28abff378b4654/html5/thumbnails/8.jpg)
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....
![Page 9: Gvnix slides](https://reader034.vdocuments.mx/reader034/viewer/2022052212/55a255581a28abff378b4654/html5/thumbnails/9.jpg)
Comando hint ____ ____ ____ / __ \/ __ \/ __ \ / /_/ / / / / / / / / _, _/ /_/ / /_/ / /_/ |_|\____/\____/ 1.1.0.M1 [rev 3a0b8a3]
Welcome to Spring Roo. For assistance press TAB or type "hint" then hit ENTER.
roo> hintWelcome 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)....
![Page 10: Gvnix slides](https://reader034.vdocuments.mx/reader034/viewer/2022052212/55a255581a28abff378b4654/html5/thumbnails/10.jpg)
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 testservice class service define ws service export operationservice export ws service import ws service list operationservice operation solr add solr allsolr setup system properties...
![Page 11: Gvnix slides](https://reader034.vdocuments.mx/reader034/viewer/2022052212/55a255581a28abff378b4654/html5/thumbnails/11.jpg)
El proyecto
![Page 12: Gvnix slides](https://reader034.vdocuments.mx/reader034/viewer/2022052212/55a255581a28abff378b4654/html5/thumbnails/12.jpg)
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.xmlCreated SRC_MAIN_JAVACreated SRC_MAIN_RESOURCESCreated SRC_TEST_JAVACreated SRC_TEST_RESOURCESCreated SRC_MAIN_WEBAPPCreated SRC_MAIN_RESOURCES/METAINF/springCreated SRC_MAIN_RESOURCES/METAINF/spring/applicationContext.xmlCreated SRC_MAIN_RESOURCES/log4j.propertiescom.proyecto roo>
![Page 13: Gvnix slides](https://reader034.vdocuments.mx/reader034/viewer/2022052212/55a255581a28abff378b4654/html5/thumbnails/13.jpg)
Comando persistence ____ ____ ____ / __ \/ __ \/ __ \ / /_/ / / / / / / / / _, _/ /_/ / /_/ / /_/ |_|\____/\____/ 1.1.0.M1 [rev 3a0b8a3]
Welcome to Spring Roo. For assistance press TAB or type "hint" then hit ENTER.
com.proyecto roo> persistence setup provider HIBERNATE database HYPERSONIC_IN_MEMORY
Created SRC_MAIN_RESOURCES/METAINF/persistence.xmlCreated SRC_MAIN_RESOURCES/METAINF/spring/database.propertiesManaged SRC_MAIN_RESOURCES/METAINF/spring/applicationContext.xml... com.proyecto roo>
![Page 14: Gvnix slides](https://reader034.vdocuments.mx/reader034/viewer/2022052212/55a255581a28abff378b4654/html5/thumbnails/14.jpg)
____ ____ ____ / __ \/ __ \/ __ \ / /_/ / / / / / / / / _, _/ /_/ / /_/ / /_/ |_|\____/\____/ 1.1.0.M1 [rev 3a0b8a3]
Welcome to Spring Roo. For assistance press TAB or type "hint" then hit ENTER.
com.proyecto roo> entity class ~.domain.Actividad
Created SRC_MAIN_JAVA/com/proyecto/domainCreated SRC_MAIN_JAVA/com/proyecto/domain/Actividad.javaCreated SRC_MAIN_JAVA/com/proyecto/domain/Actividad_Roo_Entity.ajCreated SRC_MAIN_JAVA/com/proyecto/domain/Actividad_Roo_ToString.ajCreated SRC_MAIN_JAVA/com/proyecto/domain/Actividad_Roo_Configurable.aj... ~.domain.Actividad roo>
![Page 15: Gvnix slides](https://reader034.vdocuments.mx/reader034/viewer/2022052212/55a255581a28abff378b4654/html5/thumbnails/15.jpg)
____ ____ ____ / __ \/ __ \/ __ \ / /_/ / / / / / / / / _, _/ /_/ / /_/ / /_/ |_|\____/\____/ 1.1.0.M1 [rev 3a0b8a3]
Welcome to Spring Roo. For assistance press TAB or type "hint" then hit ENTER.
~.domain.Actividad roo> field string fieldName titulo notNull sizeMin 4
Managed SRC_MAIN_JAVA/com/proyecto/domain/Actividad.javaManaged SRC_MAIN_JAVA/com/proyecto/domain/Actividad_Roo_JavaBean.ajManaged SRC_MAIN_JAVA/com/proyecto/domain/Actividad_Roo_ToString.aj... ~.domain.Actividad roo>
![Page 16: Gvnix slides](https://reader034.vdocuments.mx/reader034/viewer/2022052212/55a255581a28abff378b4654/html5/thumbnails/16.jpg)
Comando finder ____ ____ ____ / __ \/ __ \/ __ \ / /_/ / / / / / / / / _, _/ /_/ / /_/ / /_/ |_|\____/\____/ 1.1.0.M1 [rev 3a0b8a3]
Welcome to Spring Roo. For assistance press TAB or type "hint" then hit ENTER.
~.domain.Actividad roo> finder add finderName findActividadsByInicio
Managed SRC_MAIN_JAVA/com/proyecto/domain/Actividad.javaCreated SRC_MAIN_JAVA/com/proyecto/domain/Actividad_Roo_Finder.aj... ~.domain.Actividad roo>
![Page 17: Gvnix slides](https://reader034.vdocuments.mx/reader034/viewer/2022052212/55a255581a28abff378b4654/html5/thumbnails/17.jpg)
Comando controller ____ ____ ____ / __ \/ __ \/ __ \ / /_/ / / / / / / / / _, _/ /_/ / /_/ / /_/ |_|\____/\____/ 1.1.0.M1 [rev 3a0b8a3]
Welcome to Spring Roo. For assistance press TAB or type "hint" then hit ENTER.
~.domain.Actividad roo> controller all package ~.web
Created SRC_MAIN_JAVA/com/proyecto/webCreated SRC_MAIN_JAVA/com/proyecto/web/ActividadController.javaCreated SRC_MAIN_WEBAPP/WEBINF/springCreated SRC_MAIN_WEBAPP/WEBINF/spring/webmvcconfig.xmlCreated SRC_MAIN_JAVA/com/proyecto/web/ActividadController_Roo_Controller.ajManaged ROOT/pom.xml [Added dependency org.apache.tiles:tilescore:2.2.1]... ~.web roo>
![Page 18: Gvnix slides](https://reader034.vdocuments.mx/reader034/viewer/2022052212/55a255581a28abff378b4654/html5/thumbnails/18.jpg)
Ta-da!
![Page 19: Gvnix slides](https://reader034.vdocuments.mx/reader034/viewer/2022052212/55a255581a28abff378b4654/html5/thumbnails/19.jpg)
Más allá delintérprete
decomandos
![Page 20: Gvnix slides](https://reader034.vdocuments.mx/reader034/viewer/2022052212/55a255581a28abff378b4654/html5/thumbnails/20.jpg)
ArquitecturaComponentes
![Page 21: Gvnix slides](https://reader034.vdocuments.mx/reader034/viewer/2022052212/55a255581a28abff378b4654/html5/thumbnails/21.jpg)
Entorno ejecución
JSP/Tiles GWT
Entidades Seguridad
Servicios Persistencia
![Page 22: Gvnix slides](https://reader034.vdocuments.mx/reader034/viewer/2022052212/55a255581a28abff378b4654/html5/thumbnails/22.jpg)
Temas
![Page 23: Gvnix slides](https://reader034.vdocuments.mx/reader034/viewer/2022052212/55a255581a28abff378b4654/html5/thumbnails/23.jpg)
Comando theme ____ ____ ____ / __ \/ __ \/ __ \ / /_/ / / / / / / / / _, _/ /_/ / /_/ / /_/ |_|\____/\____/ 1.1.0.M1 [rev 3a0b8a3]
Welcome to Spring Roo. For assistance press TAB or type "hint" then hit ENTER.
roo> theme install name themecitroo> theme set name themecit...
roo>
![Page 24: Gvnix slides](https://reader034.vdocuments.mx/reader034/viewer/2022052212/55a255581a28abff378b4654/html5/thumbnails/24.jpg)
Ta-da!
![Page 25: Gvnix slides](https://reader034.vdocuments.mx/reader034/viewer/2022052212/55a255581a28abff378b4654/html5/thumbnails/25.jpg)
Estructura dela aplicación
![Page 26: Gvnix slides](https://reader034.vdocuments.mx/reader034/viewer/2022052212/55a255581a28abff378b4654/html5/thumbnails/26.jpg)
Comando page ____ ____ ____ / __ \/ __ \/ __ \ / /_/ / / / / / / / / _, _/ /_/ / /_/ / /_/ |_|\____/\____/ 1.1.0.M1 [rev 3a0b8a3]
Welcome to Spring Roo. For assistance press TAB or type "hint" then hit ENTER.
~.web roo> page list/Jornadas /Jornadas/Jornada /Jornadas/Jornadas /Actividads /Actividads/Actividad /Actividads/Actividads/Actividads/Inicio
~.web roo> page move page /Actividads into /Jornadas
![Page 27: Gvnix slides](https://reader034.vdocuments.mx/reader034/viewer/2022052212/55a255581a28abff378b4654/html5/thumbnails/27.jpg)
Ta-da!
![Page 28: Gvnix slides](https://reader034.vdocuments.mx/reader034/viewer/2022052212/55a255581a28abff378b4654/html5/thumbnails/28.jpg)
No sóloentidades
![Page 29: Gvnix slides](https://reader034.vdocuments.mx/reader034/viewer/2022052212/55a255581a28abff378b4654/html5/thumbnails/29.jpg)
Comando service ____ ____ ____ / __ \/ __ \/ __ \ / /_/ / / / / / / / / _, _/ /_/ / /_/ / /_/ |_|\____/\____/ 1.1.0.M1 [rev 3a0b8a3]
Welcome to Spring Roo. For assistance press TAB or type "hint" then hit ENTER.
roo> service class class ~.services.ProgramaVirtualSrv
roo>
![Page 30: Gvnix slides](https://reader034.vdocuments.mx/reader034/viewer/2022052212/55a255581a28abff378b4654/html5/thumbnails/30.jpg)
Comando service operation ____ ____ ____ / __ \/ __ \/ __ \ / /_/ / / / / / / / / _, _/ /_/ / /_/ / /_/ |_|\____/\____/ 1.1.0.M1 [rev 3a0b8a3]
Welcome to Spring Roo. For assistance press TAB or type "hint" then hit ENTER.
roo> service operation name programa service ~.services.ProgramaVirtualSrv return java.lang.String paramTypes java.util.Daservice operation name programa service ~.services.ProgramaVirtualSrv return java.lang.String paramTypes java.lang.String paramNames dia
![Page 31: Gvnix slides](https://reader034.vdocuments.mx/reader034/viewer/2022052212/55a255581a28abff378b4654/html5/thumbnails/31.jpg)
Crear servicio web ____ ____ ____ / __ \/ __ \/ __ \ / /_/ / / / / / / / / _, _/ /_/ / /_/ / /_/ |_|\____/\____/ 1.1.0.M1 [rev 3a0b8a3]
Welcome to Spring Roo. For assistance press TAB or type "hint" then hit ENTER.
roo> service define ws class ~.services.ProgramaVirtualSrv
roo> service export operation class ~.services.ProgramaVirtualSrv method programa
![Page 32: Gvnix slides](https://reader034.vdocuments.mx/reader034/viewer/2022052212/55a255581a28abff378b4654/html5/thumbnails/32.jpg)
Importar servicio web ____ ____ ____ / __ \/ __ \/ __ \ / /_/ / / / / / / / / _, _/ /_/ / /_/ / /_/ |_|\____/\____/ 1.1.0.M1 [rev 3a0b8a3]
Welcome to Spring Roo. For assistance press TAB or type "hint" then hit ENTER.
roo> service import ws wsdl http://api.bing.net/search.wsdl class ~.service.BingService
![Page 33: Gvnix slides](https://reader034.vdocuments.mx/reader034/viewer/2022052212/55a255581a28abff378b4654/html5/thumbnails/33.jpg)
Rich Internet ApplicationGoogle Web Toolkit
Ingeniería inversa BDJAAS
Informes
www.gvpontis.gva.es/gvnix
![Page 34: Gvnix slides](https://reader034.vdocuments.mx/reader034/viewer/2022052212/55a255581a28abff378b4654/html5/thumbnails/34.jpg)
DISID TECHNOLOGIES, S.L.www.disid.com
C/ San Vicente Mártir, 84 – 5A. ValenciaTelf: 902 013 309
Email: [email protected]