Skip to main content



      Home
Home » Modeling » EMF » Serializing EMF over RMI and WebServices
Serializing EMF over RMI and WebServices [message #490776] Sat, 10 October 2009 11:07 Go to next message
Eclipse UserFriend
Hi,

How does one go about transporting EMF Objects over RMI and WebServices? I
am asking this question because I don't see that EObject is serializable
(maybe I need to look elsewhere?) so the default serialization method of
Java does not seem to be supported. I would like to transport my EMF objects
to another JVM and I am hoping to learn the best/standard practice for
achieving this.

Thanks in advance,
Derek
Re: Serializing EMF over RMI and WebServices [message #490777 is a reply to message #490776] Sat, 10 October 2009 11:14 Go to previous messageGo to next message
Eclipse UserFriend
The easiest thing is to use CDO and beside that it gives features like
lazy loading.

Tom

Derek Palma schrieb:
> Hi,
>
> How does one go about transporting EMF Objects over RMI and WebServices?
> I am asking this question because I don't see that EObject is
> serializable (maybe I need to look elsewhere?) so the default
> serialization method of Java does not seem to be supported. I would like
> to transport my EMF objects to another JVM and I am hoping to learn the
> best/standard practice for achieving this.
>
> Thanks in advance,
> Derek
Re: Serializing EMF over RMI and WebServices [message #490778 is a reply to message #490776] Sat, 10 October 2009 11:21 Go to previous messageGo to next message
Eclipse UserFriend
Derek,

There never seems enough time to complete
https://bugs.eclipse.org/bugs/show_bug.cgi?id=245014. Another
alternative is to put the EObject in a container that uses the fact that
eObject.eResource().save can be used to write bytes that can be read
back in to resolve the original resource and all its containing objects.


Derek Palma wrote:
> Hi,
>
> How does one go about transporting EMF Objects over RMI and
> WebServices? I am asking this question because I don't see that
> EObject is serializable (maybe I need to look elsewhere?) so the
> default serialization method of Java does not seem to be supported. I
> would like to transport my EMF objects to another JVM and I am hoping
> to learn the best/standard practice for achieving this.
>
> Thanks in advance,
> Derek
Re: Serializing EMF over RMI and WebServices [message #490780 is a reply to message #490778] Sat, 10 October 2009 12:00 Go to previous messageGo to next message
Eclipse UserFriend
Thanks Ed!

I looked at the bug. It seems the problem is well understood and some work
has been done. I am just wondering if how much more work is involved and if
you need to be an EMF expert or just undertand Java serialization. Your last
comment in the bug made me feel it was almost done.

Derek

"Ed Merks" <Ed.Merks@gmail.com> wrote in message
news:haq8qh$8kp$1@build.eclipse.org...
> Derek,
>
> There never seems enough time to complete
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=245014. Another alternative
> is to put the EObject in a container that uses the fact that
> eObject.eResource().save can be used to write bytes that can be read back
> in to resolve the original resource and all its containing objects.
>
>
> Derek Palma wrote:
>> Hi,
>>
>> How does one go about transporting EMF Objects over RMI and WebServices?
>> I am asking this question because I don't see that EObject is
>> serializable (maybe I need to look elsewhere?) so the default
>> serialization method of Java does not seem to be supported. I would like
>> to transport my EMF objects to another JVM and I am hoping to learn the
>> best/standard practice for achieving this.
>>
>> Thanks in advance,
>> Derek
Re: Serializing EMF over RMI and WebServices [message #490785 is a reply to message #490780] Sat, 10 October 2009 12:16 Go to previous messageGo to next message
Eclipse UserFriend
Hi Ed,

Actually I missed the the last comment of the bug says it will be in the
next release. Helios right? Is the code already available for testing in M2?

Derek

"Derek Palma" <derek.palma@gmail.com> wrote in message
news:haqb4p$28v$1@build.eclipse.org...
> Thanks Ed!
>
> I looked at the bug. It seems the problem is well understood and some work
> has been done. I am just wondering if how much more work is involved and
> if you need to be an EMF expert or just undertand Java serialization. Your
> last comment in the bug made me feel it was almost done.
>
> Derek
>
> "Ed Merks" <Ed.Merks@gmail.com> wrote in message
> news:haq8qh$8kp$1@build.eclipse.org...
>> Derek,
>>
>> There never seems enough time to complete
>> https://bugs.eclipse.org/bugs/show_bug.cgi?id=245014. Another
>> alternative is to put the EObject in a container that uses the fact that
>> eObject.eResource().save can be used to write bytes that can be read back
>> in to resolve the original resource and all its containing objects.
>>
>>
>> Derek Palma wrote:
>>> Hi,
>>>
>>> How does one go about transporting EMF Objects over RMI and WebServices?
>>> I am asking this question because I don't see that EObject is
>>> serializable (maybe I need to look elsewhere?) so the default
>>> serialization method of Java does not seem to be supported. I would like
>>> to transport my EMF objects to another JVM and I am hoping to learn the
>>> best/standard practice for achieving this.
>>>
>>> Thanks in advance,
>>> Derek
>
Re: Serializing EMF over RMI and WebServices [message #490807 is a reply to message #490785] Sun, 11 October 2009 01:12 Go to previous message
Eclipse UserFriend
Derek,

I hope I can get it done for Helios, but not, it's not yet done.


Derek Palma wrote:
> Hi Ed,
>
> Actually I missed the the last comment of the bug says it will be in
> the next release. Helios right? Is the code already available for
> testing in M2?
>
> Derek
>
> "Derek Palma" <derek.palma@gmail.com> wrote in message
> news:haqb4p$28v$1@build.eclipse.org...
>> Thanks Ed!
>>
>> I looked at the bug. It seems the problem is well understood and some
>> work has been done. I am just wondering if how much more work is
>> involved and if you need to be an EMF expert or just undertand Java
>> serialization. Your last comment in the bug made me feel it was
>> almost done.
>>
>> Derek
>>
>> "Ed Merks" <Ed.Merks@gmail.com> wrote in message
>> news:haq8qh$8kp$1@build.eclipse.org...
>>> Derek,
>>>
>>> There never seems enough time to complete
>>> https://bugs.eclipse.org/bugs/show_bug.cgi?id=245014. Another
>>> alternative is to put the EObject in a container that uses the fact
>>> that eObject.eResource().save can be used to write bytes that can be
>>> read back in to resolve the original resource and all its containing
>>> objects.
>>>
>>>
>>> Derek Palma wrote:
>>>> Hi,
>>>>
>>>> How does one go about transporting EMF Objects over RMI and
>>>> WebServices? I am asking this question because I don't see that
>>>> EObject is serializable (maybe I need to look elsewhere?) so the
>>>> default serialization method of Java does not seem to be supported.
>>>> I would like to transport my EMF objects to another JVM and I am
>>>> hoping to learn the best/standard practice for achieving this.
>>>>
>>>> Thanks in advance,
>>>> Derek
>>
>
Previous Topic:Removing objects from bi-directional references without notification
Next Topic:skiping namespace validation
Goto Forum:
  


Current Time: Fri Jul 04 06:55:08 EDT 2025

Powered by FUDForum. Page generated in 0.21105 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top