mavenosgiipojo

OSGI Apache Felix IPOJO : Annotations or pure MAVEN?


I'm jumping in OSGI with FELIX IPOJO. According to the tutorials there are two approaches possible:

Am I free to choose ? Are there pro's and con's ?

Thanks for any hint ! Gerry


Solution

  • You are free to choose, but I would recommend the annotation providing an easier development model. The pure XML approach was made initially to support Java 1.4.