Getting Started with BlazeDS

Source: Internet
Author: User
Tags config

For the mainstream Flex data server, currently support Amf3/remoteobject, today we will talk about BlazeDS remote services.

1. Writing Remote service classes

There are three requirements for writing BlazeDS Java remote service classes:

1 All called methods must be public;

2 All compiled classes must be accessible through blazeds classpath access;

3 The class must be stateful/stateless.

We can refer to the Simpleservice.java in the engineering documents.

2. Configure Remoting-config.xml

Java service class After writing, also need to configure, BlazeDS remote service is also on the server side of a configuration file: Remoting-config.xml, CONFIGURED remote service, Flex The method invoked by the corresponding service class cannot be found at run time. Here is the remote service profile for this project.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.