Do We Need Containers Anyway?

8,742
-1

Published on

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

No Downloads
Views
Total Views
8,742
On Slideshare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
50
Comments
0
Likes
9
Embeds 0
No embeds

No notes for slide

Do We Need Containers Anyway?

  1. 1. Who NeedsContainers Anyway? Dmitry Buzdin Java User Group Latvia
  2. 2. Today we will talkabout containers...
  3. 3. Java is all aboutcontainers, right?
  4. 4. Lightweight Container
  5. 5. Heavyweight Container
  6. 6. EnterpriseContainer
  7. 7. Who usescontainers?
  8. 8. Why do you use them?
  9. 9. I use Container Because:• <Reason 1>• <Reason 2>• <Reason 3>• <Reason 4>• <Reason 5>• <Reason 6>
  10. 10. Data and Code Integrity Centralized Configuration Security Performance Total Cost of Ownership Transaction Supporthttp://en.wikipedia.org/wiki/Application_server
  11. 11. Thread ManagementLog ManagementHot RedeploysApplication MonitoringDistributed EnvironmentClusteringMultiple Apps on one Server
  12. 12. What if you have only one application?
  13. 13. multiple appscentralized configshot-redeploysdistributed environment
  14. 14. Can I live without the container?
  15. 15. Should I write my own Web Server?
  16. 16. Perhaps not.
  17. 17. Http Server OnlySupports Servlets Runs Spring
  18. 18. Used in Play! and Elastic Search
  19. 19. Grizzly
  20. 20. Supports Servlets and more...
  21. 21. Simple - JettyExtensible - Netty Oracle - Grizzly
  22. 22. We can start an appwithout the container! ... so what?
  23. 23. SimplicityFlexibilityPerformanceDevelopment Speed
  24. 24. Why now?
  25. 25. BrowserGET/POST HTML Server JSP Servlet
  26. 26. Browser JQueryGET/POST JSON Server REST
  27. 27. BrowserGET HTML Server
  28. 28. Browser AJAXGET JSON WEB SOCKETS Server
  29. 29. 1 user != 1 thread
  30. 30. BrowserGET JSON
  31. 31. BrowserQUEUE
  32. 32. Java NIOEvent-Driven Asynchronous Non-Blocking
  33. 33. Back to Client-Server
  34. 34. Your app should run in Jetty
  35. 35. The world is async
  36. 36. JAR Ignore JavaEE* * if you can
  37. 37. Questions
  38. 38. Referenceshttp://jetty.codehaus.org/jetty/http://netty.io/http://grizzly.java.net/
  39. 39. Recognized these words? Write todmitry@livesheets.com for the next steps
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×