dropwizard

14
Abdulhadi ÇELENLİOĞLU Senior Developer SONY DROPWIZARD Production-ready, out of the box.

Upload: abdulhadi-celenlioglu

Post on 11-Aug-2015

222 views

Category:

Software


0 download

TRANSCRIPT

Abdulhadi ÇELENLİOĞLUSenior DeveloperSONY

DROPWIZARDProduction-ready, out of the box.

AGENDA

OVERVIEW

LIBRARIES

MANUAL

VERSUS

SAMPLE PROJECT

HISTORY

v0.1.0 Dec 2011

v0.8.1 Apr 2015

FACTS

3023 COMMITS

1383 FORKS

181 CONTRIBUTERS

OVERVIEW

LIBRARIES

Jetty for HTTP

Jersey for REST

Jackson for JSON

Metrics for metrics

Freemarker & Mustache

Guava

Logback & slf4j

Hibernate Validator

JDBI

Joda Time

MICROSERVICE

MONOLITHIC MICRO SERVICE

pid 1234 8GB heap

pid 56784GB heap

pid 59781GB heap

pid 12342GB heap

pid 95272GB heap

@anthonychen

{WE <3

}

WHY?

PERFORMANCE

PROSLIGHTWEIGHT

HIGH PERFORMANCEDOCUMENTATION

CONSFREQUENT CHANGES

SUPPORTNO DEPENDENCY INJECTION

HTTP Jetty Tomcat (default), Jetty orUndertow

REST Jersey Spring (default), JAX-RS

JSON Jackson Jackson, GSON, json-simple

METRICS Dropwizard Spring

LOGGING Logback, slf4j Logback, Log4j, slf4j, common-logging

FRIENDSHibernate Validator, Guava,

Apache HTTP Client, JDBI, JodaTime etc.

40+ official starter POMsfor any purpose

DEPENDENCY INJECTION NO YES

VERSUS

APPLICATION

CONFIGURATION

FAT JAR

REPRESENTATION

RESOURCE

HEALTH CHECK

VIEW

GETTING STARTED

@anthonychen

PROJECT CONFIGURATION

api : representations cli : commands client : client implementation core : domain implementation jdbi : database access classes health : health checks resources : resources application : the main application configuration : application configurations

Q&A