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







------------------------ Yahoo! Groups Sponsor --------------------~--> 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/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