OK. So do I have to add Spring Boot to my current Spring4 app backend in order to be able to connect to RESTful service through JSON from JS (Angular2/TS) ? What is involved. Also is there easy way to expose Java Spring4 service classes as RESTful Web services? Is it @Controller or @RestController? Needs an extra channel? Or what in config?
On Thu, Apr 27, 2017 at 11:16 AM, Christofer Dutz [via Apache Flex Users] < [email protected]> wrote: > Well the Spring Flex integration test-drive has this functionality because > spring has it on board. > I have never come across any JSON functionality inside BlazeDS however. > > Chris > > Am 27.04.17, 16:51 schrieb "olegkon" <[hidden email] > <http:///user/SendEmail.jtp?type=node&node=15130&i=0>>: > > That is not entirely true. From Spring-BlazeDS-reference: > "A complete insync-rest example of interacting with a Spring MVC > @Controller > is now provided in the Test > Drive. This sample duplicates the full functionality of the complete > inSync > application that was originally built > using BlazeDS Remoting. It shows in detail how to work around Flash > player's > limitations to use AMF to > interact with a RESTful service that supports it." > > There is "Chapter 4. Communicating with RESTful Spring[3] MVC > Endpoints > using AMF" which shows some JSON, so in theory that can be called from > JS. > See: > http://docs.spring.io/spring-flex/docs/1.6.x/reference/pdf/ > spring-blazeds-reference.pdf > > > > > -- > View this message in context: http://apache-flex-users. > 2333346.n4.nabble.com/Flex-app-with-Angular2-tp14960p15128.html > Sent from the Apache Flex Users mailing list archive at Nabble.com. > > > > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > http://apache-flex-users.2333346.n4.nabble.com/Flex-app-with-Angular2- > tp14960p15130.html > To unsubscribe from Flex app with Angular2, click here > <http://apache-flex-users.2333346.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=14960&code=b2xlZ2tvbkBnbWFpbC5jb218MTQ5NjB8MTE5NTIxMzcyOA==> > . > NAML > <http://apache-flex-users.2333346.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> > -- Thank you, Oleg. -- View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Flex-app-with-Angular2-tp14960p15141.html Sent from the Apache Flex Users mailing list archive at Nabble.com.
