gvNIX Desarrollo Rápido de Aplicaciones Java
-
Upload
disid -
Category
Technology
-
view
1.344 -
download
4
Transcript of gvNIX Desarrollo Rápido de Aplicaciones Java
gvNIXDesarrollo rápido de aplicaciones
Java
Enrique RuizDirector I+D+i DISID TECHNOLOGIES S.L.
TecnologíaEvolución
ProductividadOpciones
¿Java?Comunidad
Documentación
PopularVersátil
Proyecto
gvNIX = Productividad +Homogeneidad
Roo, Making gvNIX Work
DistribuciónConvenciónNo runtime
Generación de código
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>
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....
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)....
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...
El proyecto
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>
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>
____ ____ ____ / __ \/ __ \/ __ \ / /_/ / / / / / / / / _, _/ /_/ / /_/ / /_/ |_|\____/\____/ 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>
____ ____ ____ / __ \/ __ \/ __ \ / /_/ / / / / / / / / _, _/ /_/ / /_/ / /_/ |_|\____/\____/ 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>
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>
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>
Ta-da!
Más allá delintérprete
decomandos
ArquitecturaComponentes
Entorno ejecución
JSP/Tiles GWT
Entidades Seguridad
Servicios Persistencia
Temas
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>
Ta-da!
Estructura dela aplicación
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
Ta-da!
No sóloentidades
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>
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
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
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
Rich Internet ApplicationGoogle Web Toolkit
Ingeniería inversa BDJAAS
Informes
www.gvpontis.gva.es/gvnix
DISID TECHNOLOGIES, S.L.www.disid.com
C/ San Vicente Mártir, 84 – 5A. ValenciaTelf: 902 013 309
Email: [email protected]