What's Next Replay - SpringSource

265 views

Published on

springsource zenika

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
265
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
0
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

What's Next Replay - SpringSource

  1. 1. Enterprise Apps in 2011 and beyond Adrian Colyer (VMware) Arnaud Cogoluègnes Zenika
  2. 2. 1. Nouveaux défis2. Paas Open Source 3. Impacts
  3. 3. 1. Nouveaux défis2. Paas Open Source 3. Impacts
  4. 4. Nouveaux...… moyens daccès aux applications… types dintéractions… moyens de déploiement… outils
  5. 5. Des clients de seconde classe ?
  6. 6. Accès pour tous... Réplication/synchronisation ? OrdinateurApplications natives ? Tablette Flash ? HTML 5 ? JSON ? Sécurité ? Smartphone REST ?
  7. 7. Utilisateurs et applications isolés ?
  8. 8. Intéractions
  9. 9. Déploiement
  10. 10. Nouveaux outilsFrameworks Languages Services
  11. 11. Nouveaux outils
  12. 12. Spring
  13. 13. SpringSpring Mobile / Spring Android Spring Social
  14. 14. Spring Data
  15. 15. SGBDR et choix...
  16. 16. NoSQL et choix...
  17. 17. 1. Nouveaux défis2. Paas Open Source 3. Impacts
  18. 18. Cloud Foundry – Open PaaS www.cloudfoundry.com www.cloudfoundry.org https://github.com/cloudfoundry
  19. 19. Cloud Foundry
  20. 20. Check this out!
  21. 21. Cloud Foundry$ vmc runtimes+--------+-------------+-----------+| Name | Description | Version |+--------+-------------+-----------+| node | Node.js | 0.4.5 || java | Java 6 | 1.6 || ruby18 | Ruby 1.8 | 1.8.7 || ruby19 | Ruby 1.9 | 1.9.2p180 |+--------+-------------+-----------+
  22. 22. Cloud Foundry$ vmc services============== System Services ==============+------------+---------+---------------------------------------+| Service | Version | Description |+------------+---------+---------------------------------------+| mongodb | 1.8 | MongoDB NoSQL store || mysql | 5.1 | MySQL database service || postgresql | 9.0 | PostgreSQL database service (vFabric) || rabbitmq | 2.4 | RabbitMQ messaging service || redis | 2.2 | Redis key-value store service |+------------+---------+---------------------------------------+
  23. 23. Cloud Foundry Ouvert Runtime complet Extensibilité des services Extensibilité du déploiement
  24. 24. Client graphique
  25. 25. Client graphique
  26. 26. Client graphique
  27. 27. 1. Nouveaux défis2. Paas Open Source 3. Impacts
  28. 28. Tester un nouvel outil ?
  29. 29. Tester un nouvel outil ! $ vmc create-service 1. postgresql 2. mysql 3. rabbitmq 4. redis 5. mongodb Please select one you wish to provision: 1 Creating Service [postgresql-9be7a]: OK
  30. 30. Support au niveau framework<beans profile="default"> <jee:jndi-lookup id="dataSource" jndi-name="java:comp/env/jdbc/myDs"/> <mongo:mongo id="mongo"/> <bean id="redisConnectionFactory" class="o.s.d.k.redis.connection.jedis.JedisConnectionFactory"/></beans><beans profile="cloud"> <cloud:data-source id="dataSource" /> <cloud:mongo id="mongo"/> <cloud:redis-connection-factory id="redisConnectionFactory"/></beans>
  31. 31. Perdu ?public void initialize(ConfigurableApplicationContext ctx) { CloudEnvironment cloud = new CloudEnvironment(); if(cloud.getInstanceInfo() != null) { ctx.getEnvironment().setActiveProfiles("cloud"); } else { ctx.getEnvironment().setActiveProfiles("default"); }}
  32. 32. Applications polyglottes Utiliser loutil approprié
  33. 33. « Design for scale »Elastic Pool Sessions Front End Messaging Bus Ref DataElastic Pool App Data Back End
  34. 34. # create the front end and backend apps# front end is small but multi‐instancevmc push fe –instances 8 –mem 64M –path ../fe_codevmc push be –instances 2 –mem 256M –path ../be_code# create the services and bind per specvmc create‐service postgresql –name postgresql –bind fevmc create‐service mongodb –name mongo –bind bevmc create‐service rabbit –name rabbit –bind fevmc create‐service redis –name redis –bind fevmc bind‐service rabbit be# to perform an update of codevmc update fe –path ../new_fe_codevmc update be –path ../new_be_code
  35. 35. Questions ?
  36. 36. Ressourceshttp://www.whatsnextparis.com/http://www.infoq.com/presentations/Enterprise-Apps-in-2011-and-Beyondhttp://www.springsource.org/spring-datahttp://blog.springsource.com/2011/05/03/using-mongodb-redis-node-js-and-spring-mvc-in-a-single-cloud-foundry-application/

×