|
|||
| Links | / | BasicEducation | |
|
To aid our ever growing OSGi community find some basic educational material on learning and using OSGi technology, we have assembled a set of external and internal links below accompanied by a brief textual extract from the original authors explaining what you should find if you follow the link. http://www.aqute.biz/OSGi/Tutorial OSGi Tutorialby Peter Kriens, OSGi™ Fellow, and Director of Technology, aQute This tutorial is a powerpoint presentation together with a number of example bundles. The powerpoint presentation will guide you to how to setup and use Eclipse to develop bundles. This page allows you to download the powerpoint presentation as well as all the solutions to the exercises. Note that these solutions are bundles, you can find the source code of these bundles in the OPT-INF/src directories. This is an introductory tutorial. During the tutorial the OSGi features are presented with toy code. An extremely trivial chat system is developed. However, this is toy code and has no ambition to become a real chat system (though the architecture is sound). All code is highly optimized for being as small as possible showing the feature. I have tried to make the tutorial as accurate as possible, but it has not been given very often. I therefore do appreciate if you provide feedback about any bugs you find. Have fun with it! http://live.eclipse.org/node/407 Getting Started with OSGiby Neil Bartlett Abstract: This webinar will be an introduction to OSGi: what it is, when you should use it and how to get started learning it. OSGi is the powerful dynamic framework that underlies the Eclipse IDE and platform, but its use is not restricted to Eclipse. In fact it is used everywhere from mobile phone and vehicle entertainment systems to enterprise application servers. It is, essentially, the module system for Java. The level of this talk will be introductory and will not assume prior knowledge of either OSGi or Eclipse (although knowledge of standard Java *will* be assumed). Also, we will discuss some aspects of OSGi that are not commonly used in Eclipse plug-in development, for example, usage of the Service Registry. So even experienced plug-in developers should get something from it. Total running time 1 hour, 03:24 minutes http://neilbartlett.name/blog/osgi-articles/ Getting Started with OSGiA tutorial series by Neil Bartlett The following is a list of links to my tutorial series Getting Started with OSGi which is currently running on EclipseZone. Unfortunately on EclipseZone the new posts push the older ones off the front page, so if you want to refer back to an earlier item in the series then you have to go digging through the forums. Therefore for convenience I will be maintaining links to all parts of the series on this page.
You may also be interested in my more advanced article, A Comparison of Eclipse Extensions and OSGi Services (PDF). http://neilbartlett.name/downloads/extensions_vs_services.pdf http://www.osgi.org/wiki/uploads/CommunityEvent2007/OSGiBestPractices.pdf OSGi Best Practices!by BJ Hargrave, OSGi Fellow and CTO, and Peter Kriens, OSGi Fellow & Director of Technology Learn how to prevent common mistakes and build robust, reliable, modular, and extendable systems using OSGi™ technology http://underlap.blogspot.com/2007/01/creating-osgi-bundle.html Creating an OSGi bundleBy Glen Normington, SpringSource Friday, January 05, 2007 Newcomers to OSGi may like a simple guide to developing an bundle. Peter Kriens has provided an extensive tutorial which is a must for anyone serious about learning OSGi. However, it has a long introduction and assumes you are happy to run Eclipse. So I thought I would provide a trival example that people could get going using only a Java SDK and their favourite text editor. Here are instructions to create and run a trivial bundle, hopefully in about 10 minutes. http://felix.apache.org/site/apache-felix-osgi-tutorial.html Apache Felix OSGi Tutorial
Trails:
http://www.knopflerfish.org/tutorials/osgi_tutorial.pdf OSGi Tutorial, A Step by Step Introduction to OSGi Programming, Based on the Open Source Knopflerfish OSGi FrameworkBy Sven Haiges This tutorial introduces you to OSGi programming based on the open source Knopflerfish OSGi framework. I chose Knopflerfish, because it is easy to install and provides a great desktop GUI, that will help you to get your first bundles deployed in an OSGi Framework. First, the reader is quickly introduced to the installation of Knopflerfish. Second, you will create your first OSGi bundle and deploy it in this framework. Step by step, you will create more bundles, register and retrieve services and manage their dependencies. By the end of this tutorial, you should have a basic understanding of OSGi programming. October 2004 sven.haiges@vodafone.com http://www.eclipsecon.org/2008/sub/attachments/The_OSGi_Complete.ppt The OSGi CompleteBy Dr. Pavlin Dobrev and Stoyan Boshev, ProSyst Software Labs OSGi defines a huge set of services that are not well known to the application developers. Some of these services are Wire Admin, IO Connector, Initial Provisioning and Declarative Services. These services are donated to Eclipse in 2007 from ProSyst and it is expected to be included in the next Eclipse major release. This tutorial will focus on main problems, solutions and code snippets related to the usage of the OSGi services. Some topics which will be addressed are:
The tutorial will include set of programming examples and demonstrations involving different OSGi services. http://www.ibm.com/developerworks/opensource/library/os-ecl-osgiconsole/ Explore Eclipse's OSGi console, Use and extend the console that drives EclipseBy Chris Aniszczyk (zx@us.ibm.com), Software Engineer, IBM 30 Jan 2007, Level: Intermediate Get acquainted with the hidden gem known as the OSGi (Equinox) console and find out how it can be added to an Eclipse developer's toolbox. And learn how to extend the console to further add to the toolbox. http://blog.luminis.nl/roller/luminis/entry/getting_started_with_spring_osgi Getting started with Spring-OSGiby Peter Doornbosch, luminis 26-Aug-2007 With the introduction of Spring OSGi, it becomes relatively easy to split up a Spring application in separate OSGi bundles, and have a much more modular application architecture, without all the classloading hassle you may encounter when deploying components in J2EE application servers. http://blog.luminis.nl/roller/luminis/entry/getting_started_with_spring_osgi1 Getting started with Spring-OSGi -- part 226-Sep-2007 In the previous blog entry about Spring-OSGi, we demonstrated how to develop a simple Spring-OSGi bundle that exposes a Spring bean as an OSGi service. In this installment we'll have a look at how you can use OSGi services in a Spring-OSGi bundle. The sample code used in this blog builds on the sample of the previous blog and can of course be downloaded from our site. http://www.redbooks.ibm.com/redbooks/pdfs/sg247367.pdf Building Composite Applications, one of the IBM Redbooksby Juan R. Rodriguez, Alex Barbosa Coqueiro, Belen Gonzalez Agudo, Sunil Patel, Ricardo Rossi, Rafael Sanchez, Robert Schneider, Guillermo Villavicencio, Art Whorley, and Michael Zink July 2007 Learn about composite applications, and component intercommunication Abstract: http://www.redbooks.ibm.com/abstracts/SG247367.html?Open |
||