Post on 23-Feb-2016
description
Session Title
Presented by: Stirling Crow and Jason Foutz University of New MexicoJune 5th, 2014Creating a Stand-alone GRAILS ApplicationGetting ready for Banner XEPresentation Overview2Getting StartedDemoWalk Through of our codeDeployment ChallengesSource on GitHubUniversity PolicyNew Tools for a New DevelopmentTechnologies for development
Getting StartedGetting Started4JavaSpring FrameworkGroovyHibernateGrailsSee Spriden Search in action!
DemoDemo6Simple, useful applicationSPRIDEN BannerID vs PidmTomcat Deployment on development machine WebLogic DeploymentDemo7
Demo8
MVC FrameworkDB ConnectionCustomization Groovy Server Pages
Source Code TourDevelopment Process Changes10Developing in PL/SQL Oracle DatabaseTablesPL/SQL Code
Development Process Changes11Developing in GRAILSOracle DatabaseTablesJavaIDE:
GGTSorIntelliJTomcat
Grails Web AppWAR fileDevelopment Process Changes12Developing in GRAILSOracle DatabaseTablesTomcat or WebLogic
Grails Web AppAIX / Red Hat Linux Production ServerWAR fileDB Connection13JDBCDatasourceHibernateGORMGrails Web AppGORM(Hibernate)
Oracle JDBCMySQL JDBCGrails Web AppGORM(Hibernate)
Oracle JDBCOracle DatabaseTablesMySQL DatabaseTablesCustomization14Groovy Server PagesTemplatesg:Tags
MVC Framework15Models/Domains = Table Column SpecsViews = Display HTML info to usersControllers = Perform logic, info to viewsModel/Domain16
Model/Domain - Spriden17
Spriden Controller Methods18indexsearchByIdlistStudentsController:19
Important Views:20searchById.gsplistStudents.gsp
MVC Overview21Controllers perform business logicLogic result is sent to a ViewControllers actions and Views have the same nameSpridenControllers searchById uses the searchById view
MVC Overview22searchById view
MVC OverviewsearchById sends us to listStudents in SpridenController
MVC Overview24Variables come from the formlistStudents action executes a query, using those variablesThe results get sent to the listStudents viewController methods map view namesSource Code Tour25Spring pluginsAuthenticationSpring beansAutowire in java is the default in GrailsDeployment ServersWeblogic QuirksDeployment ChallengesDeployment Challenges27TomcatWeblogicWeblogic quirksWeblogic Discoveries28MalformedParameterizedTypeExceptionSee:http://grails.org/Deployment
Weblogic Discoveries29/index.gsp not foundSee: http://jira.grails.org/browse/GRAILS-8767WebLogic Discoveries - War files30CleanRefresh-dependenciesCompileWar
GitHub!Source CodeSource Code32https://github.com/unm-sis/SpridenSearch
Watch The Application Being Built33Go to:https://www.youtube.com/playlist?list=PLmEKL_BOSNSlim-DnV7re8Yn4Yyunvbsx
Or.. Just go to www.youtube.com and search for:stirling crow grailsSecurityFERPAUniversity PolicyUniversity Policy35Did we build it right?FERPASecurity at all layersNew environmentNew ToolsNew Tools37Issue tracking - JIRADocumentation - ConfluenceVersion Control - GitHubSummary38Development toolsTechnical EnvironmentSecurityPolicy complianceQuestions39Questions? Comments?Wed love to know if any of you have created applications using GRAILS!Thank You!40Stirling Crow, Jason Foutzstirlingcrow@unm.edu jwfoutz@unm.edu