Hi Sameera,

The name wso2as.xml sounds like it affects entire AS.  I think it is better
"wso2as-web.xml" since it looks like a "per webapp" configuration, looking
from a webapp developer/Ops perspective.

+1 on the config file.

Cheers,

On Fri, Jul 3, 2015 at 3:36 PM, Sameera Jayasoma <[email protected]> wrote:

> +1 for this.
>
> How about wso2as.xml?
>
> Thanks,
> Sameera.
>
> On Thu, Jul 2, 2015 at 7:14 PM, KasunG Gajasinghe <[email protected]> wrote:
>
>> *Overview*
>>
>> Currently, there are several AS specific configuration options that are
>> available for webapp developers when deploying webapps in AS. A set of
>> identified configurations we have are as follows.
>>
>> 1. Configure the ClassLoader Runtime Environment and Classloading for web
>> apps (such as Carbon/CXF/Tomcat/...)
>> 2. Mark a JAX-RS webapp to be published as a Managed API for
>> API-Everywhere story.
>> 3. Enable Single Sign On support for webapps
>> 4. Webapp SaaS configurations.
>> 5. Enable WebApp Statistics publishing to DAS/BAM
>>
>> *Why?*
>>
>> Right now, we are using different mechanisms to configure these. Mostly,
>> we ask webapp developers to put the configuration options as a
>> context-param in the web.xml. We also have a custom AS specific
>> configuration file called webapp-classloaading.xml to configure
>> classloading runtimes.
>>
>> Using web.xml for this purpose is not a clean approach since web.xml it
>> should only contain configurations that are portable across different
>> application servers. For this purpose, Tomcat uses a custom context.xml to
>> put Tomcat specific configurations. JBoss has jboss-web.xml. WebLogic has
>> weblogic.xml, and so on..
>>
>> *How?*
>>
>> The idea here is to generalize the current webapp-classloading.xml we
>> already have into a configuration file where all the webapp related WSO2 AS
>> configurations can be put. We could name this file as wso2as-web.xml or
>> wso2as-application.xml.
>>
>> This is targeted for AS6 for immediate use with API-Everywhere feature.
>> The implementation is fairly simple, and may be carried out as a fast-track
>> training project.
>>
>> WDYT?
>>
>> Thanks,
>> KasunG
>>
>> --
>>
>> *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc.
>> email: kasung AT spamfree wso2.com
>> linked-in: http://lk.linkedin.com/in/gajasinghe
>> blog: http://kasunbg.org
>>
>>
>>
>
>
>
> --
> Sameera Jayasoma,
> Software Architect,
>
> WSO2, Inc. (http://wso2.com)
> email: [email protected]
> blog: http://blog.sameera.org
> twitter: https://twitter.com/sameerajayasoma
> flickr: http://www.flickr.com/photos/sameera-jayasoma/collections
> Mobile: 0094776364456
>
> Lean . Enterprise . Middleware
>
>
> _______________________________________________
> Architecture mailing list
> [email protected]
> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>
>


-- 

*Ruwan Abeykoon*
*Architect,*
*WSO2, Inc. http://wso2.com <http://wso2.com/> *
*lean.enterprise.middleware.*

email: [email protected]
phone:(+94) 777739736
_______________________________________________
Architecture mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture

Reply via email to