IMO it is language. Even when we develop applications on tomcat, we use
datasources. But when we develop with PHP we don't use datasources.
About providing the feature when we change the runtime is up to us I guess.
When we use tomcat or JBoss we should have different runtime config
persistence implementation.

[1]
http://tomcat.apache.org/tomcat-5.5-doc/jndi-datasource-examples-howto.html#MySQL_DBCP_Examples
On Feb 24, 2015 5:22 PM, "Dimuthu Leelarathne" <[email protected]> wrote:

> Hi,
>
> What if we have tomcat? Java supports Datasources and we haven't
> implemented datasource support?
>
> thanks,
> dimuthu
>
>
> On Tue, Feb 24, 2015 at 5:01 PM, Dimuthu Leelarathne <[email protected]>
> wrote:
>
>> Hi,
>>
>> Consider properties(name-value pair) support. Question whether it is
>> related to runtimes? Or related to language? All languages have name-value
>> pair concept and the question is whether AF is supporting the methodology
>> in the underlying PaaS/runtime. That was the reason for putting it in
>> runtime.xml
>>
>> Consider datasource support. Question whether it is related to runtimes?
>> Or related to language?
>>
>> thanks,
>> dimuthu
>>
>>
>>
>>
>>
>>
>>
>>
>> On Tue, Feb 24, 2015 at 1:21 PM, Danushka Fernando <[email protected]>
>> wrote:
>>
>>> For the mentioned issues, I think runtime configs are meaningful for
>>> jaggery applications and there are ways to access them from jaggery AFAIR.
>>> We can use some code similar to java code.
>>> However there are application types these things are not meaningful so
>>> we can have a property like runtimeConfigSupport in apptype and it should
>>> be in apptype.xml only. Eg :- datasource applicaiton type. And may be we
>>> can have a different configuration for databaseSupport as well.
>>> Runtime is about the runtime that application is going to deploy on.
>>> These runtime config support should be there for the needed application
>>> types independent from the runtime IMO.
>>>
>>>
>>> Thanks & Regards
>>> Danushka Fernando
>>> Software Engineer
>>> WSO2 inc. http://wso2.com/
>>> Mobile : +94716332729
>>>
>>> On Tue, Feb 24, 2015 at 12:56 PM, Dimuthu Leelarathne <[email protected]
>>> > wrote:
>>>
>>>>
>>>> Hi all,
>>>>
>>>> I am looking at JIRA issues. APPFAC-2900  and APPFAC-2960.
>>>>
>>>> I believe the most correct way to fix it, is by adding the following to
>>>> the apptype.xml and runtime.xml.
>>>>
>>>>    - datasourceSupport - apptype.xml because it is something that
>>>>    comes with the app type. For example java has datasources
>>>>    - propertySupport - runtime.xml because it is something we have
>>>>
>>>> thanks,
>>>> dimuthu
>>>>
>>>> --
>>>> Dimuthu Leelarathne
>>>> Architect & Product Lead of App Factory
>>>>
>>>> WSO2, Inc. (http://wso2.com)
>>>> email: [email protected]
>>>> Mobile : 0773661935
>>>>
>>>> Lean . Enterprise . Middleware
>>>>
>>>> _______________________________________________
>>>> Dev mailing list
>>>> [email protected]
>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>
>>>>
>>>
>>
>>
>> --
>> Dimuthu Leelarathne
>> Architect & Product Lead of App Factory
>>
>> WSO2, Inc. (http://wso2.com)
>> email: [email protected]
>> Mobile : 0773661935
>>
>> Lean . Enterprise . Middleware
>>
>
>
>
> --
> Dimuthu Leelarathne
> Architect & Product Lead of App Factory
>
> WSO2, Inc. (http://wso2.com)
> email: [email protected]
> Mobile : 0773661935
>
> Lean . Enterprise . Middleware
>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to