2. Sample Projects

 Documentation Summary
 Page Summary

How To Choose the Right Sample for Your Application

If your application does not require any database features, the right choice is to use Granite POJO services. Your Flex application will be able to communicate with server-side simple Java class services that may be deployed in a simple servlet container such as Tomcat or Jetty. Then, you may start with the graniteds-pojo-1.2.0.zip sample application or read the next section, "Hello, world" (POJO), if you want to start from scratch.

If your application does require database features, the right choice depends on the persistence and service framework you are familiar with. Since GraniteDS comes with powerful EJB 3 entities/Hibernate support, this should be the right persistence system choice for most people. Services framework is a matter of feature requirements and personal preferences:

  • EJB 3 Session Services: Standard Java EE5 services framework, supported with no additional dependencies in JBoss-4.2+ application servers. Choose this if you do not know anything about the other frameworks and if you do not plan to use advanced Granite features such as Tide.
  • Seam Services: This is the right choice if you want to use Tide advanced features.
  • Spring Services: This is the right choice if you are already a Spring user. Tide support will be added in a future release.
  • Guice/Warp Services: This may be the right choice if you already know it.

When you have made your choice, see the next subsections for further information.


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-2008 Adequate Systems. All Rights Reserved.