crash @ jugsummercamp 2012 - quickie

14
UN SHELL POUR ÉTENDRE LA JVM JUGSUMMERCAMP – 14 SEPT 2012 Arnaud Héritier 1 CRaSH

Upload: arnaud-heritier

Post on 25-May-2015

1.077 views

Category:

Documents


2 download

DESCRIPTION

A quick overview of CRaSH, A shell to extend the Java Platform - http://julienviet.com/crash/

TRANSCRIPT

U N S H E L L P O U R É T E N D R E L A J V M

J U G S U M M E R C A M P – 1 4 S E P T 2 0 1 2

Arnaud Héritier

1

CRaSH

www.exoplatform.com - Copyright 2012 eXo Platform 2

SPEAKER

−  @aheritier/ aheritier.net

−  Contributeur à différents projets OSS : Apache Maven,

jenkins … CRaSH

−  Responsable outils, méthodes et Technical QA chez eXo

platform

2

www.exoplatform.com - Copyright 2012 eXo Platform 3

1

2

3

4

AUJOURD’HUI

Ce qu’il faut retenir

Présentation de CRaSH

CRaSH la démo qui en met plein la vue

Feuille de route

3

www.exoplatform.com - Copyright 2012 eXo Platform 4

CRASH, ÇA N’EST PAS …

−  Un outil pour faire planter

vos applications

−  Pour cela on a déjà ���

(Choisissez votre/vos coupable(s))

•  Les développeurs

•  Les Ops

•  Le hardware

•  Le cloud

www.exoplatform.com - Copyright 2012 eXo Platform 5

CRASH C ’EST QUOI ?

−  Un project open source LGPL hosté sur GitHub

−  Command Line Interface / Shell / Console / Terminal

−  Dernière version 1.1

5

www.exoplatform.com - Copyright 2012 eXo Platform 6

AVEC DES MORCEAUX D ’OPEN SOURCE DEDANS

6

www.exoplatform.com - Copyright 2012 eXo Platform 7

FEATURES

−  Commandes écrites en Groovy: complétion avancée et

interruptibles

−  Plusieurs connecteurs sont disponibles: Console (io de la

JVM), Telnet et bien sûr SSH

−  Des commandes pour la JVM: system, logging, jdbc, threads

−  Une extension JCR

www.exoplatform.com - Copyright 2012 eXo Platform 8

LE BESOIN

−  Vous voulez interagir facilement votre JVM

−  Vous voulez étendre un runtime facilement

−  Une interface rendue populaire par le cloud

−  Nous allons voir ensemble

www.exoplatform.com - Copyright 2012 eXo Platform 9

COMMENT OBTENIR CRASH

−  Télécharger le zip ou le programme d’installation sur le site

−  Depuis maven central (si vous l’embarquez)

www.exoplatform.com - Copyright 2012 eXo Platform 10

COMMENT UTILISER CRASH

−  Mode standalone et attach

−  Mode embarqué

§  Avec l’API de bootstrap

§  Servlet container avec ServletContextListener (qui n’est qu’un

wrapper de l’API bootstrap…)

§  Spring avec SpringBoostrap

www.exoplatform.com - Copyright 2012 eXo Platform 11

LA DEMO

www.exoplatform.com - Copyright 2012 eXo Platform 12

FEUILLE DE ROUTE

−  Support avancé de Groovy

−  Websocket

−  Plugin jvisualvm

−  Module Play! Framework 1.x

−  Plus de commandes

www.exoplatform.com - Copyright 2012 eXo Platform 13

CE QU ’ IL FAUT RETENIR

−  Gain de temps

−  Simplifier certaines tâches

−  Facile à utiliser

−  Configurable

−  Extensible

−  Indispensable!

www.exoplatform.com - Copyright 2012 eXo Platform 14

PLUS LOIN AVEC CRASH

−  Le site web :

−  http://vietj.github.org/crash

−  Lire la documentation

−  Contribuer des scripts, des plugins

−  Demander de l’aide, échanger :

−  http://groups.google.com/group/crash-users

−  Nous retrouver à Devoxx World

−  Tools in action le lundi 12 Novembre 2012 – 18h05