SlideShare ist ein Scribd-Unternehmen logo
1 von 13
CRaSH
un shell pour étendre la
          JVM
         by Julien Viet
          @julienviet




                           1
Speaker

               • @julienviet / www.julienviet.com
               • 10 ans d’open source (eXo Platform / Red Hat /
                       JBoss)

               • Developer
    ______
 .~      ~. |`````````,         .'.                        ..''''   |         |
|           |'''|'''''        .''```.                  .''          |_________|
|           |    `.        .'         `.           ..'              |         |
 `.______.' |       `.  .'               `. ....''                  |         |
                                                                                  2
En 15 minutes


               • Présentation de CRaSH
               • CRaSH la démo qui impressione

    ______
 .~      ~. |`````````,         .'.                        ..''''   |         |
|           |'''|'''''        .''```.                  .''          |_________|
|           |    `.        .'         `.           ..'              |         |
 `.______.' |       `.  .'               `. ....''                  |         |
                                                                                  3
CRaSH c’est quoi ?

              • Un project open source LGPL hosté sur GitHub
              • Command Line Interface / Shell / Console /
                      Terminal

              • Sortie de 1.0 hier 

    ______
 .~      ~. |`````````,         .'.                        ..''''   |         |
|           |'''|'''''        .''```.                  .''          |_________|
|           |    `.        .'         `.           ..'              |         |
 `.______.' |       `.  .'               `. ....''                  |         |
                                                                                  4
Avec des morceaux
                           d’open source dedans




    ______
 .~      ~. |`````````,         .'.                        ..''''   |         |
|           |'''|'''''        .''```.                  .''          |_________|
|           |    `.        .'         `.           ..'              |         |
 `.______.' |       `.  .'               `. ....''                  |         |
                                                                                  5
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
 .~      ~. |`````````,         .'.                        ..''''   |         |
|           |'''|'''''        .''```.                  .''          |_________|
|           |    `.        .'         `.           ..'              |         |
 `.______.' |       `.  .'               `. ....''                  |         |
                                                                                  6
Pour quoi faire ?

              • Vous voulez interagir facilement votre JVM
              • Vous voulez étendre un runtime facilement
              • Vous êtes h4ck3r et vous aimez bidouiller
              • Nous allons voir ensemble
    ______
 .~      ~. |`````````,         .'.                        ..''''   |         |
|           |'''|'''''        .''```.                  .''          |_________|
|           |    `.        .'         `.           ..'              |         |
 `.______.' |       `.  .'               `. ....''                  |         |
                                                                                  7
Comment obtenir CRaSH


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

              • Depuis maven central (si vous l’embarquez)

    ______
 .~      ~. |`````````,         .'.                        ..''''   |         |
|           |'''|'''''        .''```.                  .''          |_________|
|           |    `.        .'         `.           ..'              |         |
 `.______.' |       `.  .'               `. ....''                  |         |
                                                                                  8
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…)
    ______
 .~      ~. |`````````,         .'.                        ..''''   |         |
|           |'''|'''''        .''```.                  .''          |_________|
|           |    `.        .'         `.           ..'              |         |
 `.______.' |       `.  .'               `. ....''                  |         |
                                                                                  9
La demo




    ______
 .~      ~. |`````````,         .'.                        ..''''   |         |
|           |'''|'''''        .''```.                  .''          |_________|
|           |    `.        .'         `.           ..'              |         |
 `.______.' |       `.  .'               `. ....''                  |         |
                                                                                  10
Feuille de route


              • Support avancé de Groovy



    ______
 .~      ~. |`````````,         .'.                        ..''''   |         |
|           |'''|'''''        .''```.                  .''          |_________|
|           |    `.        .'         `.           ..'              |         |
 `.______.' |       `.  .'               `. ....''                  |         |
                                                                                  11
Ce qu’il faut retenir
              • Gain de temps
              • Simplifier certaines tâches
              • Facile à utiliser
              • Configurable
              • Extensible
 .~
    ______
              • Indispensable!
         ~. |`````````,         .'.                        ..''''   |         |
|           |'''|'''''        .''```.                  .''          |_________|
|           |    `.        .'         `.           ..'              |         |
 `.______.' |       `.  .'               `. ....''                  |         |
                                                                                  12
Plus loin avec CRaSH


              • Le site web : http://vietj.github.org/crash
              • Lire la documentation
              • Contribuer des scripts

    ______
 .~      ~. |`````````,         .'.                        ..''''   |         |
|           |'''|'''''        .''```.                  .''          |_________|
|           |    `.        .'         `.           ..'              |         |
 `.______.' |       `.  .'               `. ....''                  |         |
                                                                                  13

Weitere ähnliche Inhalte

Andere mochten auch

Presentación de la Oficina de Software Libre
Presentación de la Oficina de Software LibrePresentación de la Oficina de Software Libre
Presentación de la Oficina de Software LibreJuan J. Merelo
 
12. impacto economico ariel cortes
12. impacto economico ariel cortes12. impacto economico ariel cortes
12. impacto economico ariel cortesRafael Ospina
 
Réunion publique 6 juin 2013
Réunion publique 6 juin 2013Réunion publique 6 juin 2013
Réunion publique 6 juin 2013webmaster87
 
Declaration consolidee 13 mars
Declaration consolidee 13 marsDeclaration consolidee 13 mars
Declaration consolidee 13 marsGil Durand
 
Mobilegov PréSentation Institutionnelle Fr
Mobilegov PréSentation Institutionnelle FrMobilegov PréSentation Institutionnelle Fr
Mobilegov PréSentation Institutionnelle FrFinancialVideo
 
Presentacion laclo2010
Presentacion laclo2010Presentacion laclo2010
Presentacion laclo2010Xavier Ochoa
 
Déjeuner Stratégie - Le cas Harricana
Déjeuner Stratégie - Le cas Harricana Déjeuner Stratégie - Le cas Harricana
Déjeuner Stratégie - Le cas Harricana Marie-Hélène Thouin
 
Agence TL - Photographie par Thomas Labois
Agence TL - Photographie par Thomas LaboisAgence TL - Photographie par Thomas Labois
Agence TL - Photographie par Thomas LaboisThomas Labois
 
TICE en cours de français:quelques problématiques
TICE en cours de français:quelques problématiquesTICE en cours de français:quelques problématiques
TICE en cours de français:quelques problématiquespierretravers
 
Analysefinancirebilanratios 130222045716-phpapp01
Analysefinancirebilanratios 130222045716-phpapp01Analysefinancirebilanratios 130222045716-phpapp01
Analysefinancirebilanratios 130222045716-phpapp01Stéphanie STEPHENS
 
20130411 french session basis fr
20130411 french session basis fr20130411 french session basis fr
20130411 french session basis frIRC
 
Assemblée Générale 2014
Assemblée Générale 2014Assemblée Générale 2014
Assemblée Générale 2014vefinance
 
Toulouse déclin ou accident
Toulouse   déclin ou accidentToulouse   déclin ou accident
Toulouse déclin ou accidentMarc De Jongy
 

Andere mochten auch (20)

Presentación de la Oficina de Software Libre
Presentación de la Oficina de Software LibrePresentación de la Oficina de Software Libre
Presentación de la Oficina de Software Libre
 
12. impacto economico ariel cortes
12. impacto economico ariel cortes12. impacto economico ariel cortes
12. impacto economico ariel cortes
 
18conseils
18conseils18conseils
18conseils
 
CTII Logaritmos
CTII LogaritmosCTII Logaritmos
CTII Logaritmos
 
Réunion publique 6 juin 2013
Réunion publique 6 juin 2013Réunion publique 6 juin 2013
Réunion publique 6 juin 2013
 
Declaration consolidee 13 mars
Declaration consolidee 13 marsDeclaration consolidee 13 mars
Declaration consolidee 13 mars
 
Mobilegov PréSentation Institutionnelle Fr
Mobilegov PréSentation Institutionnelle FrMobilegov PréSentation Institutionnelle Fr
Mobilegov PréSentation Institutionnelle Fr
 
Presentacion laclo2010
Presentacion laclo2010Presentacion laclo2010
Presentacion laclo2010
 
Paisatges
PaisatgesPaisatges
Paisatges
 
Déjeuner Stratégie - Le cas Harricana
Déjeuner Stratégie - Le cas Harricana Déjeuner Stratégie - Le cas Harricana
Déjeuner Stratégie - Le cas Harricana
 
Agence TL - Photographie par Thomas Labois
Agence TL - Photographie par Thomas LaboisAgence TL - Photographie par Thomas Labois
Agence TL - Photographie par Thomas Labois
 
TICE en cours de français:quelques problématiques
TICE en cours de français:quelques problématiquesTICE en cours de français:quelques problématiques
TICE en cours de français:quelques problématiques
 
Analysefinancirebilanratios 130222045716-phpapp01
Analysefinancirebilanratios 130222045716-phpapp01Analysefinancirebilanratios 130222045716-phpapp01
Analysefinancirebilanratios 130222045716-phpapp01
 
20130411 french session basis fr
20130411 french session basis fr20130411 french session basis fr
20130411 french session basis fr
 
Slideshare
SlideshareSlideshare
Slideshare
 
Assemblée Générale 2014
Assemblée Générale 2014Assemblée Générale 2014
Assemblée Générale 2014
 
Mon Monstre KW
Mon Monstre KWMon Monstre KW
Mon Monstre KW
 
Montmartre
MontmartreMontmartre
Montmartre
 
Toulouse déclin ou accident
Toulouse   déclin ou accidentToulouse   déclin ou accident
Toulouse déclin ou accident
 
Actividad módulo 4 carolina rivera
Actividad módulo 4  carolina riveraActividad módulo 4  carolina rivera
Actividad módulo 4 carolina rivera
 

Mehr von jviet

CRaSH: the shell for the Java Platform
CRaSH: the shell for the Java PlatformCRaSH: the shell for the Java Platform
CRaSH: the shell for the Java Platformjviet
 
Annotations pour les Geeks
Annotations pour les GeeksAnnotations pour les Geeks
Annotations pour les Geeksjviet
 
CRaSH the shell for the JVM
CRaSH the shell for the JVMCRaSH the shell for the JVM
CRaSH the shell for the JVMjviet
 
Navigation Service
Navigation ServiceNavigation Service
Navigation Servicejviet
 
GateIn Frameworks
GateIn FrameworksGateIn Frameworks
GateIn Frameworksjviet
 
What's new and cool in Portlet 2.0
What's new and cool in Portlet 2.0What's new and cool in Portlet 2.0
What's new and cool in Portlet 2.0jviet
 

Mehr von jviet (6)

CRaSH: the shell for the Java Platform
CRaSH: the shell for the Java PlatformCRaSH: the shell for the Java Platform
CRaSH: the shell for the Java Platform
 
Annotations pour les Geeks
Annotations pour les GeeksAnnotations pour les Geeks
Annotations pour les Geeks
 
CRaSH the shell for the JVM
CRaSH the shell for the JVMCRaSH the shell for the JVM
CRaSH the shell for the JVM
 
Navigation Service
Navigation ServiceNavigation Service
Navigation Service
 
GateIn Frameworks
GateIn FrameworksGateIn Frameworks
GateIn Frameworks
 
What's new and cool in Portlet 2.0
What's new and cool in Portlet 2.0What's new and cool in Portlet 2.0
What's new and cool in Portlet 2.0
 

Crash

  • 1. CRaSH un shell pour étendre la JVM by Julien Viet @julienviet 1
  • 2. Speaker • @julienviet / www.julienviet.com • 10 ans d’open source (eXo Platform / Red Hat / JBoss) • Developer ______ .~ ~. |`````````, .'. ..'''' | | | |'''|''''' .''```. .'' |_________| | | `. .' `. ..' | | `.______.' | `. .' `. ....'' | | 2
  • 3. En 15 minutes • Présentation de CRaSH • CRaSH la démo qui impressione ______ .~ ~. |`````````, .'. ..'''' | | | |'''|''''' .''```. .'' |_________| | | `. .' `. ..' | | `.______.' | `. .' `. ....'' | | 3
  • 4. CRaSH c’est quoi ? • Un project open source LGPL hosté sur GitHub • Command Line Interface / Shell / Console / Terminal • Sortie de 1.0 hier  ______ .~ ~. |`````````, .'. ..'''' | | | |'''|''''' .''```. .'' |_________| | | `. .' `. ..' | | `.______.' | `. .' `. ....'' | | 4
  • 5. Avec des morceaux d’open source dedans ______ .~ ~. |`````````, .'. ..'''' | | | |'''|''''' .''```. .'' |_________| | | `. .' `. ..' | | `.______.' | `. .' `. ....'' | | 5
  • 6. 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 .~ ~. |`````````, .'. ..'''' | | | |'''|''''' .''```. .'' |_________| | | `. .' `. ..' | | `.______.' | `. .' `. ....'' | | 6
  • 7. Pour quoi faire ? • Vous voulez interagir facilement votre JVM • Vous voulez étendre un runtime facilement • Vous êtes h4ck3r et vous aimez bidouiller • Nous allons voir ensemble ______ .~ ~. |`````````, .'. ..'''' | | | |'''|''''' .''```. .'' |_________| | | `. .' `. ..' | | `.______.' | `. .' `. ....'' | | 7
  • 8. Comment obtenir CRaSH • Télécharger le zip ou le programme d’installation sur le site • Depuis maven central (si vous l’embarquez) ______ .~ ~. |`````````, .'. ..'''' | | | |'''|''''' .''```. .'' |_________| | | `. .' `. ..' | | `.______.' | `. .' `. ....'' | | 8
  • 9. 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…) ______ .~ ~. |`````````, .'. ..'''' | | | |'''|''''' .''```. .'' |_________| | | `. .' `. ..' | | `.______.' | `. .' `. ....'' | | 9
  • 10. La demo ______ .~ ~. |`````````, .'. ..'''' | | | |'''|''''' .''```. .'' |_________| | | `. .' `. ..' | | `.______.' | `. .' `. ....'' | | 10
  • 11. Feuille de route • Support avancé de Groovy ______ .~ ~. |`````````, .'. ..'''' | | | |'''|''''' .''```. .'' |_________| | | `. .' `. ..' | | `.______.' | `. .' `. ....'' | | 11
  • 12. Ce qu’il faut retenir • Gain de temps • Simplifier certaines tâches • Facile à utiliser • Configurable • Extensible .~ ______ • Indispensable! ~. |`````````, .'. ..'''' | | | |'''|''''' .''```. .'' |_________| | | `. .' `. ..' | | `.______.' | `. .' `. ....'' | | 12
  • 13. Plus loin avec CRaSH • Le site web : http://vietj.github.org/crash • Lire la documentation • Contribuer des scripts ______ .~ ~. |`````````, .'. ..'''' | | | |'''|''''' .''```. .'' |_________| | | `. .' `. ..' | | `.______.' | `. .' `. ....'' | | 13

Hinweis der Redaktion

  1. Drupal Shell, JBoss AS 7, Play! Framework, Mongo DB, Jenkins CLI, Seam Forge, JMX Kittie …