stratos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Isuru Haththotuwa <isu...@wso2.com>
Subject Re: Why do we have public fields for bean classes?
Date Thu, 16 Jan 2014 09:47:32 GMT
Hi,

It was I who did it. There were some complex bean classes which I could not
get serialized with private fields + public methods. That was the reason I
did this, and I agree that this may not be the preferred way.


On Thu, Jan 16, 2014 at 3:06 PM, Nirmal Fernando <nirmal070125@gmail.com>wrote:

> This was raised earlier too, and AFAIK the answer was due to a limitation
> of a library used to hand REST stuff. Pradeep and IsuruH should know better.
>
>
> On Thu, Jan 16, 2014 at 2:42 PM, Isuru Perera <isurup@wso2.com> wrote:
>
>> IMO, this is not good!
>>
>>
>> On Thu, Jan 16, 2014 at 2:38 PM, Isuru Perera <isurup@wso2.com> wrote:
>>
>>> Hi,
>>>
>>> $subject
>>>
>>> For example:
>>> https://github.com/apache/incubator-stratos/blob/master/components/org.apache.stratos.rest.endpoint/src/main/java/org/apache/stratos/rest/endpoint/bean/cartridge/definition/CartridgeDefinitionBean.java
>>>
>>> Thanks!
>>>
>>> Best Regards,
>>> --
>>> Isuru Perera
>>> Senior Software Engineer | WSO2, Inc. | http://wso2.com/
>>> Lean . Enterprise . Middleware
>>>
>>> about.me/chrishantha
>>>
>>
>>
>>
>> --
>> Isuru Perera
>> Senior Software Engineer | WSO2, Inc. | http://wso2.com/
>> Lean . Enterprise . Middleware
>>
>> about.me/chrishantha
>>
>
>
>
> --
> Best Regards,
> Nirmal
>
> Nirmal Fernando.
> PPMC Member & Committer of Apache Stratos,
> Senior Software Engineer, WSO2 Inc.
>
> Blog: http://nirmalfdo.blogspot.com/
>



-- 
Thanks and Regards,

Isuru H.
+94 716 358 048* <http://wso2.com/>*

Mime
View raw message