On Sep 9, 2012, at 11:25 PM, Romain Manni-Bucau wrote:

> <application> <!-- i'd ignore the name in the parsing for the moment -->
>  <Properties>
>     <!-- nested or not, just use what you need/want/like -->
>  </Properties>
> 
>  <!-- here are the choices -->
>  <Ejb>
>    <Properties>
>       foo = bar
>    </Properties>
>  </Ejb>
>  <Pojo>
>    <Properties>
>       foo = bar
>    </Properties>
>  </Pojo>
> 
> </application>

Ignoring EJBs for a moment and focusing just on pojos.  How would I configure 
this:

 colors.ear
    META-INF/app-ctx.xml
    orange.war
       WEB-INF/classes/org.superbiz.ColorWebService
    red.war
       WEB-INF/classes/org.superbiz.ColorWebService




<application>
 <Pojo class="org.superbiz.ColorWebService">
   <Properties>
      color = rojo
   </Properties>
 </Pojo>
 <Pojo class="org.superbiz.ColorWebService">
   <Properties>
      color = anaranjado
   </Properties>
 </Pojo>
</application>


How do I uniquely configure the ColorWebService for each module?


-David

Reply via email to