21
Java Enterprise Applications in the Cloud: Fast, Fun and Easier than Ever Stefan Schmidt, VMware Gordon Dickens, Chariot Solutions

Java Enterprise Applications in the Cloud: Fast, Fun and Easier than Ever

Embed Size (px)

DESCRIPTION

Building the next generation of enterprise Web applications is now easier than ever. This presentation shows you how to use Spring Roo to quickly develop high-performance rich internet applications in Java with a UI of your choice. It covers • How Java offers an easy, high-performance, tooling-optimized development experience • Reverse-engineering an existing database to build an application with an MVC, JSF, or GWT front end in minutes • Using important standards such as JPA, JavaBeans validation, and EJB 3 annotations • Easily round-tripping changes between your UI, middle tier, and database • Deploying to clouds such as CloudFoundry, VMforce, Google App Engine, or AWS Elastic Beanstalk

Citation preview

Page 1: Java Enterprise Applications in the Cloud: Fast, Fun and Easier than Ever

Java Enterprise Applications in the Cloud: Fast, Fun and Easier than Ever

Stefan Schmidt, VMwareGordon Dickens, Chariot Solutions

Page 2: Java Enterprise Applications in the Cloud: Fast, Fun and Easier than Ever

Speakers

Stefan Schmidt ● Software Engineer

● VMware since 2007

● Speaker at conferences & JUGs

● Author & Blogger ○ tinyurl.com/stsmedia○ stsmedia.net

● Twitter (@schmidtstefan)

Gordon Dickens● Instructor/Mentor/Speaker

● Chariot Solutions○ chariotsolutions.com

● Author○ Spring Roo in Action○ DZone STS RefCard○ Blog gordondickens.com

● Twitter (@gdickens)

Page 3: Java Enterprise Applications in the Cloud: Fast, Fun and Easier than Ever

Agenda

● Introduction�

● Java Enterprise Application Development

● Cloud Choices

● Spring Roo

● Demo: From zero to cloud in 10 minutes�

● Closing Thoughts / Q&A

Page 4: Java Enterprise Applications in the Cloud: Fast, Fun and Easier than Ever

Java Enterprise Applications are hard...

Page 5: Java Enterprise Applications in the Cloud: Fast, Fun and Easier than Ever

... and time consuming ...

Page 6: Java Enterprise Applications in the Cloud: Fast, Fun and Easier than Ever

Which cloud works best for my app?

?

Page 7: Java Enterprise Applications in the Cloud: Fast, Fun and Easier than Ever

Why not try them all?

Page 8: Java Enterprise Applications in the Cloud: Fast, Fun and Easier than Ever

Demo: From zero to cloud in 10 minutes

Page 9: Java Enterprise Applications in the Cloud: Fast, Fun and Easier than Ever

MySQL

Page 10: Java Enterprise Applications in the Cloud: Fast, Fun and Easier than Ever

What is Spring Roo?

● Extensible RAD tool for Java Developers

● Roo is development time only○ no runtime means no additional performance or memory cost

● No lock-in ○ remove Roo from a project in less than 5 minutes

Page 11: Java Enterprise Applications in the Cloud: Fast, Fun and Easier than Ever

How does it work?

● Easy to use○ 'hint' & 'help' commands to guide the developer○ commands are recorded to allow replay

● Roo can operate in a standalone shell, or

● Ships integrated with popular IDEs

○ SpringSource Tool Suite, IntelliJ

Page 12: Java Enterprise Applications in the Cloud: Fast, Fun and Easier than Ever

Active Generation Model

[to include illustration]

Page 13: Java Enterprise Applications in the Cloud: Fast, Fun and Easier than Ever

Flexible Patterns

● Application Layers○ Service○ Repository

● Java Persistence API ○ Hibernate○ EclipseLink○ OpenJPA○ DataNucleus

● Persistence○ Support for 12 of the most

popular relational DBs○ MongoDB○ Google App Engine○ Neo4J

Page 14: Java Enterprise Applications in the Cloud: Fast, Fun and Easier than Ever

Front-End Options

● Java Server Faces

● Spring MVC

● Google Web Toolkit

● Vaadin

● Flex

Page 15: Java Enterprise Applications in the Cloud: Fast, Fun and Easier than Ever

Demo: From zero to Google goodies in 10 minutes

Page 16: Java Enterprise Applications in the Cloud: Fast, Fun and Easier than Ever

Google App Engine

Datastore Blobstore

Page 17: Java Enterprise Applications in the Cloud: Fast, Fun and Easier than Ever

Roo Applications in the Clouds

● CloudFoundry○ http://roo-pizzashop.cloudfoundry.com

● Google App Engine○ http://spring-roo-expenses.appspot.com

● Heroku○ http://roo-petclinic.herokuapp.com

● CloudBees○ http://roobees.gdickens.cloudbees.net

Page 18: Java Enterprise Applications in the Cloud: Fast, Fun and Easier than Ever

Demo: Database Reverse Engineering

Page 19: Java Enterprise Applications in the Cloud: Fast, Fun and Easier than Ever

Spring Roo Ecosystem

JavaOne Discount java38one11

all Manning books

Page 20: Java Enterprise Applications in the Cloud: Fast, Fun and Easier than Ever

Q & A

springsource.org/roo@schmidtstefan

@gdickens

@springroo@rooinaction

Page 21: Java Enterprise Applications in the Cloud: Fast, Fun and Easier than Ever

Have fun ...