1. POJO Sample Project Installation
What It Does
The POJO sample application shows a session scope counter. If you click on the Go button, or if you reload the Flex application via the Reload button of your browser, the counter will increment as its current value is stored in the user HTTP session.
More specifically, it illustrates the configuration of a POJO service via the Flex-services.xml file:
... <destination id="pojo"> <channels> <channel ref="my-graniteamf"/> </channels> <properties> <scope>session</scope> <source>test.pojo.PojoService</source> </properties> </destination> ...
The POJO destination manages a simple Java class service, test.pojo.PojoService, whose scope is session. In this way, the instance is kept between HTTP requests.
Requirements, Installation & Deployment
Follow general requirements here and point your browser to http://localhost:8080/graniteds-pojo/.
You should now see the POJO sample application running.
