SlideShare una empresa de Scribd logo
1 de 19
Descargar para leer sin conexión
3

                    New Release for
             Rapid Application Development


Engineering Ingegneria Informatica S.p.A., 2008. This work is licensed under the Creative Commons Attribution-ShareAlike
               License. To view a copy of this license, visit http://creativecommons.org/licenses/by-sa/2.0/
3
The new features
                                        Lookup                                                Decorator
             Spago Studio                                       DAO


                                                                                                New
               AS/400                                                                         Navigator

              Adapter                         Spago 2.2.0
                                                                                                   XPATH
         Statement Provider


                Skeleton               New                            XSD                   Publisher
                                    TagLibrary                                            Jasper Report

                Default                                       Xml Schema



                    Engineering Ingegneria Informatica S.p.A., 2008. This work is licensed under
                   the Creative Commons Attribution-ShareAlike License. To view a copy of this
                           license, visit http://creativecommons.org/licenses/by-sa/2.0/
3
 Spago 3 Release … The new features

  Framework extension to provide a RAD environment
  Java code writing limited to custom business functionalities:
normally it’s not necessary writing Java code nor JSP anymore !
  Refactoring of many components
   DAO introduction to manage some mechanisms on database
like auditing data, logical deletion, etc
  New presentation layer for Web applications
  New application - Spago Studio - to create and update
statements, classes and configuration files



                    Engineering Ingegneria Informatica S.p.A., 2008. This work is licensed under
                   the Creative Commons Attribution-ShareAlike License. To view a copy of this
                           license, visit http://creativecommons.org/licenses/by-sa/2.0/
3
     New Tag Library (1 of 3)
  A new TAG library with css and javascript for managing multiple
resolutions (1024 & 1280)
     Modular tag library built with custom tags, styles and javascript
     Each tag is associated to a form; it’s possible having more forms in the
   same page to easily build “rich client layout” like master/detail
     Main tags provided: list, detail, toolbar, list paginator and popup.
     All page actions can be executed also in ajax mode allowing to reload only
   part of the Web page.

     A single JSP provides all CRUD features also on multiple pages.




                         Engineering Ingegneria Informatica S.p.A., 2008. This work is licensed under
                        the Creative Commons Attribution-ShareAlike License. To view a copy of this
                                license, visit http://creativecommons.org/licenses/by-sa/2.0/
3
   New Tag Library (2 of 3)
The list TAG
   Multiple column Sort
   Filter for each column with type management and comparison criteria




                     Engineering Ingegneria Informatica S.p.A., 2008. This work is licensed under
                    the Creative Commons Attribution-ShareAlike License. To view a copy of this
                            license, visit http://creativecommons.org/licenses/by-sa/2.0/
3
   New Tag Library (3 of 3)
The detail TAG
  Automatic positioning of field sets on one, two or three columns
  Mandatory fields generated directly from validation.xml
  Multi-widget management (radio, check, calendar, combo)




                     Engineering Ingegneria Informatica S.p.A., 2008. This work is licensed under
                    the Creative Commons Attribution-ShareAlike License. To view a copy of this
                            license, visit http://creativecommons.org/licenses/by-sa/2.0/
3
     Lookup
  Complete refactoring for managing the parallel navigation flows
generated by lookup calls.
      Using a new configuration file lookups.xml it’s possible linking the fields of
   a fieldset defined on a detail module with any list module. This means that the
   lookup is now a standard list, and not a special kind of list.
    The filter criteria can be specified from the detail module to the list module
   and vice versa from the columns of the selected row towards the detail
   module.
     If the searched value is not found in the lookup list module, it’s possible to
   insert it directly using other lookups also.




                         Engineering Ingegneria Informatica S.p.A., 2008. This work is licensed under
                        the Creative Commons Attribution-ShareAlike License. To view a copy of this
                                license, visit http://creativecommons.org/licenses/by-sa/2.0/
3
      DAO
  Instead of specifying a statement, the Spago modules can
specify a class that manages the database.
     The class must implement the specific method for the access type
   (SELECT, LIST, DELETE, UPDATE or INSERT)
     The class can execute more than one SQL statement for each required
   service (e.g.: I can verify the prior existence of a record before inserting a new
   one)
     The class already provides some methods for statement and parameters
   manipulation (e.g.: I can add the audit data of the user performing the update
   to the statement parameters)
     The DAO classes can use cross invocations to implement complex
   behaviors
     The statements and the classes are generated by Spago Studio




                         Engineering Ingegneria Informatica S.p.A., 2008. This work is licensed under
                        the Creative Commons Attribution-ShareAlike License. To view a copy of this
                                license, visit http://creativecommons.org/licenses/by-sa/2.0/
3
   StatementProvider
New class for managing the SQL statements
Manages the SORT and FILTER services
Manages the parameters according to their types




                 Engineering Ingegneria Informatica S.p.A., 2008. This work is licensed under
                the Creative Commons Attribution-ShareAlike License. To view a copy of this
                        license, visit http://creativecommons.org/licenses/by-sa/2.0/
3
      Decorator
   These classes manage the data formatting for visualization both
in lists and details
  It’s possible managing the formatting according to the regional
settings
  A library containing a lot of useful decorators is provided




                     Engineering Ingegneria Informatica S.p.A., 2008. This work is licensed under
                    the Creative Commons Attribution-ShareAlike License. To view a copy of this
                            license, visit http://creativecommons.org/licenses/by-sa/2.0/
3
      Skeleton & Default
   The extension of the XML grammar suggested the introduction
of 2 new objects to simplify the repetitive configurations
   Default are stored in a configuration file that contains, for each
leaf of the different configurations (pages, modules, actions, …) a
default value. The values not specified in configurations are
retrieved from these defaults
   Skeleton are XML fragments that are usually repeated in
configuration files, so they can be defined only once and then
referenced by an identifier (e.g. a toolbar that is used in all module
configurations)




                      Engineering Ingegneria Informatica S.p.A., 2008. This work is licensed under
                     the Creative Commons Attribution-ShareAlike License. To view a copy of this
                             license, visit http://creativecommons.org/licenses/by-sa/2.0/
3
      AS400 Adapter
  New adapter that allows invoking AS400 onLine and batch
programs
  This adapter works with “PCML” files (generated by the AS400
compiler) where the input and output data are defined; produces
the AS400 input data retrieving the values from the serviceRequest
and writes on the serviceResponse the data declared as output
data




                    Engineering Ingegneria Informatica S.p.A., 2008. This work is licensed under
                   the Creative Commons Attribution-ShareAlike License. To view a copy of this
                           license, visit http://creativecommons.org/licenses/by-sa/2.0/
3
     Spago Studio (1 of 3)
   The new development environment allows to create services
(statements, DAO classes, modules, pages, lookup, resource
bundles) easily and fast, starting from database.
                                Spago Studio
                                                                                                          User DB

                                                                                          C
            Environment               Template                                        JD B

             Log/Audit

             Field Type
                                                                                   RES. B
                                                                                         O       UND.
             Dictionary
                                                                                    LO
                                                                                      OK
                              TS                                                        UP
                          EN
                       EM             S                                      PA
                     AT            AS
                                                      S

                                                                MO

                  ST
                                                        N




                                                                               GE
                                CL
                                                   ACTIO




                             AO
                                                                   DUL



                           D
                                                                      E




                           Engineering Ingegneria Informatica S.p.A., 2008. This work is licensed under
                          the Creative Commons Attribution-ShareAlike License. To view a copy of this
                                  license, visit http://creativecommons.org/licenses/by-sa/2.0/
3
    Spago Studio (2 of 3)
It’s a Web application built with Spago


                                                                                             Environments List




                                                                                                         Log Fields




                                Java generated class




                   Engineering Ingegneria Informatica S.p.A., 2008. This work is licensed under
                  the Creative Commons Attribution-ShareAlike License. To view a copy of this
                          license, visit http://creativecommons.org/licenses/by-sa/2.0/
3
      Spago Studio (3 of 3)
  It allows a high customization level (heavily based on templates:
both for Java code and configuration XML fragments)
  It has a custom database




                     Engineering Ingegneria Informatica S.p.A., 2008. This work is licensed under
                    the Creative Commons Attribution-ShareAlike License. To view a copy of this
                            license, visit http://creativecommons.org/licenses/by-sa/2.0/
3
     Navigator
  An important component for managing the navigation through
the pages of the application
  The new navigator manages the data merge necessary for
managing the AJAX requests




                   Engineering Ingegneria Informatica S.p.A., 2008. This work is licensed under
                  the Creative Commons Attribution-ShareAlike License. To view a copy of this
                          license, visit http://creativecommons.org/licenses/by-sa/2.0/
3
   Xml Schema (xsd)
There is a ready set for all type of xml configuration file
For simple document purpose
Very useful width editing tools like Eclipse
Reduce mistake on writing Spago xml configuration files




                   Engineering Ingegneria Informatica S.p.A., 2008. This work is licensed under
                  the Creative Commons Attribution-ShareAlike License. To view a copy of this
                          license, visit http://creativecommons.org/licenses/by-sa/2.0/
3
     XPATH
  A new class ConfigRowHandler allows queries and updates on
the configuration loaded in memory
  It’s possible to use XPATH for queries on XML configuration




                    Engineering Ingegneria Informatica S.p.A., 2008. This work is licensed under
                   the Creative Commons Attribution-ShareAlike License. To view a copy of this
                           license, visit http://creativecommons.org/licenses/by-sa/2.0/
3
      Publisher Jasper Report
   New servlet publisher that allows reports execution by specific
list caption or buttons




                     Engineering Ingegneria Informatica S.p.A., 2008. This work is licensed under
                    the Creative Commons Attribution-ShareAlike License. To view a copy of this
                            license, visit http://creativecommons.org/licenses/by-sa/2.0/

Más contenido relacionado

Similar a Presentation Spago3

J2EE PPT --CINTHIYA.M Krishnammal college for women
J2EE PPT --CINTHIYA.M Krishnammal college for womenJ2EE PPT --CINTHIYA.M Krishnammal college for women
J2EE PPT --CINTHIYA.M Krishnammal college for womenlissa cidhi
 
Creation of a Test Bed Environment for Core Java Applications using White Box...
Creation of a Test Bed Environment for Core Java Applications using White Box...Creation of a Test Bed Environment for Core Java Applications using White Box...
Creation of a Test Bed Environment for Core Java Applications using White Box...cscpconf
 
Trunk and branches for database configuration management
Trunk and branches for database configuration managementTrunk and branches for database configuration management
Trunk and branches for database configuration managementscmsupport
 
SAP integration sample payloads for Azure Logic Apps
SAP integration sample payloads for Azure Logic AppsSAP integration sample payloads for Azure Logic Apps
SAP integration sample payloads for Azure Logic AppsDavid Burg
 
Standards For Java Coding
Standards For Java CodingStandards For Java Coding
Standards For Java CodingRahul Bhutkar
 
Athena java dev guide
Athena java dev guideAthena java dev guide
Athena java dev guidedvdung
 
.NET Framework Projet with C#
.NET Framework Projet with C#.NET Framework Projet with C#
.NET Framework Projet with C#eclumson
 
Deep dive into the native multi model database ArangoDB
Deep dive into the native multi model database ArangoDBDeep dive into the native multi model database ArangoDB
Deep dive into the native multi model database ArangoDBArangoDB Database
 
Pro Techniques for the SSAS MD Developer
Pro Techniques for the SSAS MD DeveloperPro Techniques for the SSAS MD Developer
Pro Techniques for the SSAS MD DeveloperJens Vestergaard
 
Brane.Storm
Brane.StormBrane.Storm
Brane.Stormkturgut
 
Java dev mar_2021_keynote
Java dev mar_2021_keynoteJava dev mar_2021_keynote
Java dev mar_2021_keynoteSuyash Joshi
 
[Central authentication service][by ja sig]
[Central authentication service][by ja sig] [Central authentication service][by ja sig]
[Central authentication service][by ja sig] izzln
 
Central Authentication Service
Central Authentication ServiceCentral Authentication Service
Central Authentication Serviceizzln
 
Ibm spectrum archive ee v1.2.2 performance_white_paper
Ibm spectrum archive ee  v1.2.2 performance_white_paperIbm spectrum archive ee  v1.2.2 performance_white_paper
Ibm spectrum archive ee v1.2.2 performance_white_paperKrystel Hery
 

Similar a Presentation Spago3 (20)

Java 5
Java 5Java 5
Java 5
 
J2EE PPT --CINTHIYA.M Krishnammal college for women
J2EE PPT --CINTHIYA.M Krishnammal college for womenJ2EE PPT --CINTHIYA.M Krishnammal college for women
J2EE PPT --CINTHIYA.M Krishnammal college for women
 
Creation of a Test Bed Environment for Core Java Applications using White Box...
Creation of a Test Bed Environment for Core Java Applications using White Box...Creation of a Test Bed Environment for Core Java Applications using White Box...
Creation of a Test Bed Environment for Core Java Applications using White Box...
 
Trunk and branches for database configuration management
Trunk and branches for database configuration managementTrunk and branches for database configuration management
Trunk and branches for database configuration management
 
SAP integration sample payloads for Azure Logic Apps
SAP integration sample payloads for Azure Logic AppsSAP integration sample payloads for Azure Logic Apps
SAP integration sample payloads for Azure Logic Apps
 
Struts ppt 1
Struts ppt 1Struts ppt 1
Struts ppt 1
 
Standards For Java Coding
Standards For Java CodingStandards For Java Coding
Standards For Java Coding
 
Ajaxworld West 08
Ajaxworld West 08Ajaxworld West 08
Ajaxworld West 08
 
Athena java dev guide
Athena java dev guideAthena java dev guide
Athena java dev guide
 
.NET Framework Projet with C#
.NET Framework Projet with C#.NET Framework Projet with C#
.NET Framework Projet with C#
 
Deep dive into the native multi model database ArangoDB
Deep dive into the native multi model database ArangoDBDeep dive into the native multi model database ArangoDB
Deep dive into the native multi model database ArangoDB
 
067868
067868067868
067868
 
067868
067868067868
067868
 
Pro Techniques for the SSAS MD Developer
Pro Techniques for the SSAS MD DeveloperPro Techniques for the SSAS MD Developer
Pro Techniques for the SSAS MD Developer
 
AtoZ about TYPO3 v8 CMS
AtoZ about TYPO3 v8 CMSAtoZ about TYPO3 v8 CMS
AtoZ about TYPO3 v8 CMS
 
Brane.Storm
Brane.StormBrane.Storm
Brane.Storm
 
Java dev mar_2021_keynote
Java dev mar_2021_keynoteJava dev mar_2021_keynote
Java dev mar_2021_keynote
 
[Central authentication service][by ja sig]
[Central authentication service][by ja sig] [Central authentication service][by ja sig]
[Central authentication service][by ja sig]
 
Central Authentication Service
Central Authentication ServiceCentral Authentication Service
Central Authentication Service
 
Ibm spectrum archive ee v1.2.2 performance_white_paper
Ibm spectrum archive ee  v1.2.2 performance_white_paperIbm spectrum archive ee  v1.2.2 performance_white_paper
Ibm spectrum archive ee v1.2.2 performance_white_paper
 

Último

Linked Data in Production: Moving Beyond Ontologies
Linked Data in Production: Moving Beyond OntologiesLinked Data in Production: Moving Beyond Ontologies
Linked Data in Production: Moving Beyond OntologiesDavid Newbury
 
The Data Metaverse: Unpacking the Roles, Use Cases, and Tech Trends in Data a...
The Data Metaverse: Unpacking the Roles, Use Cases, and Tech Trends in Data a...The Data Metaverse: Unpacking the Roles, Use Cases, and Tech Trends in Data a...
The Data Metaverse: Unpacking the Roles, Use Cases, and Tech Trends in Data a...Aggregage
 
COMPUTER 10: Lesson 7 - File Storage and Online Collaboration
COMPUTER 10: Lesson 7 - File Storage and Online CollaborationCOMPUTER 10: Lesson 7 - File Storage and Online Collaboration
COMPUTER 10: Lesson 7 - File Storage and Online Collaborationbruanjhuli
 
Bird eye's view on Camunda open source ecosystem
Bird eye's view on Camunda open source ecosystemBird eye's view on Camunda open source ecosystem
Bird eye's view on Camunda open source ecosystemAsko Soukka
 
UiPath Platform: The Backend Engine Powering Your Automation - Session 1
UiPath Platform: The Backend Engine Powering Your Automation - Session 1UiPath Platform: The Backend Engine Powering Your Automation - Session 1
UiPath Platform: The Backend Engine Powering Your Automation - Session 1DianaGray10
 
Basic Building Blocks of Internet of Things.
Basic Building Blocks of Internet of Things.Basic Building Blocks of Internet of Things.
Basic Building Blocks of Internet of Things.YounusS2
 
AI You Can Trust - Ensuring Success with Data Integrity Webinar
AI You Can Trust - Ensuring Success with Data Integrity WebinarAI You Can Trust - Ensuring Success with Data Integrity Webinar
AI You Can Trust - Ensuring Success with Data Integrity WebinarPrecisely
 
Nanopower In Semiconductor Industry.pdf
Nanopower  In Semiconductor Industry.pdfNanopower  In Semiconductor Industry.pdf
Nanopower In Semiconductor Industry.pdfPedro Manuel
 
UiPath Community: AI for UiPath Automation Developers
UiPath Community: AI for UiPath Automation DevelopersUiPath Community: AI for UiPath Automation Developers
UiPath Community: AI for UiPath Automation DevelopersUiPathCommunity
 
Comparing Sidecar-less Service Mesh from Cilium and Istio
Comparing Sidecar-less Service Mesh from Cilium and IstioComparing Sidecar-less Service Mesh from Cilium and Istio
Comparing Sidecar-less Service Mesh from Cilium and IstioChristian Posta
 
Designing A Time bound resource download URL
Designing A Time bound resource download URLDesigning A Time bound resource download URL
Designing A Time bound resource download URLRuncy Oommen
 
Building Your Own AI Instance (TBLC AI )
Building Your Own AI Instance (TBLC AI )Building Your Own AI Instance (TBLC AI )
Building Your Own AI Instance (TBLC AI )Brian Pichman
 
Meet the new FSP 3000 M-Flex800™
Meet the new FSP 3000 M-Flex800™Meet the new FSP 3000 M-Flex800™
Meet the new FSP 3000 M-Flex800™Adtran
 
Machine Learning Model Validation (Aijun Zhang 2024).pdf
Machine Learning Model Validation (Aijun Zhang 2024).pdfMachine Learning Model Validation (Aijun Zhang 2024).pdf
Machine Learning Model Validation (Aijun Zhang 2024).pdfAijun Zhang
 
Connector Corner: Extending LLM automation use cases with UiPath GenAI connec...
Connector Corner: Extending LLM automation use cases with UiPath GenAI connec...Connector Corner: Extending LLM automation use cases with UiPath GenAI connec...
Connector Corner: Extending LLM automation use cases with UiPath GenAI connec...DianaGray10
 
IESVE Software for Florida Code Compliance Using ASHRAE 90.1-2019
IESVE Software for Florida Code Compliance Using ASHRAE 90.1-2019IESVE Software for Florida Code Compliance Using ASHRAE 90.1-2019
IESVE Software for Florida Code Compliance Using ASHRAE 90.1-2019IES VE
 
Cybersecurity Workshop #1.pptx
Cybersecurity Workshop #1.pptxCybersecurity Workshop #1.pptx
Cybersecurity Workshop #1.pptxGDSC PJATK
 
Using IESVE for Loads, Sizing and Heat Pump Modeling to Achieve Decarbonization
Using IESVE for Loads, Sizing and Heat Pump Modeling to Achieve DecarbonizationUsing IESVE for Loads, Sizing and Heat Pump Modeling to Achieve Decarbonization
Using IESVE for Loads, Sizing and Heat Pump Modeling to Achieve DecarbonizationIES VE
 
NIST Cybersecurity Framework (CSF) 2.0 Workshop
NIST Cybersecurity Framework (CSF) 2.0 WorkshopNIST Cybersecurity Framework (CSF) 2.0 Workshop
NIST Cybersecurity Framework (CSF) 2.0 WorkshopBachir Benyammi
 

Último (20)

Linked Data in Production: Moving Beyond Ontologies
Linked Data in Production: Moving Beyond OntologiesLinked Data in Production: Moving Beyond Ontologies
Linked Data in Production: Moving Beyond Ontologies
 
The Data Metaverse: Unpacking the Roles, Use Cases, and Tech Trends in Data a...
The Data Metaverse: Unpacking the Roles, Use Cases, and Tech Trends in Data a...The Data Metaverse: Unpacking the Roles, Use Cases, and Tech Trends in Data a...
The Data Metaverse: Unpacking the Roles, Use Cases, and Tech Trends in Data a...
 
COMPUTER 10: Lesson 7 - File Storage and Online Collaboration
COMPUTER 10: Lesson 7 - File Storage and Online CollaborationCOMPUTER 10: Lesson 7 - File Storage and Online Collaboration
COMPUTER 10: Lesson 7 - File Storage and Online Collaboration
 
Bird eye's view on Camunda open source ecosystem
Bird eye's view on Camunda open source ecosystemBird eye's view on Camunda open source ecosystem
Bird eye's view on Camunda open source ecosystem
 
UiPath Platform: The Backend Engine Powering Your Automation - Session 1
UiPath Platform: The Backend Engine Powering Your Automation - Session 1UiPath Platform: The Backend Engine Powering Your Automation - Session 1
UiPath Platform: The Backend Engine Powering Your Automation - Session 1
 
Basic Building Blocks of Internet of Things.
Basic Building Blocks of Internet of Things.Basic Building Blocks of Internet of Things.
Basic Building Blocks of Internet of Things.
 
AI You Can Trust - Ensuring Success with Data Integrity Webinar
AI You Can Trust - Ensuring Success with Data Integrity WebinarAI You Can Trust - Ensuring Success with Data Integrity Webinar
AI You Can Trust - Ensuring Success with Data Integrity Webinar
 
Nanopower In Semiconductor Industry.pdf
Nanopower  In Semiconductor Industry.pdfNanopower  In Semiconductor Industry.pdf
Nanopower In Semiconductor Industry.pdf
 
UiPath Community: AI for UiPath Automation Developers
UiPath Community: AI for UiPath Automation DevelopersUiPath Community: AI for UiPath Automation Developers
UiPath Community: AI for UiPath Automation Developers
 
Comparing Sidecar-less Service Mesh from Cilium and Istio
Comparing Sidecar-less Service Mesh from Cilium and IstioComparing Sidecar-less Service Mesh from Cilium and Istio
Comparing Sidecar-less Service Mesh from Cilium and Istio
 
Designing A Time bound resource download URL
Designing A Time bound resource download URLDesigning A Time bound resource download URL
Designing A Time bound resource download URL
 
Building Your Own AI Instance (TBLC AI )
Building Your Own AI Instance (TBLC AI )Building Your Own AI Instance (TBLC AI )
Building Your Own AI Instance (TBLC AI )
 
Meet the new FSP 3000 M-Flex800™
Meet the new FSP 3000 M-Flex800™Meet the new FSP 3000 M-Flex800™
Meet the new FSP 3000 M-Flex800™
 
Machine Learning Model Validation (Aijun Zhang 2024).pdf
Machine Learning Model Validation (Aijun Zhang 2024).pdfMachine Learning Model Validation (Aijun Zhang 2024).pdf
Machine Learning Model Validation (Aijun Zhang 2024).pdf
 
Connector Corner: Extending LLM automation use cases with UiPath GenAI connec...
Connector Corner: Extending LLM automation use cases with UiPath GenAI connec...Connector Corner: Extending LLM automation use cases with UiPath GenAI connec...
Connector Corner: Extending LLM automation use cases with UiPath GenAI connec...
 
IESVE Software for Florida Code Compliance Using ASHRAE 90.1-2019
IESVE Software for Florida Code Compliance Using ASHRAE 90.1-2019IESVE Software for Florida Code Compliance Using ASHRAE 90.1-2019
IESVE Software for Florida Code Compliance Using ASHRAE 90.1-2019
 
Cybersecurity Workshop #1.pptx
Cybersecurity Workshop #1.pptxCybersecurity Workshop #1.pptx
Cybersecurity Workshop #1.pptx
 
20230104 - machine vision
20230104 - machine vision20230104 - machine vision
20230104 - machine vision
 
Using IESVE for Loads, Sizing and Heat Pump Modeling to Achieve Decarbonization
Using IESVE for Loads, Sizing and Heat Pump Modeling to Achieve DecarbonizationUsing IESVE for Loads, Sizing and Heat Pump Modeling to Achieve Decarbonization
Using IESVE for Loads, Sizing and Heat Pump Modeling to Achieve Decarbonization
 
NIST Cybersecurity Framework (CSF) 2.0 Workshop
NIST Cybersecurity Framework (CSF) 2.0 WorkshopNIST Cybersecurity Framework (CSF) 2.0 Workshop
NIST Cybersecurity Framework (CSF) 2.0 Workshop
 

Presentation Spago3

  • 1. 3 New Release for Rapid Application Development Engineering Ingegneria Informatica S.p.A., 2008. This work is licensed under the Creative Commons Attribution-ShareAlike License. To view a copy of this license, visit http://creativecommons.org/licenses/by-sa/2.0/
  • 2. 3 The new features Lookup Decorator Spago Studio DAO New AS/400 Navigator Adapter Spago 2.2.0 XPATH Statement Provider Skeleton New XSD Publisher TagLibrary Jasper Report Default Xml Schema Engineering Ingegneria Informatica S.p.A., 2008. This work is licensed under the Creative Commons Attribution-ShareAlike License. To view a copy of this license, visit http://creativecommons.org/licenses/by-sa/2.0/
  • 3. 3 Spago 3 Release … The new features Framework extension to provide a RAD environment Java code writing limited to custom business functionalities: normally it’s not necessary writing Java code nor JSP anymore ! Refactoring of many components DAO introduction to manage some mechanisms on database like auditing data, logical deletion, etc New presentation layer for Web applications New application - Spago Studio - to create and update statements, classes and configuration files Engineering Ingegneria Informatica S.p.A., 2008. This work is licensed under the Creative Commons Attribution-ShareAlike License. To view a copy of this license, visit http://creativecommons.org/licenses/by-sa/2.0/
  • 4. 3 New Tag Library (1 of 3) A new TAG library with css and javascript for managing multiple resolutions (1024 & 1280) Modular tag library built with custom tags, styles and javascript Each tag is associated to a form; it’s possible having more forms in the same page to easily build “rich client layout” like master/detail Main tags provided: list, detail, toolbar, list paginator and popup. All page actions can be executed also in ajax mode allowing to reload only part of the Web page. A single JSP provides all CRUD features also on multiple pages. Engineering Ingegneria Informatica S.p.A., 2008. This work is licensed under the Creative Commons Attribution-ShareAlike License. To view a copy of this license, visit http://creativecommons.org/licenses/by-sa/2.0/
  • 5. 3 New Tag Library (2 of 3) The list TAG Multiple column Sort Filter for each column with type management and comparison criteria Engineering Ingegneria Informatica S.p.A., 2008. This work is licensed under the Creative Commons Attribution-ShareAlike License. To view a copy of this license, visit http://creativecommons.org/licenses/by-sa/2.0/
  • 6. 3 New Tag Library (3 of 3) The detail TAG Automatic positioning of field sets on one, two or three columns Mandatory fields generated directly from validation.xml Multi-widget management (radio, check, calendar, combo) Engineering Ingegneria Informatica S.p.A., 2008. This work is licensed under the Creative Commons Attribution-ShareAlike License. To view a copy of this license, visit http://creativecommons.org/licenses/by-sa/2.0/
  • 7. 3 Lookup Complete refactoring for managing the parallel navigation flows generated by lookup calls. Using a new configuration file lookups.xml it’s possible linking the fields of a fieldset defined on a detail module with any list module. This means that the lookup is now a standard list, and not a special kind of list. The filter criteria can be specified from the detail module to the list module and vice versa from the columns of the selected row towards the detail module. If the searched value is not found in the lookup list module, it’s possible to insert it directly using other lookups also. Engineering Ingegneria Informatica S.p.A., 2008. This work is licensed under the Creative Commons Attribution-ShareAlike License. To view a copy of this license, visit http://creativecommons.org/licenses/by-sa/2.0/
  • 8. 3 DAO Instead of specifying a statement, the Spago modules can specify a class that manages the database. The class must implement the specific method for the access type (SELECT, LIST, DELETE, UPDATE or INSERT) The class can execute more than one SQL statement for each required service (e.g.: I can verify the prior existence of a record before inserting a new one) The class already provides some methods for statement and parameters manipulation (e.g.: I can add the audit data of the user performing the update to the statement parameters) The DAO classes can use cross invocations to implement complex behaviors The statements and the classes are generated by Spago Studio Engineering Ingegneria Informatica S.p.A., 2008. This work is licensed under the Creative Commons Attribution-ShareAlike License. To view a copy of this license, visit http://creativecommons.org/licenses/by-sa/2.0/
  • 9. 3 StatementProvider New class for managing the SQL statements Manages the SORT and FILTER services Manages the parameters according to their types Engineering Ingegneria Informatica S.p.A., 2008. This work is licensed under the Creative Commons Attribution-ShareAlike License. To view a copy of this license, visit http://creativecommons.org/licenses/by-sa/2.0/
  • 10. 3 Decorator These classes manage the data formatting for visualization both in lists and details It’s possible managing the formatting according to the regional settings A library containing a lot of useful decorators is provided Engineering Ingegneria Informatica S.p.A., 2008. This work is licensed under the Creative Commons Attribution-ShareAlike License. To view a copy of this license, visit http://creativecommons.org/licenses/by-sa/2.0/
  • 11. 3 Skeleton & Default The extension of the XML grammar suggested the introduction of 2 new objects to simplify the repetitive configurations Default are stored in a configuration file that contains, for each leaf of the different configurations (pages, modules, actions, …) a default value. The values not specified in configurations are retrieved from these defaults Skeleton are XML fragments that are usually repeated in configuration files, so they can be defined only once and then referenced by an identifier (e.g. a toolbar that is used in all module configurations) Engineering Ingegneria Informatica S.p.A., 2008. This work is licensed under the Creative Commons Attribution-ShareAlike License. To view a copy of this license, visit http://creativecommons.org/licenses/by-sa/2.0/
  • 12. 3 AS400 Adapter New adapter that allows invoking AS400 onLine and batch programs This adapter works with “PCML” files (generated by the AS400 compiler) where the input and output data are defined; produces the AS400 input data retrieving the values from the serviceRequest and writes on the serviceResponse the data declared as output data Engineering Ingegneria Informatica S.p.A., 2008. This work is licensed under the Creative Commons Attribution-ShareAlike License. To view a copy of this license, visit http://creativecommons.org/licenses/by-sa/2.0/
  • 13. 3 Spago Studio (1 of 3) The new development environment allows to create services (statements, DAO classes, modules, pages, lookup, resource bundles) easily and fast, starting from database. Spago Studio User DB C Environment Template JD B Log/Audit Field Type RES. B O UND. Dictionary LO OK TS UP EN EM S PA AT AS S MO ST N GE CL ACTIO AO DUL D E Engineering Ingegneria Informatica S.p.A., 2008. This work is licensed under the Creative Commons Attribution-ShareAlike License. To view a copy of this license, visit http://creativecommons.org/licenses/by-sa/2.0/
  • 14. 3 Spago Studio (2 of 3) It’s a Web application built with Spago Environments List Log Fields Java generated class Engineering Ingegneria Informatica S.p.A., 2008. This work is licensed under the Creative Commons Attribution-ShareAlike License. To view a copy of this license, visit http://creativecommons.org/licenses/by-sa/2.0/
  • 15. 3 Spago Studio (3 of 3) It allows a high customization level (heavily based on templates: both for Java code and configuration XML fragments) It has a custom database Engineering Ingegneria Informatica S.p.A., 2008. This work is licensed under the Creative Commons Attribution-ShareAlike License. To view a copy of this license, visit http://creativecommons.org/licenses/by-sa/2.0/
  • 16. 3 Navigator An important component for managing the navigation through the pages of the application The new navigator manages the data merge necessary for managing the AJAX requests Engineering Ingegneria Informatica S.p.A., 2008. This work is licensed under the Creative Commons Attribution-ShareAlike License. To view a copy of this license, visit http://creativecommons.org/licenses/by-sa/2.0/
  • 17. 3 Xml Schema (xsd) There is a ready set for all type of xml configuration file For simple document purpose Very useful width editing tools like Eclipse Reduce mistake on writing Spago xml configuration files Engineering Ingegneria Informatica S.p.A., 2008. This work is licensed under the Creative Commons Attribution-ShareAlike License. To view a copy of this license, visit http://creativecommons.org/licenses/by-sa/2.0/
  • 18. 3 XPATH A new class ConfigRowHandler allows queries and updates on the configuration loaded in memory It’s possible to use XPATH for queries on XML configuration Engineering Ingegneria Informatica S.p.A., 2008. This work is licensed under the Creative Commons Attribution-ShareAlike License. To view a copy of this license, visit http://creativecommons.org/licenses/by-sa/2.0/
  • 19. 3 Publisher Jasper Report New servlet publisher that allows reports execution by specific list caption or buttons Engineering Ingegneria Informatica S.p.A., 2008. This work is licensed under the Creative Commons Attribution-ShareAlike License. To view a copy of this license, visit http://creativecommons.org/licenses/by-sa/2.0/