Your SlideShare is downloading. ×
Do We Need Containers Anyway?
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Do We Need Containers Anyway?

6,322
views

Published on

Published in: Technology

0 Comments
6 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
6,322
On Slideshare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
42
Comments
0
Likes
6
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

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