live demo from javaone
DESCRIPTION
TRANSCRIPT
![Page 1: Live Demo from JavaOne](https://reader034.vdocuments.mx/reader034/viewer/2022051411/547e8b63b47959c5508b4b6d/html5/thumbnails/1.jpg)
Trisha Gee, MongoDB Java Engineer
#JavaOne
HTML5, AngularJS, Groovy, Java and MongoDB all together - what could possibly go wrong?
@trisha_gee
![Page 2: Live Demo from JavaOne](https://reader034.vdocuments.mx/reader034/viewer/2022051411/547e8b63b47959c5508b4b6d/html5/thumbnails/2.jpg)
I want coffee!!!
![Page 3: Live Demo from JavaOne](https://reader034.vdocuments.mx/reader034/viewer/2022051411/547e8b63b47959c5508b4b6d/html5/thumbnails/3.jpg)
Fully Buzz Word Compliant
• AngularJS (HTML5, JavaScript)
• Bootstrap (& UI Bootstrap)
• Drop Wizard (Jackson, Jersey, Jetty)
• MongoDB via Morphia (& Java Driver)
• Gradle, Groovy & Spock
• IntelliJ IDEA
![Page 4: Live Demo from JavaOne](https://reader034.vdocuments.mx/reader034/viewer/2022051411/547e8b63b47959c5508b4b6d/html5/thumbnails/4.jpg)
Hopefully you’ll learn…
• Java People: AngularJS / modern web UIs
• Non-Java People: Java Simplicity
• MongoDB
• Knowing your tools = productivity
![Page 5: Live Demo from JavaOne](https://reader034.vdocuments.mx/reader034/viewer/2022051411/547e8b63b47959c5508b4b6d/html5/thumbnails/5.jpg)
As a user of this amazing application, I need to be able to see it
Story 0
![Page 6: Live Demo from JavaOne](https://reader034.vdocuments.mx/reader034/viewer/2022051411/547e8b63b47959c5508b4b6d/html5/thumbnails/6.jpg)
As a coffee drinker, I would like to be able to select the coffee I want to order, and its size
Story 1
![Page 7: Live Demo from JavaOne](https://reader034.vdocuments.mx/reader034/viewer/2022051411/547e8b63b47959c5508b4b6d/html5/thumbnails/7.jpg)
As someone with eyes, I would really like this to not look like crap
Story 2
![Page 8: Live Demo from JavaOne](https://reader034.vdocuments.mx/reader034/viewer/2022051411/547e8b63b47959c5508b4b6d/html5/thumbnails/8.jpg)
As a drinker of fine hot and cold drinks, I need to send this order to an actual coffee shop
Story 3
![Page 9: Live Demo from JavaOne](https://reader034.vdocuments.mx/reader034/viewer/2022051411/547e8b63b47959c5508b4b6d/html5/thumbnails/9.jpg)
As a systems admin, I need to know the connection to MongoDB is closed when the server stops
Story 4
![Page 10: Live Demo from JavaOne](https://reader034.vdocuments.mx/reader034/viewer/2022051411/547e8b63b47959c5508b4b6d/html5/thumbnails/10.jpg)
As a normal paranoid human being, I want to see my order made it to the server
Story 5
![Page 11: Live Demo from JavaOne](https://reader034.vdocuments.mx/reader034/viewer/2022051411/547e8b63b47959c5508b4b6d/html5/thumbnails/11.jpg)
As a thirsty person, I want to know where to pick my coffee up from
Story 6
![Page 12: Live Demo from JavaOne](https://reader034.vdocuments.mx/reader034/viewer/2022051411/547e8b63b47959c5508b4b6d/html5/thumbnails/12.jpg)
Caveats
•Took me a bit longer to create the original application
•I did cheat a bit with IntelliJ
•Nothing in any great depth
![Page 13: Live Demo from JavaOne](https://reader034.vdocuments.mx/reader034/viewer/2022051411/547e8b63b47959c5508b4b6d/html5/thumbnails/13.jpg)
Resources
• REST in Practice: Hypermedia and Systems Architecture - Jim Webber et al
• AngularJS in 60 mins - http://www.youtube.com/watch?v=i9MHigUZKEM
• AngularJS meets JavaEE - https://blogs.oracle.com/geertjan/entry/angularjs_meets_java_ee_7
![Page 14: Live Demo from JavaOne](https://reader034.vdocuments.mx/reader034/viewer/2022051411/547e8b63b47959c5508b4b6d/html5/thumbnails/14.jpg)
Resources
• http://getbootstrap.com/
• http://angular-ui.github.io/bootstrap/
• http://dropwizard.io/
• http://mongodb.org/
• https://github.com/mongodb/morphia/
• https://github.com/trishagee/cafelito