Download presentation
Presentation is loading. Please wait.
Published byDamian McDonald Modified over 9 years ago
1
Presented by: Stirling Crow and Jason Foutz University of New Mexico June 5th, 2014 Creating a Stand-alone GRAILS Application Getting ready for Banner XE
2
Presentation Overview 2 Getting Started Demo Walk Through of our code Deployment Challenges Source on GitHub University Policy New Tools for a New Development
3
Technologies for development Getting Started
4
4 Java Spring Framework Groovy Hibernate Grails
5
See Spriden Search in action! Demo
6
6 Simple, useful application SPRIDEN – BannerID vs Pidm Tomcat Deployment on development machine WebLogic Deployment
7
Demo 7
8
8
9
MVC Framework DB Connection Customization – Groovy Server Pages Source Code Tour
10
Development Process Changes 10 Developing in PL/SQL Oracle Database Tables PL/SQL Code
11
Development Process Changes 11 Developing in GRAILS Oracle Database Tables Java IDE: GGTS or IntelliJ Tomcat Grails Web App WAR file
12
Development Process Changes 12 Developing in GRAILS Oracle Database Tables Tomcat or WebLogic Grails Web App AIX / Red Hat Linux Production Server WAR file
13
DB Connection 13 JDBC Datasource Hibernate GORM Grails Web App GORM (Hibernate) Oracle JDBC MySQL JDBC Grails Web App GORM (Hibernate) Oracle JDBC Oracle Database Tables MySQL Database Tables
14
Customization 14 Groovy Server Pages Templates g:Tags
15
MVC Framework 15 Models/Domains = Table Column Specs Views = Display HTML info to users Controllers = Perform logic, info to views
16
Model/Domain 16
17
Model/Domain - Spriden 17
18
Spriden Controller Methods 18 index searchById listStudents
19
Controller: 19
20
Important Views: 20 searchById.gsp listStudents.gsp
21
MVC Overview 21 Controllers perform business logic Logic result is sent to a View Controller’s actions and Views have the same name SpridenController’s searchById uses the searchById view
22
MVC Overview 22 searchById view
23
MVC Overview searchById sends us to listStudents in SpridenController
24
MVC Overview 24 Variables come from the form listStudents’ action executes a query, using those variables The results get sent to the listStudents view Controller methods map view names
25
Source Code Tour 25 Spring plugins Authentication Spring beans Autowire in java is the default in Grails
26
Deployment Servers Weblogic Quirks Deployment Challenges
27
27 Tomcat Weblogic Weblogic quirks
28
Weblogic Discoveries 28 MalformedParameterizedTypeException See: http://grails.org/Deployment
29
Weblogic Discoveries 29 /index.gsp not found See: http://jira.grails.org/browse/GRAILS-8767
30
WebLogic Discoveries - War files 30 Clean Refresh-dependencies Compile War
31
GitHub! Source Code
32
32 https://github.com/unm-sis/SpridenSearch
33
Watch The Application Being Built 33 Go to: https://www.youtube.com/playlist?list=PLmEKL_BOSNSlim -DnV7re8Yn4Yyunvbsx https://www.youtube.com/playlist?list=PLmEKL_BOSNSlim -DnV7re8Yn4Yyunvbsx Or.. Just go to www.youtube.com and search for:www.youtube.com stirling crow grails
34
Security FERPA University Policy
35
35 Did we build it right? FERPA Security at all layers
36
New environment New Tools
37
37 Issue tracking - JIRA Documentation - Confluence Version Control - GitHub
38
Summary 38 Development tools Technical Environment Security Policy compliance
39
Questions 39 Questions? Comments? We’d love to know if any of you have created applications using GRAILS!
40
Thank You! 40 Stirling Crow, Jason Foutz stirlingcrow@unm.edustirlingcrow@unm.edu jwfoutz@unm.edujwfoutz@unm.edu
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.