• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Do We Need Containers Anyway?
 

Do We Need Containers Anyway?

on

  • 4,555 views

 

Statistics

Views

Total Views
4,555
Views on SlideShare
4,409
Embed Views
146

Actions

Likes
5
Downloads
26
Comments
0

5 Embeds 146

http://mj89sp3sau2k7lj1eg3k40hkeppguj6j-a-sites-opensocial.googleusercontent.com 67
http://www.jug.lv 49
http://jug.lv 16
http://jugpreview.tumblr.com 11
https://twitter.com 3

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Do We Need Containers Anyway? Do We Need Containers Anyway? Presentation Transcript

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