/**
 * ObjectRiver Inc, http://www.objectriver.net/
 * Copyright (c) 2002-2013, ObjectRiver(tm). All rights reserved.
 */
Application Array = com.companyname {
    Endpoint ArrayEndpoint = 510 {
        Exception ArrayException {};
        Bean FooBean {
            List<Integer> intLIst;
        };
        Bean BarBean {
            List<FooBean> fooList;
        };
        Server Stateless { // Stateless, Session, Singleton

			@Path("array_int")
            @Produces(JSON)
            @Consumes(JSON)
            @POST boolean array_body( @In List<Integer> intArray) throws ArrayException;

			@Path("array_return")
            @Produces(JSON)
            @GET List<String> array_return() throws ArrayException;

			@Path("array_bean")
            @Produces(JSON)
            @Consumes(JSON)
            @POST boolean array_bean( @In List<FooBean> fooArray, @In List<BarBean> barArray) throws ArrayException;

			@Path("array_bean_return")
            @Produces(JSON)
            @GET List<BarBean> array_bean_return() throws ArrayException;
		};
    };
};