flex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeffry Houser <jef...@dot-com-it.com>
Subject Re: Flex app with Angular2
Date Wed, 26 Apr 2017 02:41:49 GMT

  Sounds like a Java problem; so I won't be able to help, personally.  I 
have lots of Angular 2/4 experience lately this year, but minimal Java 

  Based on what little I understand from dealing w/ ColdFusion, the 
channels are just a way to tell Flex how to call the services.

  If I were doing this in CF; I'd just write new CF Code that executed 
the services manually--not through the remoting interface--and processed 
the results to return them in a different format.  As long as those new 
services are browser accessible, an Angular app should be able to hit them.

  Can anyone else help?  If not; I'd go to StackOverflow.

On 4/25/2017 3:49 PM, olegkon wrote:
> Jeffry,
>> If you have Java experience, and a lot of services already built for the
> Flex app;
>> my impulse is to wrap those services to return JSON instead of AMF.
>> That will probably save you lots of time compared to switching to an
> entirely new platform.
> Absolutely agree with you (I have 20 yrs of Java on and off).
> So now I am trying to expose those services as RESTful Web Services sending
> and then consume them from Angular2.
> But for some reason, so far I was not able to get anything in the URL,
> so my sample getProducts sample  http://localhost:8080/ws/products returns
> 404
> As I mentioned, using Java8, BlazeDS4.7 with Spring 4.3 and Spring-Flex
> integration 1.6.
> Do I need to create/configure a separate channel  in BlazeDS for Web
> Service?
> Or any other Spring configuration?
> I have seen Yakov Fain's sample connecting Angular2/4 app to Java [web
> service] via Spring Boot,
> it does use same Java RESTful service, but same code not working inside my
> web app.
> Is Spring Boot doing some magic which I am missing?
> There is no Spring configuration there.
> Please advise.
> TIA,
> Oleg.
> --
> View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Flex-app-with-Angular2-tp14960p15113.html
> Sent from the Apache Flex Users mailing list archive at Nabble.com.

Jeffry Houser
Technical Entrepreneur

View raw message