1. POJO Sample Project Installation

 Documentation Summary
 Page Summary

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.


Browse Space

- Pages
- Blog
- Labels
- Attachments
- Bookmarks
- Mail
- Advanced

Explore Confluence

- Popular Labels
- Notation Guide

Your Account

Log In

Other Features

Add Content

- Add Comment


SourceForge.net Logo
Copyright © 2007-2010 Adequate Systems. All Rights Reserved.