Had a couple of basic questions on setting up a WebApp in Tuscany using Maven using a total of 3 composites. I am exploring Tuscany for development in Java (implementation.java) and just wanted to make sure I was going about it in the 'right' way in terms of setup.
I created 3 composites: 1 - Composite for Simple WebApp; 2 - Composite for query components to access a DB; 3 - Composite for domain level objects such as Patient and such. I used the Maven task: mvn archetype:generate -DarchetypeCatalog=http://tuscany.apache.org So questions were as follows: 1. There were ~ 8 options provided. Are these the main options or are there other options as well. I did not see EJB for example or Spring. So am assuming those would be from the composite definition such as <implementation.spring> or binding (for EJB). Or are there other ways to generate for EJB and such? 2. When I import the projects into Eclipse as Maven projects is the best way to set dependencies between the projects by setting project properties and adding the required projects on the build path or is there is a better way thru a definition in the composite file itself? I did look at the SCA documentation (SCATours eg.) and it mentioned about including necessary projects - but was just wondering if there was a more dynamic way thru the composite definition itself. 3. When I build and deploy the webapp - does Maven automatically take care of the included dependency projects by calling their necessary builds or is that to be done separately. I understand this is more a Maven ques but just wanted to confirm. Getting back to Java after a while so probably a few too many basic questions so appreciate your help. Just wanted to make sure I setup the project right in terms of multicomponent approaches in separate composites. Thanks.