Installing the Wink-based Feed Sample application on WebSphere Application Server Community Edition 2.x.
The IBM® support for feeds, using Apache Wink libraries, primarily consists of the following items:
- Feeds support libraries: Java archive (JAR) files for Apache
Wink and its dependencies
- Feed application: A sample application that demonstrates
the use of the feeds support libraries
This section describes the procedure for installing the Feed Sample application into WebSphere® Application Server Community Edition 2.x. It is assumed that you are familiar with application installation and administration for the application server.
Before you begin
Locate the Feed Sample application WAR file that is provided with this documentation. Depending on
how you obtained this Sample application, you can find the WAR file in one of the following locations:
- If you are using these instructions from within Eclipse help because you installed this file as an Eclipse feature, then you can locate the WAR file in the following directory:
Linux® and UNIX®: <ECLIPSE_HOME>/plugins/com.ibm.ajax.feed.samples_1.0.1.1/SampleFeedApp_Wink.war
|
Windows®:
<ECLIPSE_HOME>\plugins\com.ibm.ajax.feed.samples_1.0.1.1\SampleFeedApp_Wink.war
|
-
If you have installed IBM WebSphere Application Server Version Feature Pack for Web 2.0,
Version 1.0.1 Fix Pack 1, then you can find the WAR file in your installation tree; for example, if you installed the feature pack in
the following location:
Linux and UNIX: /opt/WebSphere/AppServerCommunityEdition
|
Windows: c:\WebSphere\AppServerCommunityEdition
|
Then, you can find the WAR and library files in the following location:
Linux and UNIX: /opt/WebSphere/AppServerCommunityEdition/Feed_Sample/feed_sample/SampleFeedApp_Wink.war
|
Windows: c:\WebSphere\AppServerCommunityEdition\Feed_Sample\feed_sample\SampleFeedApp_Wink.war
|
Adding required JAR files
- Feed requires the following Wink JAR files: ibm-wink-jaxrs*.jar, jsr311-api*.jar, ibm-jaxb*.jar, JSON4J.jar, slf4j*.jar, jcl-over-slf4j*.jar, httpclient*.jar, httpcore*.jar, commons-codec*.jar and commons-lang*.jar.
-
You must add these JAR files into the class path. One mechanism is to add
them into the shared library, and associate it with the applications that need these
JAR files. See the WebSphere Application Server Community Edition Documentation
to complete this task.
Installation the sample application using the administrative console
-
Log into the administrative console for the application server.
-
Click Applications > Deploy New in the menu.
-
Browse your file system, and select the SampleFeedApp_Wink.war file that you located earlier.
-
Click Install. The application automatically starts, and installation is complete.