|
»
« Return to Thread: meta data merging
Re: meta data merging
Hi,
what errors are you getting. I'll look tomorrow in adding transient to
the meta data synthetic field that is added to the domain classes. In
theory that should remove the serialization problems.
Best regards,
Geert
On Tue, Jul 29, 2008 at 3:34 PM, Engin Tekin <engin.tekin@...> wrote:
>
> Hi Geert,
>
> I'm trying to use GWT's RPC (Remote Procedure Call) which serializes
> the objects.
>
> with objects that are not merged with meta data it's working ok.
>
> I've been looking "Hessian webservice and Metadata merging" (http://
> rifers.org/wiki/display/RIFE/Hessian+webservice+and+Meta+data
> +merging)
>
> but I couldn't make a solution like in the "Hessian webservice" case.
>
>
> What I did is:
>
> class Foo extends Validation{...}
> Foo foo =....;
>
> I tried to serialize "foo.retrieveValidatedBean()" but the same
> problem went on.
>
> actually foo and foo.retrieveValidatedBean() are refrencing to the
> same object.
>
> Any workaround possibly?
>
> Thanks a lot
>
>
> On Jul 29, 8:39 am, Geert Bevin <gbe...@...> wrote:
>> Hi,
>>
>> it's a choice you have to make for each class. The meta data merging
>> happens at class load time. So, when the FooMetaData class is present,
>> the merging will happen into Foo. If you don't want this to be the
>> case, simply don't create FooMetaData.
>>
>> Hope this helps,
>>
>> Geert
>>
>> On 29 Jul 2008, at 00:54, Engin Tekin wrote:
>>
>>
>>
>> > hi Geert,
>>
>> > "RIFE supports an automated method to add meta data to POJO classes
>> > without having any additional code nor annotations inside the POJOs
>> > themselves." (http://rifers.org/wiki/display/RIFE/Meta+data+merging)
>>
>> > Can we get the pure POJO object that is not merged with the meta deta?
>>
>> > thanks
>>
>> --
>> Geert Bevin
>> Terracotta -http://www.terracotta.org
>> Uwyn "Use what you need" -http://uwyn.com
>> RIFE Java application framework -http://rifers.org
>> Music and words -http://gbevin.com
> >
>
--
Geert Bevin
Terracotta - http://www.terracotta.org
Uwyn "Use what you need" - http://uwyn.com
RIFE Java application framework - http://rifers.org
Music and words - http://gbevin.com
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "rife-users" group.
To post to this group, send email to rife-users@...
To unsubscribe from this group, send email to rife-users-unsubscribe@...
For more options, visit this group at http://groups.google.com/group/rife-users?hl=en
-~----------~----~----~----~------~----~------~--~---
« Return to Thread: meta data merging
| Free embeddable forum powered by Nabble | Forum Help |
