[FlexJS, AMF] Steps to make FlexJS / Java - RemoteObject / AMF sample work

classic Classic list List threaded Threaded
17 messages Options
Reply | Threaded
Open this post in threaded view
|

[FlexJS, AMF] Steps to make FlexJS / Java - RemoteObject / AMF sample work

Carlos Rovira-3
Hi,

to people interested in make AMF sample work here is what I did:

1.- Use the following branches:

       flex-falcon:develop
       flex-type-defs:feature/amf
       flex-asjs:feature/amf

build each one in that order with "mvn clean install" (you can add
-DskipTests to avoid run tests)

2.- Go to examples/flexjs/RemoteObjectAmfTest and build it with "mvn clean
install"
3.- Go to examples/ and build it with "mvn clean install"
4.- Go to examples/amf/SampleAmfWebApp and build it with "mvn clean install"
5.- In SampleAmfWebApp run "mvn spring-boot:run", this creates a jetty
instance in port 8080 and deploy "SampleAmfWwebApp"
6.- Go to "RemoteObjectAmfTest " and to "target/javascript/bin/js-debug/" Run
in a browser "index.html"

Now you can play with the interface and get a string or and Array of
objects.

Hope that helps, please try and report if you find some problem or
something that not works.

--
Carlos Rovira
http://about.me/carlosrovira
Reply | Threaded
Open this post in threaded view
|

Re: [FlexJS, AMF] Steps to make FlexJS / Java - RemoteObject / AMF sample work

Carlos Rovira-3
Hi,

just commit a little change to test a successful communication of a VO
"Product" and casting in Flex.
I'm sure that AMF support is not complete, but it seems pretty useful right
now in its actual state. So congrats for getting to this point to all
people involved! :)

What do you guys think is the right step to do now?

1.- I could merge flex-asks/feature/amf branch into develop (I could see if
there's something already in typedefs to merge it as well)

2.- should I do something more needed? something I could be missing? Let me
know to see if I can help here

Thanks!

Carlos


2017-09-05 20:53 GMT+02:00 Carlos Rovira <[hidden email]>:

> Hi,
>
> to people interested in make AMF sample work here is what I did:
>
> 1.- Use the following branches:
>
>        flex-falcon:develop
>        flex-type-defs:feature/amf
>        flex-asjs:feature/amf
>
> build each one in that order with "mvn clean install" (you can add
> -DskipTests to avoid run tests)
>
> 2.- Go to examples/flexjs/RemoteObjectAmfTest and build it with "mvn
> clean install"
> 3.- Go to examples/ and build it with "mvn clean install"
> 4.- Go to examples/amf/SampleAmfWebApp and build it with "mvn clean
> install"
> 5.- In SampleAmfWebApp run "mvn spring-boot:run", this creates a jetty
> instance in port 8080 and deploy "SampleAmfWwebApp"
> 6.- Go to "RemoteObjectAmfTest " and to "target/javascript/bin/js-debug/" Run
> in a browser "index.html"
>
> Now you can play with the interface and get a string or and Array of
> objects.
>
> Hope that helps, please try and report if you find some problem or
> something that not works.
>
> --
> Carlos Rovira
> http://about.me/carlosrovira
>
>


--
Carlos Rovira
http://about.me/carlosrovira
Reply | Threaded
Open this post in threaded view
|

Re: [FlexJS, AMF] Steps to make FlexJS / Java - RemoteObject / AMF sample work

piotrz
Hi Carlos,

+1 for merging this into develop if it is working for you. I see that
Prashant is pretty interested in it, let's make easier for him trying it.

Thanks,
Piotr


2017-09-06 15:50 GMT+02:00 Carlos Rovira <[hidden email]>:

> Hi,
>
> just commit a little change to test a successful communication of a VO
> "Product" and casting in Flex.
> I'm sure that AMF support is not complete, but it seems pretty useful right
> now in its actual state. So congrats for getting to this point to all
> people involved! :)
>
> What do you guys think is the right step to do now?
>
> 1.- I could merge flex-asks/feature/amf branch into develop (I could see if
> there's something already in typedefs to merge it as well)
>
> 2.- should I do something more needed? something I could be missing? Let me
> know to see if I can help here
>
> Thanks!
>
> Carlos
>
>
> 2017-09-05 20:53 GMT+02:00 Carlos Rovira <[hidden email]>:
>
> > Hi,
> >
> > to people interested in make AMF sample work here is what I did:
> >
> > 1.- Use the following branches:
> >
> >        flex-falcon:develop
> >        flex-type-defs:feature/amf
> >        flex-asjs:feature/amf
> >
> > build each one in that order with "mvn clean install" (you can add
> > -DskipTests to avoid run tests)
> >
> > 2.- Go to examples/flexjs/RemoteObjectAmfTest and build it with "mvn
> > clean install"
> > 3.- Go to examples/ and build it with "mvn clean install"
> > 4.- Go to examples/amf/SampleAmfWebApp and build it with "mvn clean
> > install"
> > 5.- In SampleAmfWebApp run "mvn spring-boot:run", this creates a jetty
> > instance in port 8080 and deploy "SampleAmfWwebApp"
> > 6.- Go to "RemoteObjectAmfTest " and to "target/javascript/bin/js-debug/"
> Run
> > in a browser "index.html"
> >
> > Now you can play with the interface and get a string or and Array of
> > objects.
> >
> > Hope that helps, please try and report if you find some problem or
> > something that not works.
> >
> > --
> > Carlos Rovira
> > http://about.me/carlosrovira
> >
> >
>
>
> --
> Carlos Rovira
> http://about.me/carlosrovira
>



--

Piotr Zarzycki

mobile: +48 880 859 557
skype: zarzycki10

LinkedIn: http://www.linkedin.com/piotrzarzycki
<https://pl.linkedin.com/in/piotr-zarzycki-92a53552>
Reply | Threaded
Open this post in threaded view
|

Re: [FlexJS, AMF] Steps to make FlexJS / Java - RemoteObject / AMF sample work

Alex Harui-2
Hi Carlos,

If you can do the merge, that would be great!  And thanks for adding the
additional test.

Thanks,
-Alex

On 9/6/17, 6:56 AM, "Piotr Zarzycki" <[hidden email]> wrote:

>Hi Carlos,
>
>+1 for merging this into develop if it is working for you. I see that
>Prashant is pretty interested in it, let's make easier for him trying it.
>
>Thanks,
>Piotr
>
>
>2017-09-06 15:50 GMT+02:00 Carlos Rovira <[hidden email]>:
>
>> Hi,
>>
>> just commit a little change to test a successful communication of a VO
>> "Product" and casting in Flex.
>> I'm sure that AMF support is not complete, but it seems pretty useful
>>right
>> now in its actual state. So congrats for getting to this point to all
>> people involved! :)
>>
>> What do you guys think is the right step to do now?
>>
>> 1.- I could merge flex-asks/feature/amf branch into develop (I could
>>see if
>> there's something already in typedefs to merge it as well)
>>
>> 2.- should I do something more needed? something I could be missing?
>>Let me
>> know to see if I can help here
>>
>> Thanks!
>>
>> Carlos
>>
>>
>> 2017-09-05 20:53 GMT+02:00 Carlos Rovira <[hidden email]>:
>>
>> > Hi,
>> >
>> > to people interested in make AMF sample work here is what I did:
>> >
>> > 1.- Use the following branches:
>> >
>> >        flex-falcon:develop
>> >        flex-type-defs:feature/amf
>> >        flex-asjs:feature/amf
>> >
>> > build each one in that order with "mvn clean install" (you can add
>> > -DskipTests to avoid run tests)
>> >
>> > 2.- Go to examples/flexjs/RemoteObjectAmfTest and build it with "mvn
>> > clean install"
>> > 3.- Go to examples/ and build it with "mvn clean install"
>> > 4.- Go to examples/amf/SampleAmfWebApp and build it with "mvn clean
>> > install"
>> > 5.- In SampleAmfWebApp run "mvn spring-boot:run", this creates a jetty
>> > instance in port 8080 and deploy "SampleAmfWwebApp"
>> > 6.- Go to "RemoteObjectAmfTest " and to
>>"target/javascript/bin/js-debug/"
>> Run
>> > in a browser "index.html"
>> >
>> > Now you can play with the interface and get a string or and Array of
>> > objects.
>> >
>> > Hope that helps, please try and report if you find some problem or
>> > something that not works.
>> >
>> > --
>> > Carlos Rovira
>> >
>><a href="https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%">https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%
>>2Fcarlosrovira&data=02%7C01%7C%7C0461a3b05b8c4497ba7408d4f52f102e%7Cfa7b1
>>b5a7b34438794aed2c178decee1%7C0%7C0%7C636403029862903216&sdata=CbttSQspbl
>>UWRkXrdERExoX8I%2B%2Bi9x2UjrYx64h15EU%3D&reserved=0
>> >
>> >
>>
>>
>> --
>> Carlos Rovira
>>
>><a href="https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%">https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%
>>2Fcarlosrovira&data=02%7C01%7C%7C0461a3b05b8c4497ba7408d4f52f102e%7Cfa7b1
>>b5a7b34438794aed2c178decee1%7C0%7C0%7C636403029862903216&sdata=CbttSQspbl
>>UWRkXrdERExoX8I%2B%2Bi9x2UjrYx64h15EU%3D&reserved=0
>>
>
>
>
>--
>
>Piotr Zarzycki
>
>mobile: +48 880 859 557
>skype: zarzycki10
>
>LinkedIn:
>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.linked
>in.com%2Fpiotrzarzycki&data=02%7C01%7C%7C0461a3b05b8c4497ba7408d4f52f102e%
>7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636403029862903216&sdata=Ezr6
>ZYTRp2malOgVxkKMYgrVVwviOKAuuxQCjdSBy14%3D&reserved=0
><https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpl.linke
>din.com%2Fin%2Fpiotr-zarzycki-92a53552&data=02%7C01%7C%7C0461a3b05b8c4497b
>a7408d4f52f102e%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6364030298629
>03216&sdata=6trVyq%2FVsblRW4FHCCjhqrhSW90yNblHfQ62wXxtdxE%3D&reserved=0>

Reply | Threaded
Open this post in threaded view
|

Re: [FlexJS, AMF] Steps to make FlexJS / Java - RemoteObject / AMF sample work

Carlos Rovira
Hi Alex, Piotr,

just rebase feature/amf branches, and seem only flex-asjs was delta
changes, so I solved conflicts in that repo and committed to develop. I
rebuild all and seems all is working ok. If you could try yourself with the
guide I put at the start of this thread to confirm all is ok as well for
you we could say we are done :)

amf branches now can be deleted, should I remove amf branches in all repos?

thanks!

Carlos



2017-09-06 16:16 GMT+02:00 Alex Harui <[hidden email]>:

> Hi Carlos,
>
> If you can do the merge, that would be great!  And thanks for adding the
> additional test.
>
> Thanks,
> -Alex
>
> On 9/6/17, 6:56 AM, "Piotr Zarzycki" <[hidden email]> wrote:
>
> >Hi Carlos,
> >
> >+1 for merging this into develop if it is working for you. I see that
> >Prashant is pretty interested in it, let's make easier for him trying it.
> >
> >Thanks,
> >Piotr
> >
> >
> >2017-09-06 15:50 GMT+02:00 Carlos Rovira <[hidden email]>:
> >
> >> Hi,
> >>
> >> just commit a little change to test a successful communication of a VO
> >> "Product" and casting in Flex.
> >> I'm sure that AMF support is not complete, but it seems pretty useful
> >>right
> >> now in its actual state. So congrats for getting to this point to all
> >> people involved! :)
> >>
> >> What do you guys think is the right step to do now?
> >>
> >> 1.- I could merge flex-asks/feature/amf branch into develop (I could
> >>see if
> >> there's something already in typedefs to merge it as well)
> >>
> >> 2.- should I do something more needed? something I could be missing?
> >>Let me
> >> know to see if I can help here
> >>
> >> Thanks!
> >>
> >> Carlos
> >>
> >>
> >> 2017-09-05 20:53 GMT+02:00 Carlos Rovira <[hidden email]>:
> >>
> >> > Hi,
> >> >
> >> > to people interested in make AMF sample work here is what I did:
> >> >
> >> > 1.- Use the following branches:
> >> >
> >> >        flex-falcon:develop
> >> >        flex-type-defs:feature/amf
> >> >        flex-asjs:feature/amf
> >> >
> >> > build each one in that order with "mvn clean install" (you can add
> >> > -DskipTests to avoid run tests)
> >> >
> >> > 2.- Go to examples/flexjs/RemoteObjectAmfTest and build it with "mvn
> >> > clean install"
> >> > 3.- Go to examples/ and build it with "mvn clean install"
> >> > 4.- Go to examples/amf/SampleAmfWebApp and build it with "mvn clean
> >> > install"
> >> > 5.- In SampleAmfWebApp run "mvn spring-boot:run", this creates a jetty
> >> > instance in port 8080 and deploy "SampleAmfWwebApp"
> >> > 6.- Go to "RemoteObjectAmfTest " and to
> >>"target/javascript/bin/js-debug/"
> >> Run
> >> > in a browser "index.html"
> >> >
> >> > Now you can play with the interface and get a string or and Array of
> >> > objects.
> >> >
> >> > Hope that helps, please try and report if you find some problem or
> >> > something that not works.
> >> >
> >> > --
> >> > Carlos Rovira
> >> >
> >><a href="https://na01.safelinks.protection.outlook.com/?url=http%">https://na01.safelinks.protection.outlook.com/?url=http%
> 3A%2F%2Fabout.me%
> >>2Fcarlosrovira&data=02%7C01%7C%7C0461a3b05b8c4497ba7408d4f
> 52f102e%7Cfa7b1
> >>b5a7b34438794aed2c178decee1%7C0%7C0%7C636403029862903216&s
> data=CbttSQspbl
> >>UWRkXrdERExoX8I%2B%2Bi9x2UjrYx64h15EU%3D&reserved=0
> >> >
> >> >
> >>
> >>
> >> --
> >> Carlos Rovira
> >>
> >><a href="https://na01.safelinks.protection.outlook.com/?url=http%">https://na01.safelinks.protection.outlook.com/?url=http%
> 3A%2F%2Fabout.me%
> >>2Fcarlosrovira&data=02%7C01%7C%7C0461a3b05b8c4497ba7408d4f
> 52f102e%7Cfa7b1
> >>b5a7b34438794aed2c178decee1%7C0%7C0%7C636403029862903216&s
> data=CbttSQspbl
> >>UWRkXrdERExoX8I%2B%2Bi9x2UjrYx64h15EU%3D&reserved=0
> >>
> >
> >
> >
> >--
> >
> >Piotr Zarzycki
> >
> >mobile: +48 880 859 557
> >skype: zarzycki10
> >
> >LinkedIn:
> ><a href="https://na01.safelinks.protection.outlook.com/?url=http%3A%">https://na01.safelinks.protection.outlook.com/?url=http%3A%
> 2F%2Fwww.linked
> >in.com%2Fpiotrzarzycki&data=02%7C01%7C%7C0461a3b05b8c4497ba
> 7408d4f52f102e%
> >7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C63640302986290
> 3216&sdata=Ezr6
> >ZYTRp2malOgVxkKMYgrVVwviOKAuuxQCjdSBy14%3D&reserved=0
> ><<a href="https://na01.safelinks.protection.outlook.com/?url=https%">https://na01.safelinks.protection.outlook.com/?url=https%
> 3A%2F%2Fpl.linke
> >din.com%2Fin%2Fpiotr-zarzycki-92a53552&data=02%7C01%7C%
> 7C0461a3b05b8c4497b
> >a7408d4f52f102e%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%
> 7C6364030298629
> >03216&sdata=6trVyq%2FVsblRW4FHCCjhqrhSW90yNblHfQ62wXxtdxE%3D&reserved=0>
>
>


--

<http://www.codeoscopic.com>

Carlos Rovira

Director General

M: +34 607 22 60 05 <607%2022%2060%2005>

http://www.codeoscopic.com

http://www.avant2.es


Conocenos en 1 minuto! <https://youtu.be/P2IEAYDG5HU>


Este mensaje se dirige exclusivamente a su destinatario y puede contener
información privilegiada o confidencial. Si ha recibido este mensaje por
error, le rogamos que nos lo comunique inmediatamente por esta misma vía y
proceda a su destrucción.

De la vigente Ley Orgánica de Protección de Datos (15/1999), le comunicamos
que sus datos forman parte de un fichero cuyo responsable es CODEOSCOPIC
S.A. La finalidad de dicho tratamiento es facilitar la prestación del
servicio o información solicitados, teniendo usted derecho de acceso,
rectificación, cancelación y oposición de sus datos dirigiéndose a nuestras
oficinas c/ Paseo de la Habana 9-11, 28036, Madrid con la documentación
necesaria.
Reply | Threaded
Open this post in threaded view
|

Re: [FlexJS, AMF] Steps to make FlexJS / Java - RemoteObject / AMF sample work

PKumar
Alex,

I downloaded   latest nightly build and modify and tried remote object
changes. but i am getting the attached error on console.

<http://apache-flex-development.2333347.n4.nabble.com/file/t1149/Capture1.png>



--
Sent from: http://apache-flex-development.2333347.n4.nabble.com/
Reply | Threaded
Open this post in threaded view
|

Re: [FlexJS, AMF] Steps to make FlexJS / Java - RemoteObject / AMF sample work

Alex Harui-2
Did any output show up in the server console? Is some other server running on localhost:8080?


Get Outlook for Android<https://aka.ms/ghei36>

________________________________
From: PKumar <[hidden email]>
Sent: Saturday, September 9, 2017 8:43:40 AM
To: [hidden email]
Subject: Re: [FlexJS, AMF] Steps to make FlexJS / Java - RemoteObject / AMF sample work

Alex,

I downloaded   latest nightly build and modify and tried remote object
changes. but i am getting the attached error on console.

<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-flex-development.2333347.n4.nabble.com%2Ffile%2Ft1149%2FCapture1.png&data=02%7C01%7C%7C0cbbaa9683dd42c97f7008d4f7998e6f%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636405686276359684&sdata=i%2BKD4gXWp5lkJ5D3JqSlWxnaW3jDiK9mjRvtQoWZWTQ%3D&reserved=0>



--
Sent from: https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-flex-development.2333347.n4.nabble.com%2F&data=02%7C01%7C%7C0cbbaa9683dd42c97f7008d4f7998e6f%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636405686276359684&sdata=Rdh2wivpXPa4peS4kojRN670qFEE6MY%2BPe1sYkPJW0A%3D&reserved=0
Reply | Threaded
Open this post in threaded view
|

Re: [FlexJS, AMF] Steps to make FlexJS / Java - RemoteObject / AMF sample work

PKumar
no message on server console.  my server is  running under Eclipse.



--
Sent from: http://apache-flex-development.2333347.n4.nabble.com/
Reply | Threaded
Open this post in threaded view
|

Re: [FlexJS, AMF] Steps to make FlexJS / Java - RemoteObject / AMF sample work

PKumar
If i am using "ClassAliasBead" then i am getting following error on browser
console. Please suggest.

Uncaught TypeError: app.info is not a function
    at org.apache.flex.reflection.beads.ClassAliasBead.set__strand
(ClassAliasBead.js:48)
    at MainView.org.apache.flex.core.UIBase.addBead (UIBase.js:372)
    at MainView.org.apache.flex.core.UIBase.addedToParent (UIBase.js:542)
    at MainView.org.apache.flex.core.GroupBase.addedToParent
(GroupBase.js:73)
    at MainView.org.apache.flex.core.View.addedToParent (View.js:69)
    at Main.org.apache.flex.core.Application.addElement (Application.js:132)
    at Main.org.apache.flex.core.Application.initialize (Application.js:281)
    at Main.org.apache.flex.core.Application.start (Application.js:252)
    at index.html:140



--
Sent from: http://apache-flex-development.2333347.n4.nabble.com/
Reply | Threaded
Open this post in threaded view
|

Re: [FlexJS, AMF] Steps to make FlexJS / Java - RemoteObject / AMF sample work

Alex Harui-2
Hi Prashant.  It feels like you are somehow using an older version of the
compiler.  How are you building the app?

Is your server on localhost:8080?

Thanks,
-Alex

On 9/10/17, 8:13 AM, "PKumar" <[hidden email]> wrote:

>If i am using "ClassAliasBead" then i am getting following error on
>browser
>console. Please suggest.
>
>Uncaught TypeError: app.info is not a function
>    at org.apache.flex.reflection.beads.ClassAliasBead.set__strand
>(ClassAliasBead.js:48)
>    at MainView.org.apache.flex.core.UIBase.addBead (UIBase.js:372)
>    at MainView.org.apache.flex.core.UIBase.addedToParent (UIBase.js:542)
>    at MainView.org.apache.flex.core.GroupBase.addedToParent
>(GroupBase.js:73)
>    at MainView.org.apache.flex.core.View.addedToParent (View.js:69)
>    at Main.org.apache.flex.core.Application.addElement
>(Application.js:132)
>    at Main.org.apache.flex.core.Application.initialize
>(Application.js:281)
>    at Main.org.apache.flex.core.Application.start (Application.js:252)
>    at index.html:140
>
>
>
>--
>Sent from:
>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-fle
>x-development.2333347.n4.nabble.com%2F&data=02%7C01%7C%7C90ab42ba9a4349131
>35608d4f85e9066%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6364065327928
>52159&sdata=6SkpGYZF5c9dUxLZqpKGnkIRdNuZP0bAnVZ0eyNygpg%3D&reserved=0

Reply | Threaded
Open this post in threaded view
|

Re: [FlexJS, AMF] Steps to make FlexJS / Java - RemoteObject / AMF sample work

PKumar
I downloaded the  latest nightly build and used that. I am also compiled this
app with the FlexJS package  that you shared. but same error i am  getting.



--
Sent from: http://apache-flex-development.2333347.n4.nabble.com/
Reply | Threaded
Open this post in threaded view
|

Re: [FlexJS, AMF] Steps to make FlexJS / Java - RemoteObject / AMF sample work

Alex Harui-2
Hi Prashant,

Are you testing with the example code or your own app.  I see MainView in
the stack trace and there isn't one in the example.  If you have your own
code, make sure ClassAliasBead is a bead on the Application and not the
View.

Thanks,
-Alex

On 9/12/17, 3:59 AM, "PKumar" <[hidden email]> wrote:

>I downloaded the  latest nightly build and used that. I am also compiled
>this
>app with the FlexJS package  that you shared. but same error i am
>getting.
>
>
>
>--
>Sent from:
>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-fle
>x-development.2333347.n4.nabble.com%2F&data=02%7C01%7C%7C489a01ccda8743389
>c8108d4f9cd67f2%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6364081079906
>70935&sdata=yxNQrjQGUZ45dajNkA%2F8h8eMW1kbG4%2BmldxbtcVwzg0%3D&reserved=0

Reply | Threaded
Open this post in threaded view
|

Re: [FlexJS, AMF] Steps to make FlexJS / Java - RemoteObject / AMF sample work

PKumar
Alex,

I kept ClassAliasBead at Application level and my demo started working. I
noted following issues:

VO with inheritance not working, as Car  extends Vehicle
ArrayList  serialization not working
Custom Array not working

I am testing with more dataType and will update you further.

Thanks,
Prashant




--
Sent from: http://apache-flex-development.2333347.n4.nabble.com/
Reply | Threaded
Open this post in threaded view
|

Re: [FlexJS, AMF] Steps to make FlexJS / Java - RemoteObject / AMF sample work

Carlos Rovira
Hi PKumar,

thanks for test this! I only tested String and int as well, array and
simple VO without inheritance, did you test boolean, and other
simple/complex types? (i.e: Number, ByteArray,...)

Thanks!

Carlos

2017-09-16 18:54 GMT+02:00 PKumar <[hidden email]>:

> Alex,
>
> I kept ClassAliasBead at Application level and my demo started working. I
> noted following issues:
>
> VO with inheritance not working, as Car  extends Vehicle
> ArrayList  serialization not working
> Custom Array not working
>
> I am testing with more dataType and will update you further.
>
> Thanks,
> Prashant
>
>
>
>
> --
> Sent from: http://apache-flex-development.2333347.n4.nabble.com/
>



--

<http://www.codeoscopic.com>

Carlos Rovira

Director General

M: +34 607 22 60 05

http://www.codeoscopic.com

http://www.avant2.es


Conocenos en 1 minuto! <https://youtu.be/P2IEAYDG5HU>


Este mensaje se dirige exclusivamente a su destinatario y puede contener
información privilegiada o confidencial. Si ha recibido este mensaje por
error, le rogamos que nos lo comunique inmediatamente por esta misma vía y
proceda a su destrucción.

De la vigente Ley Orgánica de Protección de Datos (15/1999), le comunicamos
que sus datos forman parte de un fichero cuyo responsable es CODEOSCOPIC
S.A. La finalidad de dicho tratamiento es facilitar la prestación del
servicio o información solicitados, teniendo usted derecho de acceso,
rectificación, cancelación y oposición de sus datos dirigiéndose a nuestras
oficinas c/ Paseo de la Habana 9-11, 28036, Madrid con la documentación
necesaria.
Reply | Threaded
Open this post in threaded view
|

Re: [FlexJS, AMF] Steps to make FlexJS / Java - RemoteObject / AMF sample work

PKumar
This post has NOT been accepted by the mailing list yet.
I did not test Boolean but I tested Date and it is working.

On 18-Sep-2017 2:15 AM, "Carlos Rovira [via Apache Flex Development]" <[hidden email]> wrote:
Hi PKumar,

thanks for test this! I only tested String and int as well, array and
simple VO without inheritance, did you test boolean, and other
simple/complex types? (i.e: Number, ByteArray,...)

Thanks!

Carlos

2017-09-16 18:54 GMT+02:00 PKumar <[hidden email]>:

> Alex,
>
> I kept ClassAliasBead at Application level and my demo started working. I
> noted following issues:
>
> VO with inheritance not working, as Car  extends Vehicle
> ArrayList  serialization not working
> Custom Array not working
>
> I am testing with more dataType and will update you further.
>
> Thanks,
> Prashant
>
>
>
>
> --
> Sent from: http://apache-flex-development.2333347.n4.nabble.com/
>


--

<http://www.codeoscopic.com>

Carlos Rovira

Director General

M: <a href="tel:+34%20607%2022%2060%2005" value="+34607226005" target="_blank">+34 607 22 60 05

http://www.codeoscopic.com

http://www.avant2.es


Conocenos en 1 minuto! <https://youtu.be/P2IEAYDG5HU>


Este mensaje se dirige exclusivamente a su destinatario y puede contener
información privilegiada o confidencial. Si ha recibido este mensaje por
error, le rogamos que nos lo comunique inmediatamente por esta misma vía y
proceda a su destrucción.

De la vigente Ley Orgánica de Protección de Datos (15/1999), le comunicamos
que sus datos forman parte de un fichero cuyo responsable es CODEOSCOPIC
S.A. La finalidad de dicho tratamiento es facilitar la prestación del
servicio o información solicitados, teniendo usted derecho de acceso,
rectificación, cancelación y oposición de sus datos dirigiéndose a nuestras
oficinas c/ Paseo de la Habana 9-11, 28036, Madrid con la documentación
necesaria.



To start a new topic under Apache Flex Development, email [hidden email]
To unsubscribe from Apache Flex Development, click here.
NAML
Reply | Threaded
Open this post in threaded view
|

Re: [FlexJS, AMF] Steps to make FlexJS / Java - RemoteObject / AMF sample work

PKumar
In reply to this post by Carlos Rovira
Carlos,

I tested it with most of built in data type( Including Vector)  and it is
working  ok, but I  can  not send or receive following  type:

ArrayList - send & receive not  working
Custom Class Object - nor able to  send it , getting  exception at BlazeDs
side.
Complex  Object with Inheritance - not working

One more thing i noted with RemoteObject , that i can not send multiple
request  to BlazeDs side.
eg.
//Passing Vector
var vector1:Vector.<String> = new Vector.<String>();
vector1.push("test");
service.send("passObject",[vector1]);

//Passing Array of String
service.send("passArray",[["Test1","Test2"]]);

In this only first request goes to server second one does not go.




--
Sent from: http://apache-flex-development.2333347.n4.nabble.com/
Reply | Threaded
Open this post in threaded view
|

Re: [FlexJS, AMF] Steps to make FlexJS / Java - RemoteObject / AMF sample work

Carlos Rovira
Hi PKumar,

I try a custom class object (I uploaded a Product example). That worked for
me, I think it has a String and a int or something like that. Did you try
that?
I didn't try more complex inheritance, but that is crucial to make RO be
used in real production cases.

As I'm this days working on Royale site and Alex said he wants to work as
well in other things. Could you help trying to get the rest of cases to
work?

That's would be very helpful and appreciated

Let us now!

Thanks

Carlos



2017-09-24 9:51 GMT+02:00 PKumar <[hidden email]>:

> Carlos,
>
> I tested it with most of built in data type( Including Vector)  and it is
> working  ok, but I  can  not send or receive following  type:
>
> ArrayList - send & receive not  working
> Custom Class Object - nor able to  send it , getting  exception at BlazeDs
> side.
> Complex  Object with Inheritance - not working
>
> One more thing i noted with RemoteObject , that i can not send multiple
> request  to BlazeDs side.
> eg.
> //Passing Vector
> var vector1:Vector.<String> = new Vector.<String>();
> vector1.push("test");
> service.send("passObject",[vector1]);
>
> //Passing Array of String
> service.send("passArray",[["Test1","Test2"]]);
>
> In this only first request goes to server second one does not go.
>
>
>
>
> --
> Sent from: http://apache-flex-development.2333347.n4.nabble.com/
>



--

<http://www.codeoscopic.com>

Carlos Rovira

Director General

M: +34 607 22 60 05

http://www.codeoscopic.com

http://www.avant2.es


Conocenos en 1 minuto! <https://youtu.be/P2IEAYDG5HU>


Este mensaje se dirige exclusivamente a su destinatario y puede contener
información privilegiada o confidencial. Si ha recibido este mensaje por
error, le rogamos que nos lo comunique inmediatamente por esta misma vía y
proceda a su destrucción.

De la vigente Ley Orgánica de Protección de Datos (15/1999), le comunicamos
que sus datos forman parte de un fichero cuyo responsable es CODEOSCOPIC
S.A. La finalidad de dicho tratamiento es facilitar la prestación del
servicio o información solicitados, teniendo usted derecho de acceso,
rectificación, cancelación y oposición de sus datos dirigiéndose a nuestras
oficinas c/ Paseo de la Habana 9-11, 28036, Madrid con la documentación
necesaria.