Masoud Kalali has a software engineering degree and has been working on software development projects since 1998. He has experience with a variety of technologies (.NET, J2EE, CORBA, and COM+) on diverse platforms (Solaris, Linux, and Windows). His experience is in software architecture, design, and server-side development. Masoud has published several articles at and Dzone. He has authored multiple refcards, published by Dzone, including but not limited to Using XML in Java, Java EE Security and GlassFish v3 refcardz. He is one of the founder members of NetBeans Dream Team and a GlassFish community spotlighted developer. Recently Masoud's new book, GlassFish Security has been published which covers GlassFish v3 security and Java EE 6 security. Masoud's main area of research and interest includes service-oriented architecture and large scale systems' development and deployment and in his leisure time he enjoys photography, mountaineering and camping. Masoud's can be followed at his Twitter account. Masoud has posted 82 posts at DZone. You can read more from them at their website. View Full User Profile

Win Your Copy: OSGI in Action

  • submit to reddit
Published by: Manning
ISBN: 1933988916

Reviewer Ratings




Buy it now

One Minute Bottom Line

So far four chapters of the book is available to the MEAP subscribers. The available chapters form most of the book's first part which intended to introduce OSGI to readers. The chapters have acheived the goal that authors set for them very well. I was well familiar with OSGI Module layer before reading the available four chapters and now I can certainly say that the content provided in these chapters are unique in the quality. Reading these chapters further enhanced my knowledge on OSGI Module layer and service layer. I recommend this book to every serious Java developer which is involved or will be involved with modular architecture in general and OSGI in particular.


The first chapter of every Mannig book that I read  was some kind of introduction and was covering the background of the domain which book was going to cover. The OSGI in Action is not an exception and its first chapter explains why a framework like OSGI is important for Java community and how this framework fit in the big picture of application development using Java programming language.

The second chapter, Mastering Modularity, gradually introduces modularity and OSGI Module layer. The good point about the chapter is the way that it starts with explaining the modularity and the reason that modularity is important and its gradual move toward OSGI module layer, module description and modules dependencies. The authors introduces a sample program in this chapter which they further complete the software in each chapter. Chapter ends where its provided content make the readers ready to learn the OSGI service layer.

Welcome to the third chapter which is the longest chapter so far. This chapter is title Learning Lifecycle,  and introduces the OSGI module life Lifecycle in a detailed manner. You can expect to see many sample code related to OSGI modules  lifecyle and module management.This chapter introduces the OSGI module management API and use them in completing the "paint program".

Forth chapter, Studying Services, is what most of the readers are looking to understand in the beginning. The forth chapter starts in the same way that second chapter started, it gradually introduces the service concept and reasons for using services by providing very good illustrations.  Later on author connect these concepts to OSGI service layer. Again you can see several sample code which shows how OSGI service layer works and how we can utilize OSGI framework API to manage the OSGI services lifecyle.

Published at DZone with permission of its author, Masoud Kalali.

(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)


lin kai replied on Tue, 2009/02/03 - 10:19am

  I am a student in the University. I have learned Java programming language for many years. Since I used Eclipse as an IDE, I was getting interesting with Eclipse plug-in architecture and OSGi framwork. My lab is developing RFID middleware this time, and I introduced OSGi framwork into this project. OSGi is a wonderful modular framwork so that I hope it can bring the advantage to our project.

  During my study on OSGi, I found that lacking of study meterial is an obstruction to everyone. I have only read a not-yet-finished book wrote by Neil --<<OSGi in Practice>>, and I just can wait to read this "in Action" book about OSGi.

  I think OSGi now is not used widely enough that I cann't find some cases for me to study it, expecially OSGi on the server side and OSGi-based web development, and I realy hope this book can help me.

Zaheer Paracha replied on Thu, 2009/02/05 - 10:55am

I don't have any experience with OSGI so I hope to get this book to learn about OSGI.

Jin Mingjian replied on Sun, 2009/02/22 - 8:58am

OSGI is a great concept. Hope this book is nice to have:)

Tang Yong replied on Sun, 2009/03/15 - 9:01pm

The "OSGI In Action" is a very greate book,and I will expect to read all.

Taylor Smith replied on Mon, 2009/03/23 - 11:54pm in response to: Abhay Bakshi

Really? How can we get a free copy?

Eelco Kurvers replied on Wed, 2009/04/01 - 4:43am

My experience with OSGi started during my internship as Java developer about three years ago. My company wanted to know what OSGi is all about and how or where we could use the technology in Java projects for clients. I started researching OSGi and in the end build a simple prototype of cars communicating to each other about accidents, traffic jams et cetera to show different kind of uses in which OSGi was a useful solution.

At that time I could only find a book on the first version of OSGI and a short description of it in a book on Eclipse RCP. Great to see there's going to be a serious book about it.

michael james replied on Thu, 2009/06/11 - 12:37am in response to: Andrea Palmieri

This project contains source code examples for the book OSGi in Action written by Richard S. Hall, Karl Pauls, and Stuart McCulloch and published by Manning Publications.


great, himalayan goji

eugene backs replied on Mon, 2009/06/15 - 6:43am in response to: Stephane Arguin

This is a Green Paper based on OSGi in Action, a Manning book. Manning Green Papers introduce newer technologies, frameworks or programming languages to the developer community.



residential mailboxes

dany rich replied on Mon, 2009/06/22 - 2:23pm

This project contains source code examples for the book OSGi in Action written by Richard S. Hall, Karl Pauls, and Stuart McCulloch and published by Manning.


dany rich replied on Tue, 2009/06/23 - 3:03pm

The OSGi specification is developed by the members in an open process and made available to the public free of charge under the OSGi Specification License . The OSGi Alliance has a compliance program that is open to members only.

  health insurance leads


dany rich replied on Fri, 2009/06/26 - 3:55am

With the prevalence of modern component and service-based architectures, OSGi is becoming increasingly important. It meshes well with such approaches and greatly simplifies their creation and management.

health insurance leads

dany rich replied on Sun, 2009/06/28 - 6:20am

You'll then see how OSGi handles module lifecycles and follow up with how it promotes service-oriented interaction among application components.


concert tickets

dany rich replied on Tue, 2009/06/30 - 1:07am

You'll then see how OSGi handles module lifecycles and follow up with how it promotes service-oriented interaction among application components.


Zhaohui Hu replied on Mon, 2009/12/07 - 10:55pm in response to: Teja Kantamneni

I don't have any experience with OSGI so I hope to get the book to get to know it . Thanks.

Zhaohui Hu replied on Mon, 2009/12/07 - 11:02pm

I would like to have more details about relation between OSGI and Spring . I want to get it.

Chao Cai replied on Wed, 2009/12/23 - 4:37am

I think the OSGi is not only the module soultion for design and implementing but the solution used to manage the resources and codes

Aru Bhende replied on Sun, 2010/09/19 - 6:00pm

I am a java developer who generally has to create utility jars for others to use. The problem with this is many a times there are other jars used, all of which need to be included in a project that uses the jar provided by me. I was told by an architect in our organisation that I can use OSGi bundle to create the jar that would ease the distribution of the utility jar I create. I am looking for documentation or books on how to achieve this and it would be very helpful to get the book that would help in understanding the OSGi concept from bottom up.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.