Before you start
In this tutorial, you will start to build a Facebook application, hypothetically written by an existing stock brokerage firm, that allows a user to manage their portfolio from within Facebook. To make the application truly social, and not just a widget embedded within Facebook, you will also provide the option of treating one's stock portfolio as a competitive game with other users.
To give a more real-world technical scenario, you will assume that part of the application is already written in Java language, and that you're adding the Facebook application and writing it in PHP and Java. You will implement some of the application in Java, using IBM Rational® Application Developer Java authoring environment, WebSphere® as your J2EE application server, and Facebook's Java Client Library for communication between WebSphere and Facebook.
You will also implement some of the application in PHP, using the Zend Core engine and its bundled installation of Apache 2 to serve the pages, and Facebook's PHP Client Library to communicate with Facebook. This will give you hands-on experience with both Java and PHP, so you can better choose between them as the needs of your enterprise change.
To complete the steps in this tutorial, you need the following software. If you don't have the products installed, or don't have the latest release, you can download free trial versions:
- Download a free trial version of Rational Application Developer. You'll use Rational Application Developer as a full featured Eclipse based IDE for developing your Java Web application.
- Download a free trial version of IBM WebSphere Application Server V6.1.
- Download for free Zend Core For IBM (includes IBM DB2® Express-C)