I'm jumping in OSGI with FELIX IPOJO. According to the tutorials there are two approaches possible:
- use annotations to define services and entry points. FELIX jar's are added more or less manually.
- use the MAVEN approach and define services and entry points in pom.xml
Am I free to choose ? Are there pro's and con's ?
Thanks for any hint ! Gerry
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.