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
JSON
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.

Reply via email to