OSGi Basics

OSGi Basics

Your first guided steps into the OSGi world - learn what it's about and build your first Declarative Services

What You'll Learn

If you don't have experience with OSGi yet, but are about to develop on Liferay DXP or customize it, this is your lecture. Get the introduction to OSGi quickly and make immediate use of it.

This lecture is deliberately short, introducing the basic vocabulary and tools, so that you have just enough knowledge to start using it in the context of Liferay. We'll dive into the details during more specific Liferay Backend Development courses.

Course Instructor

Olaf Kock

Since he joined Liferay in 2010, Olaf is busy with consulting, training and setting customers and community on track. Being one of the top posters on Liferay's community blog, he likes sharing his experience and sometimes adds in his opinion - just like in this course.

With the advent of Liferay DXP 7.0 he got his hands dirty on OSGi and shares some of that knowledge in this quick and free lecture.

You can occasionally meet Olaf at european trainings or community meetups, and also at events like Liferay Devcon, or the North American Symposium (NAS) 2018. He's the host of the (typically sold out) Unconference - held at Devcon since 2013 and for the first time at NAS in 2018.

Course Overview60-90 minutes

  • Getting Started

    Say hello to your trainer and learn about the scope of this training course

  • Preview
    Welcome to OSGi Basics1 min
  • Benefits
  • Breaking Up the Monolith5 min
  • How OSGi Solves JAR Hell3 min
  • Tools
  • Easy, Powerful Tools to Develop in OSGi2 min
  • Services

    including the setup of your development environment

  • Everything Is a Service3 min
  • Exercise: Build Your First Service
  • Priority
  • Resolving Multiple Implementations of a Service1 min
  • Exercise: Create Multiple Service Implementations
  • Initialization
  • Customizing Initialization4 min
  • Versioning
  • Backwards Compatibility8 min
  • The tricky order of semantic versions1 min
  • Time Saving Tips
  • Things to Watch Out For4 min
  • Next Steps
  • Moving Forward

What You'll Learn

If you don't have experience with OSGi yet, but are about to develop on Liferay DXP or customize it, this is your lecture. Get the introduction to OSGi quickly and make immediate use of it.

This lecture is deliberately short, introducing the basic vocabulary and tools, so that you have just enough knowledge to start using it in the context of Liferay. We'll dive into the details during more specific Liferay Backend Development courses.

Course Instructor

Olaf Kock

Since he joined Liferay in 2010, Olaf is busy with consulting, training and setting customers and community on track. Being one of the top posters on Liferay's community blog, he likes sharing his experience and sometimes adds in his opinion - just like in this course.

With the advent of Liferay DXP 7.0 he got his hands dirty on OSGi and shares some of that knowledge in this quick and free lecture.

You can occasionally meet Olaf at european trainings or community meetups, and also at events like Liferay Devcon, or the North American Symposium (NAS) 2018. He's the host of the (typically sold out) Unconference - held at Devcon since 2013 and for the first time at NAS in 2018.

Course Overview60-90 minutes

  • Getting Started

    Say hello to your trainer and learn about the scope of this training course

  • Preview
    Welcome to OSGi Basics1 min
  • Benefits
  • Breaking Up the Monolith5 min
  • How OSGi Solves JAR Hell3 min
  • Tools
  • Easy, Powerful Tools to Develop in OSGi2 min
  • Services

    including the setup of your development environment

  • Everything Is a Service3 min
  • Exercise: Build Your First Service
  • Priority
  • Resolving Multiple Implementations of a Service1 min
  • Exercise: Create Multiple Service Implementations
  • Initialization
  • Customizing Initialization4 min
  • Versioning
  • Backwards Compatibility8 min
  • The tricky order of semantic versions1 min
  • Time Saving Tips
  • Things to Watch Out For4 min
  • Next Steps
  • Moving Forward