One other thing; are you SURE they are undefined?  Sometimes, OpenAMF is 
notorious for wiping out the toString() method that comes with extending 
Object, so a trace outputs "undefined" or "null", but it really is an object 
with valid properties.

----- Original Message ----- 
From: "JesterXL" <[EMAIL PROTECTED]>
To: <flexcoders@yahoogroups.com>
Sent: Wednesday, September 28, 2005 10:11 AM
Subject: Re: [flexcoders] Flex with EJB3


Guessing that the AMF deserializer on the client can't rebuild the classes
to ActionScript equivalent objects.  Can you make a POJO, copy the
properties, and put those new objects back in the Array (or Object slots)?
Maybe if you put in a basic object that the AMF deserializer understands,
you won't get undefined?

----- Original Message ----- 
From: "flowbacktome" <[EMAIL PROTECTED]>
To: <flexcoders@yahoogroups.com>
Sent: Wednesday, September 28, 2005 9:34 AM
Subject: [flexcoders] Flex with EJB3


Hi there,

having a strange Problem here:

I started using EJB3 and thought that this is a very good choice for
middleware coding. So i built my model with it and tested it with
Swingclients and it worked out well. So i tried to use Flex1.5 to
build a Client. I used the RemoteObject tag and tried to call the
amfgateway that comes with Flex - no possibility to call an EJB3,
though EJB2 is working. After this experience I installed openamf -
with the same result. But having the sourcecode I managed that
openamf now is able to call EJB3 after a recompile of the openamf-
sources. That worked very well but now I experience a problem when I
receive EntityBeans with a ManyToMany relationship: suddenly Objects
get transformed to undefined, not all but some.

I debugged that on the serverside inside the EJB's, in the openamf-
gateway and on the client with no irregularities that caught my eye.

So now I am clueless about what causes Objects to get rendered
undefined and would appreciate every clue that might help me to deal
with this situation.

Greetings Bjoern





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links








--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links







------------------------ Yahoo! Groups Sponsor --------------------~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
--------------------------------------------------------------------~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to