Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
Grails in Web Applications
Sunil Prakash Inteti
Xebia
Agenda
•
•
•
•

About me
Expectation out of the session?
Grails Intro
Type of applications most appropriate to be
develope...
Agenda
• Type of applications most appropriate to be
developed in Grails
o Cloud deployment is easy(ed. Cloud foundry plug...
• Sunil Prakash Inteti
• Senior
consultant, Xebia IT
Architect
• 28 years
• Bible
• Worked with clients in
US, Europe, Aus...
Enterprise applications
Enterprise applications
Batch Job processing
class MyJob {
def startDelay = 60000
def timeout = 1000
def group = "MyGroup"
def execute(){
print "Job run!"
}
}
// Automatic marshalling of XML and JSON
import grails.converters.*
…
render Book.list(params) as JSON
render Book.get(par...
grails install-plugin backbonejs
grails install-plugin knockoutjs
• Performance intensive core backend systems
• Real time server side push
• Unnecessary objects created in groovy. This tr...
Use cases of Grails in web applications
Use cases of Grails in web applications
Use cases of Grails in web applications
Use cases of Grails in web applications
Use cases of Grails in web applications
Use cases of Grails in web applications
Use cases of Grails in web applications
Use cases of Grails in web applications
Use cases of Grails in web applications
Use cases of Grails in web applications
Use cases of Grails in web applications
Upcoming SlideShare
Loading in …5
×

Use cases of Grails in web applications

863 views

Published on

- Type of applications most appropriate to be developed in Grails
- Type of applications where Grails may not be the best choice
- Experiences with Grails during several web application development projects

Published in: Education, Technology
  • Be the first to comment

Use cases of Grails in web applications

  1. 1. Grails in Web Applications Sunil Prakash Inteti Xebia
  2. 2. Agenda • • • • About me Expectation out of the session? Grails Intro Type of applications most appropriate to be developed in Grails o Enterprise Web apps(Coachclub.fr) o Batch processing jobs(What ever Spring/hibernate does… involve audience here) o Backend can be RDBMS or Web apps + NO SQL. Plugins for Mongo / Redis o Modern web apps / Single page apps (backbone.js / knockout.js plugins). o Backend for mobile services (Rest services can be developed easily), easy to render as XML/JSON o HTML5
  3. 3. Agenda • Type of applications most appropriate to be developed in Grails o Cloud deployment is easy(ed. Cloud foundry plugin, AWS plugin) o Easy to integrate with any CI tool Jenkins/Bamboo. Both maven/ant o Live websites • When not to use grails o Performance intensive core backend systems o Real time server side push o Unnecessary objects created in groovy. This triggers garbage collection frequently. Garbage collection issues for financial transactions.. Pause happens when gc runs and transaction might be slower which is not convenient… Permgen issues are rampant
  4. 4. • Sunil Prakash Inteti • Senior consultant, Xebia IT Architect • 28 years • Bible • Worked with clients in US, Europe, Australia
  5. 5. Enterprise applications
  6. 6. Enterprise applications
  7. 7. Batch Job processing
  8. 8. class MyJob { def startDelay = 60000 def timeout = 1000 def group = "MyGroup" def execute(){ print "Job run!" } }
  9. 9. // Automatic marshalling of XML and JSON import grails.converters.* … render Book.list(params) as JSON render Book.get(params.id) as XML
  10. 10. grails install-plugin backbonejs
  11. 11. grails install-plugin knockoutjs
  12. 12. • Performance intensive core backend systems • Real time server side push • Unnecessary objects created in groovy. This triggers garbage collection frequently. • Garbage collection issues for financial transactions. Pause happens when GC runs and transaction might be slower which is not convenient. • Permgen issues are rampant

×