www.exoplatform.com
Learn how to provide a powerful command line interface to your JVM with CRaSH the shell for the Java Platform.
CRaSH is an open source shell for extending and monitoring a Java Virtual Machine. The shell can be accessed by various means, either remotely using network protocols such as SSH or locally by attaching a shell to a running virtual machine.
Commands are written in the Groovy language and can be developed live making the extensibility of the shell easy with quick development cycles. CRaSH comes with a bunch of commands such as thread management, log management, database access and JMX.
The session will begin with an introduction to the shell, showing basic CRaSH features like auto completion and basic commands. The main part of the quickie will focus on showing how to develop CRaSH commands with several examples, showing how easy and powerful the development of a command can be.
The target audience is pretty much anyone using a JVM. Attendees will learn how to install CRaSH, connect to an instance and develop a CRaSH command to interact with virtual machine resources or services.
How to Troubleshoot Apps for the Modern Connected Worker
CRaSH: the shell for the Java Platform
1. CRaSH
TH E SH EL L FOR TH E J AVA PL ATFOR M
S E P T E M B E R 2 0 1 3
@julienviet
@defrancea
2. www.exoplatform.com - Copyright 2012 eXo Platform 2
JULIEN VIET
− Contact
− julien@julienviet.com
− @julienviet
− http://github.com/vietj
− Open source for 10 years
− Official mission: deliver enterprise grade portal
server
− Marseille JUG Leader
− Involved in Java Community Process
3. www.exoplatform.com - Copyright 2012 eXo Platform 3
WHAT IS EXO PLATFORM?
eXo Platform is an open
source social collaboration
software solution designed
for the Enterprise.
It is full featured, standard
based, extensible and has
an amazing design.
eXo Platform is featured in
Gartner's Magic Quadrant
for Horizontal Portal
Products 2012 as a User
eXperience Platform.
4. www.exoplatform.com - Copyright 2012 eXo Platform 4
ALAIN DEFRANCE
− Contact
− defrancea@gmail.com
− @alaindefrance
− http://github.com/defrancea
− Open source for 3 years
− Contributed to open source projects like
Crash
− Marseille JUG Leader
7. www.exoplatform.com - Copyright 2012 eXo Platform 7
KEY CONCEPTS
− Command Line Interface for JVM
− Create easily and quickly commands
− Compose commands into pipelines
− Connectors provide local or remote access
8. www.exoplatform.com - Copyright 2012 eXo Platform 8
MODULAR DESIGN
− Core, connectors, plugins
− Only use what you need
− Memory
− Dependencies
29. www.exoplatform.com - Copyright 2012 eXo Platform 29
WRAP UP
− A multi facet, powerful and extensible tool
for all of us
− Try online : try.crashub.org
− Reach us at
− crashub.org
− @crashub
− crash-users@googlegroups.com