Chapter 2. Commanding the Runtime

We have successfully installed and started Apache Karaf. We're presented with an interactive console; what do we do now? Have fun, of course! Apache Karaf provides a bevy of ways to interact with the container running on your local machine or remotely in datacenter.

In this chapter we'll review:

  • Common Karaf commands
  • Remotely connecting to Karaf
  • Making your own custom commands
  • Using Karaf's JMX management
  • Karaf's optional web console

Command Review

When we first boot into Apache Karaf, we are presented with an interactive command shell that resembles a DOS or Unix prompt. This resemblance is intentional, and more importantly, it's harmonized to provide the same user experience regardless of the underlying host operating ...

Get Learning Apache Karaf now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.