--
You received this message because you are subscribed to the Google Groups "qi4j-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to qi4j-dev+u...@googlegroups.com.
To post to this group, send email to qi4j...@googlegroups.com.
Visit this group at http://groups.google.com/group/qi4j-dev.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "qi4j-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to qi4j-dev+u...@googlegroups.com.
To post to this group, send email to qi4j...@googlegroups.com.
Visit this group at http://groups.google.com/group/qi4j-dev.
For more options, visit https://groups.google.com/d/optout.
@Override
public void init( ServletConfig config )
throws ServletException
{
qi4j = new Energy4Java();
ApplicationAssembler assembler = createApplicationAssembler( config );
application = qi4j.newApplication( assembler );
application.activate();
where createApplicationAssembler() sets up the application structure, and declares all the composites to be used, in which modules, and how the layers are related. The 'dirty' solution is to put everything in a single module in a single layer (not recommended for production software), then one can use the SingletonAssembler;
assembler = new SingletonAssembler()Thanks for your insights.My major concerns in this early phase of getting familiar with qi4j are more about general characteristics of your framework like openess, interoperabilit, non-intrusiveness, performance and the like.For instance packaging:I understand that I can package a qi4j application as a jar and as a war, but can I also package it as an OSGi bundle and deploy it to e.g. Apache Felix?Or interoperability with external (web) frameworks:Can I easily put an qi4j application (packaged as a jar) on the classpath of another app or framework and just call its service layer from outside?I'm currently collecting question of this kind, and will post them on qi4j-dev, after cross-checking with your faqs.Best regards,Chris