J2EE applications Added by IBM on May 13, 2013 | Version 1
|
This article describes how different platforms can be used to develop applications using Social SDK
|
This topic covers two environments. Instructions are similar for any editor/application server except for minor differences specific to the environment you are trying to set up.
- Using Eclipse and Tomcat 7.0
Developing applications using Eclipse, Tomcat, and an underlying SDK is straightforward. Below are the instruction to prepare your Eclipse EE environment for development using the underlying SDK.
- Ensure your Eclipse deployment supports web development. You should download the eclipse for EE developers and not Eclipse classic. See http://www.eclipse.org/downloads/
.
- Ensure that Apache Tomcat is installed.
- Create a new Apache Tomcat server if one does not exist.
Click File -> New -> Server.
Select Apache Tomcat and the correct version.
Click Finish.
- Add file sbt.properties to your Tomcat server.
The file should appear as follows in the folder structure.
- Add the following line to the context.xml file.
- Using RAD and Portal Server
These instructions use RAD 8.0 and Portal Server 7.0 and assumes user have both of these installed.
- In RAD, click File -> New -> Server to create a new server instance.
Select IBM -> WebSphere Portal v7.0 server.
Click Finish.
- Go to Resources -> URL -> URLs to configure JNDI lookup on the portal server of the sbt.properties file.
Select the scope to be your cell.
Click New to create a URL as follows:
- Name: SBT Properties
- JNDI name: url/ibmsbt-sbtproperties
- Specification: URL to sbt.properties, for example, file:/c:/SBTK/sbt.properties
Select OK and save to the master configuration.
Parent topic: Creating and deploying applications
|