Why are we not storing this metadata in the registry? May be I am missing
something .. but to me that is right place to put them.




On Wed, Jul 31, 2013 at 10:09 AM, Sagara Gunathunga <[email protected]> wrote:

>
>
>
> On Wed, Jul 31, 2013 at 10:01 AM, Supun Malinga <[email protected]> wrote:
>
>> +1 for this
>> This can solve many current limitations we have on webapps in a cluster..
>>
>
>  In addition to that all of our web app (including JAX-WS/JAX-RS)  based
> new features will be based on this component.
>
> Thanks !
>
>> For eg. Preserving webapp state.
>>
>> Thanks.
>> --
>> Supun Malinga
>> Sent from my phone.
>> On 29 Jul 2013 11:51, "Kasun Gajasinghe" <[email protected]> wrote:
>>
>>> Hi Srinath,
>>>
>>> Each webapp will contain its own metafile. It can have a metadata like -
>>>
>>> *enable.statistics*=true
>>>
>>> Thanks,
>>> KasunG
>>>
>>>
>>>
>>> On Mon, Jul 29, 2013 at 11:39 AM, Srinath Perera <[email protected]>wrote:
>>>
>>>> What is an example of Webapp metadata?
>>>>
>>>> --Srinath
>>>>
>>>>
>>>> On Sat, Jul 27, 2013 at 7:35 PM, Sagara Gunathunga <[email protected]>wrote:
>>>>
>>>>>
>>>>>
>>>>>
>>>>> On Sat, Jul 27, 2013 at 9:51 AM, Kasun Gajasinghe <[email protected]>wrote:
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> We have added support for webapp metadata persistence. This is used
>>>>>> to synchronize the metadata changes in a cluster, and to reload the
>>>>>> metadata during server restarts. Currently, we use this to persist the 
>>>>>> per
>>>>>> webapp BAM webapp statistics publishing enable/disable switch. We can
>>>>>> extend this later on to persist other metadata we would need as well. We
>>>>>> have also written a webapp metadata deployer to read the update deployed
>>>>>> webapps using the metadata. The webapp metadata is persisted in to
>>>>>> <CARBON-HOME>/repository/deployment/server/*artifactMetafiles/webapp*
>>>>>> .
>>>>>>
>>>>>> This is implemented using the unified metadata api that has been
>>>>>> added to the kernel. Any artifact management can leverage the unified
>>>>>> metadata api to persist the artifact metadata. The metadata persistence 
>>>>>> is
>>>>>> done using simple properties file which eliminates the need of complex
>>>>>> things like xpath etc.
>>>>>>
>>>>>
>>>>>
>>>>> +1
>>>>>
>>>>> Thanks !
>>>>>
>>>>>>
>>>>>> Thanks,
>>>>>> KasunG
>>>>>>
>>>>>> --
>>>>>> *Kasun Gajasinghe*
>>>>>> Software Engineer;
>>>>>> Development Technologies Team, WSO2 Inc.; http://wso2.com
>>>>>>
>>>>>>
>>>>>>  ,
>>>>>> *email: **kasung AT spamfree wso2.com
>>>>>>
>>>>>>
>>>>>> ** cell: **+94 (77) 678-0813*
>>>>>> *linked-in: *http://lk.linkedin.com/in/gajasinghe
>>>>>>
>>>>>>
>>>>>> *
>>>>>> *
>>>>>> *blog: **http://kasunbg.org* <http://kasunbg.org>
>>>>>>
>>>>>>
>>>>>> *
>>>>>> twitter: **http://twitter.com/kasunbg* <http://twitter.com/kasunbg>
>>>>>>
>>>>>>
>>>>>> *
>>>>>> *
>>>>>>
>>>>>> _______________________________________________
>>>>>> Architecture mailing list
>>>>>> [email protected]
>>>>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Sagara Gunathunga
>>>>>
>>>>> Senior Technical Lead; WSO2, Inc.;  http://wso2.com
>>>>> V.P Apache Web Services;    http://ws.apache.org/
>>>>> Linkedin; http://www.linkedin.com/in/ssagara
>>>>> Blog ;  http://ssagara.blogspot.com
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Architecture mailing list
>>>>> [email protected]
>>>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> ============================
>>>> Srinath Perera, Ph.D.
>>>>    http://people.apache.org/~hemapani/
>>>>    http://srinathsview.blogspot.com/
>>>>
>>>> _______________________________________________
>>>> Architecture mailing list
>>>> [email protected]
>>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>>>>
>>>>
>>>
>>>
>>> --
>>> *Kasun Gajasinghe*
>>> Software Engineer;
>>> Development Technologies Team, WSO2 Inc.; http://wso2.com
>>>
>>>
>>>  ,
>>> *email: **kasung AT spamfree wso2.com
>>>
>>>
>>> ** cell: **+94 (77) 678-0813*
>>> *linked-in: *http://lk.linkedin.com/in/gajasinghe
>>>
>>>
>>> *
>>> *
>>> *blog: **http://kasunbg.org* <http://kasunbg.org>
>>>
>>>
>>> *
>>> twitter: **http://twitter.com/kasunbg* <http://twitter.com/kasunbg>
>>>
>>>
>>> *
>>> *
>>>
>>> _______________________________________________
>>> Architecture mailing list
>>> [email protected]
>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>>>
>>>
>> _______________________________________________
>> Architecture mailing list
>> [email protected]
>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>>
>>
>
>
> --
> Sagara Gunathunga
>
> Senior Technical Lead; WSO2, Inc.;  http://wso2.com
> V.P Apache Web Services;    http://ws.apache.org/
> Linkedin; http://www.linkedin.com/in/ssagara
> Blog ;  http://ssagara.blogspot.com
>
>
> _______________________________________________
> Architecture mailing list
> [email protected]
> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>
>


-- 
============================
Srinath Perera, Ph.D.
  Director, Research, WSO2 Inc.
  Visiting Faculty, University of Moratuwa
  Member, Apache Software Foundation
  Research Scientist, Lanka Software Foundation
  Blog: http://srinathsview.blogspot.com/
  Photos: http://www.flickr.com/photos/hemapani/
   Phone: 0772360902
_______________________________________________
Architecture mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture

Reply via email to