[flexcoders] Is there any way to use customized RemoteObject in mxml with mx:method?

2008-02-07 Thread den.orlov
I wrote RemoteObject's sublcass that contains functionality common for all my appp's RemoteObjects: public dynamic class MyRemoteObject extends RemoteObject { public function MyRemoteObject() { super(); this.showBusyCursor = true; this.requestTimeout=10;

[flexcoders] Re: Flex + Spring + Hibernate - Lazy=true

2008-01-13 Thread den.orlov
Check Granite Data Services. They handle lazy loading properties support, they have as3 code generator. Den

[flexcoders] Re: Alternatives to LCDS

2007-12-28 Thread den.orlov
Blaze is restricted but free and open source version of LCDS (some components was cut off), check this: http://res.sys-con.com/story/dec07/474563/BlazeDS.JPG After some struggling with LCDS’s we decided migrate to Granite DS. My short comments about differences of GDS ad LCDS here:

[flexcoders] Re: LCDS, FDMS, Custom serialization of lazy references

2007-12-19 Thread den.orlov
I need Externalizable since I am working with my existing Java model. Some of this objects are immutable and don't have setters for some properties (that properties are populated via constructor). That an attempt to avoid unnecessary properties copying from model object to TO objects. Is it

[flexcoders] Re: LCDS/Data Management, lazy references to child objects are replaced with ids

2007-12-19 Thread den.orlov
Get it, thanks Jeff Den --- In flexcoders@yahoogroups.com, Jeff Vroom [EMAIL PROTECTED] wrote: When you are returning a property of an object which is declared as an association in your data-management-config.xml with lazy=true, you can just create an instance of the referenced object and

[flexcoders] Re: Debugging RemoteClass serialization

2007-12-18 Thread den.orlov
Possible that your AS class wasn't linked by compiler to main application. To force its linkage you could reference it somewhere in the main mxml file like this: mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; xmlns=* xmlns:vo=fullpackagename.*

[flexcoders] Re: Flex Data Management and container's UserTransaction

2007-12-14 Thread den.orlov
Jeff, thanks a lot for detailed description! I'd be very happy if you demarcate transactions via Spring Transaction Managment API. This will support both cases: JTA/simple JDBC datasource, so I'll be able to use plain JDBC source without any JTA manager and its overhead. Den

[flexcoders] Re: Flex Data Management and container's UserTransaction

2007-12-13 Thread den.orlov
Sorry but original question was about transaction boundaries that FDS set using UserTransaction at server side. How does lazyness of associations relate to this? Den --- In flexcoders@yahoogroups.com, Igor Costa [EMAIL PROTECTED] wrote: Den Here´s explanation A Flex Data Management

[flexcoders] Flex Data Management and container's UserTransaction

2007-12-12 Thread den.orlov
As I understand Flex Data Management Services require that application container provide UserTransaction for it. But I can't find any guide about how FDMS uses it. I was completely confused when I checked several tutorials that used FDMS+HibernateAssempler+Spring or FDMS+hand written

[flexcoders] Flex Data Management and container's UserTransaction

2007-12-12 Thread den.orlov
As I understand Flex Data Management Services require that application container provide UserTransaction for it. But I can't find any guide about how FDMS uses it. I was completely confused when I checked several tutorials that used FDMS+HibernateAssempler+Spring or FDMS+hand written

[flexcoders] Re: Jetty with JOTM causes ClassCastException in FDS

2007-12-12 Thread den.orlov
Most probably that this is class loading issue. UserTransaction that comes from either different jars or from different classloaders (system's and web app context's). If you are still interested in this please provide more details about your JOTM+Jetty configuration (web.xml, jetty.xml, jars you

[flexcoders] IExternalizable aren't recognized by IDataInput

2007-10-23 Thread den.orlov
I've declared class: package model { ... [RemoteClass(alias=com.vogster.adplatform.dashboard.Measure)] public class Measure implements IExternalizable { ... public function readExternal(input:IDataInput):void { _values = input.readObject(); } public function

[flexcoders] Re: lcds 2.5.1, Map Java-to-AS serialisation make Integer values null

2007-08-28 Thread den.orlov
We currently do not have support for serializing Java 1.5 enums though so that might be the problem. Would it be easy for you to try using String based keys instead? Yep, MapString, Integer works. Could you provide issue/defect number so I'll be able to track it progress? Den

[flexcoders] Re: lcds 2.5.1, Map Java-to-AS serialisation make Integer values null

2007-08-28 Thread den.orlov
We currently do not have support for serializing Java 1.5 enums though so that might be the problem. Would it be easy for you to try using String based keys instead? Yep, MapString, Integer works correctly. Is is it possible to track issue progress somewhere? Den

[flexcoders] lcds 2.5.1, Map Java-to-AS serialisation make Integer values null

2007-08-27 Thread den.orlov
My Java server side, service and resulting Event object: public class StatsEventRepresentationServiceImpl { public ListEvent getStats(Date start, Date end) {...} } public class Event { public Date ts; public MapType, Integer typeFacts; ... } remoting-config.xml: service

[flexcoders] lcds 2.5.1, Map Java-to-AS serialisation make Integer values null

2007-08-27 Thread den.orlov
My Java server side, service and resulting Event object: public class StatsEventRepresentationServiceImpl { public ListEvent getStats(Date start, Date end) {...} } public class Event { public Date ts; public MapType, Integer typeFacts; ... } remoting-config.xml: service