Java Development EcoSystem
Upcoming SlideShare
Loading in...5
×
 

Java Development EcoSystem

on

  • 1,075 views

 

Statistics

Views

Total Views
1,075
Views on SlideShare
1,075
Embed Views
0

Actions

Likes
0
Downloads
7
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

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
  • Вспомните проекты в которых вы учавствовали с самого начала проекта. Есть чистый лист на котором рисуете карандашом свои идеи. Со временем что-то становится лишним вы стираете ластиком – остаются серые следы. Вы нарисовали картинку, а если нужно что-то исправить? Снова стирать оставлять грязные следы.Development ecosystem – это также как человеческая среда обитания. Свежий воздух, ясное солнце, деревья – всё это делает жизнь нашу лучше.

Java Development EcoSystem Java Development EcoSystem Presentation Transcript

  • Java Development EcoSystem
    Andrey Khaisin, Ciklum
    Java User Group, June 2011
  • Who am I?
    More than 5 years in:
    • Testing, automated testing
    • Project quality analyzing
    • UI, persistence, business logic development
    • Development for non Ukrainian Banks
    And always 20% of all activities are in development ecosystem
    www.ciklum.net
    2
  • What is it all about?..
    www.ciklum.net
    3
    “I can remember when the air was clean …”
    George Burns, comedian
    After some development
  • Problems
    • Easily configurable build
    • No JAR hell
    • Keep it stable
    • One click deploy
    • Look to the future
    www.ciklum.net
    4
  • Part 1. Ecosystem components
    www.ciklum.net
    5
  • Development tools
    www.ciklum.net
    6
  • Jenkins (Hudson)
    • Start build process after source code change or after certain period of time
    • Distribute build process across a set of build servers
    • Build result statistic
    • Notification about build results
    • Executing post-build processes (e.g. deploying to testing server)
    Alternatives:
    Apache Continuum, JetBrainsTeamCity, Atlassian Bamboo, CruiseControl, Team Foundation Server, … thousands of them
    www.ciklum.net
    7
  • Source version control system
    • Trigger build process on build server on source code change
    • Store all states of application code base
    • Know who and when made that change which crash the build
    www.ciklum.net
    8
  • Maven
    • Convention over configuration
    • Standard project building life circle
    • Dependency management
    • Configuration and environment profiles
    • IDE independent project
    Alternatives:
    • Ant + Ivy
    • IDE custom build and dependencies management
    www.ciklum.net
    9
  • Nexus
    • Keep all project dependencies in one place
    • Cache all dependencies from different remote repositories
    • Manage rules for main source of certain artifact
    • Control security side – no untrusted dependencies must be used for project build
    • Maven central works under Nexus
    Alternatives:
    • Artifactory
    • Apache Archiva
    www.ciklum.net
    10
  • Code analyzing tools
    • Cobertura – test coverage
    • PMD – static code analyzing
    • FindBugs – static code analyzing
    • Checkstyle – check code style rules
    www.ciklum.net
    11
  • Sonar
    • Collecting project analyzing results
    • Track project metrics changes for a period of time
    • Visualizing project metrics
    • Flexible configurable dashboards for users with different project roles
    www.ciklum.net
    12
  • Sonar - project metrics UI
    • Summarize
    • Analyze
    • Visualize
    www.ciklum.net
    13
    Sonarize you project!
  • Part 2. Project metrics
    www.ciklum.net
    14
    Each metric is an answer to:
    How many tests?
    How big your code?
    What is code test coverage?
    How nice style of your code?
  • LOC and Test Coverage
    www.ciklum.net
    15
  • Radar - Sonar
    www.ciklum.net
    16
    The rounder shape the better metrics
  • Thank you!
    www.ciklum.net
    17
    Andrey Khaisin
    kha@ciklum.net
    Ciklum