Skip to content
Java JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore test Feb 12, 2014
req.txt upgrade to 1.0.6,take view of changelog Jul 16, 2014



   ROP is the Rapid Open Platform ,thus like the TOP(Taobao Open Platform:

   The rest url of ROP  is thus like the following :
   ROP can router the request to the dest handler's api.You can use the 
@ServiceMethod("rop.user.add") annotation to mark the api method in the handler.
Handler must be a add a @ServiceMethodBean annotation ,ServiceMethodBean has already
annotated a @Service(Spring),So the Service Class would be a Spring Service Bean automaticly.

This is a right handler rest service api method:
import com.rop.annotation.ServiceMethod;
import com.rop.annotation.ServiceMethodBean;
@ServiceMethodBean//<--1. must mark the annotation,let it be a Service Bean
public class SampleRestService {

    @ServiceMethod("rop.sample.method1")//<--2.Let it be a Service Method.
    public Object method1(SampleRopRequest1 request1) {
        SampleRopResponse1 response = new SampleRopResponse1();
        return response;
   The parameter's list of the api method must extends the RopRequest,and the
Return parameter can be any Object.
   The Rop can marshaller the response to the xml or json format output,you can
control the output format by "format" parameter.

Author and participants

1)Stamen       XiaMen  
2)Wangxiancai  GuangZhou

   Good Luck! 2014!
   stame by 2014-07-16 Xiamen China
You can’t perform that action at this time.