OSGI Bundles and Archetype 10 Project
I was able to setup Archetype 10 type projects in Eclipse. I have few questions regarding the best practices followed during AEM development.
1. There is a core folder which I believe is used to write Java code. Now if a component which is present in apps folder refers a Java class, where should I write? Should it be present in core folder only?
2. The code inside the core folder is packaged into an OSGI jar and a bundle gets created. How should I go ahead if I want to create a 2nd bundle? Do I need to create a second Archetype 10 type project?