Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » [Teneo] Proxies in 0.7.5?
[Teneo] Proxies in 0.7.5? [message #93594] Sat, 18 August 2007 13:05 Go to next message
Eclipse UserFriend
Originally posted by: eclipse_newsgroup.FIRSTNAMELASTNAME.ch

Hi,

It seems that Teneo 0.7.5 does not support lazy loading through EMF
proxies (whereas 0.8.0 does) - is this correct?

If so: I'm implementing a detached application, where I load objects on
the server (using Teneo/Hibernate), serialize and transfer them to the
client. On the client, I want that EReferences of these objects are lazy
loaded / resolved.

I run a bit out of ideas on how to achieve that without proxies. I would
be very thankful for any hints!

Thomas.
Re: [Teneo] Proxies in 0.7.5? [message #93608 is a reply to message #93594] Sat, 18 August 2007 15:22 Go to previous message
Martin Taal is currently offline Martin TaalFriend
Messages: 5468
Registered: July 2009
Senior Member
Hi Thomas,
Teneo 0.8.0 for Hibernate supports cglib proxies so not emf proxies. 0.7.5. does not have any proxy
support. I tried to implement support for emf proxies 6 months back but I did not succeed then.

Regarding your client-server question. I would also look at proxies. I am no expert on hibernate
proxy factory/creation but maybe you can override hibernate to create proxies which support
client-server resolving.

gr. Martin

Thomas Kuhn wrote:
> Hi,
>
> It seems that Teneo 0.7.5 does not support lazy loading through EMF
> proxies (whereas 0.8.0 does) - is this correct?
>
> If so: I'm implementing a detached application, where I load objects on
> the server (using Teneo/Hibernate), serialize and transfer them to the
> client. On the client, I want that EReferences of these objects are lazy
> loaded / resolved.
> I run a bit out of ideas on how to achieve that without proxies. I would
> be very thankful for any hints!
>
> Thomas.
>


--

With Regards, Martin Taal

Springsite/Elver.org
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: mtaal@springsite.com - mtaal@elver.org
Web: www.springsite.com - www.elver.org
Re: [Teneo] Proxies in 0.7.5? [message #609485 is a reply to message #93594] Sat, 18 August 2007 15:22 Go to previous message
Martin Taal is currently offline Martin TaalFriend
Messages: 5468
Registered: July 2009
Senior Member
Hi Thomas,
Teneo 0.8.0 for Hibernate supports cglib proxies so not emf proxies. 0.7.5. does not have any proxy
support. I tried to implement support for emf proxies 6 months back but I did not succeed then.

Regarding your client-server question. I would also look at proxies. I am no expert on hibernate
proxy factory/creation but maybe you can override hibernate to create proxies which support
client-server resolving.

gr. Martin

Thomas Kuhn wrote:
> Hi,
>
> It seems that Teneo 0.7.5 does not support lazy loading through EMF
> proxies (whereas 0.8.0 does) - is this correct?
>
> If so: I'm implementing a detached application, where I load objects on
> the server (using Teneo/Hibernate), serialize and transfer them to the
> client. On the client, I want that EReferences of these objects are lazy
> loaded / resolved.
> I run a bit out of ideas on how to achieve that without proxies. I would
> be very thankful for any hints!
>
> Thomas.
>


--

With Regards, Martin Taal

Springsite/Elver.org
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: mtaal@springsite.com - mtaal@elver.org
Web: www.springsite.com - www.elver.org
Previous Topic:[Teneo] Proxies in 0.7.5?
Next Topic:[EMF-Compare] left and right model
Goto Forum:
  


Current Time: Tue Apr 23 12:53:06 GMT 2024

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

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

Back to the top