Installing the Web 2.0 and Mobile Showcase sample on WebSphere Application Server, version 8.0
Follow the steps in this section to locate and install the Web 2.0 and Mobile Showcase Sample application on WebSphere® Application Server Version 8.0.0.x.
If <install_root> is the directory where the feature pack is installed in the case of WebSphere Application Server (for example,
the directory where WebSphere Application Server is installed) and <WASCEFEP_HOME> is the directory where
IBM WebSphere Application Server Community Edition Version 2.0 Plug-in for Web 2.0 and Mobile Version 1.1.0.0
is unzipped.
- Locating the stand-alone sample:
The Web 2.0 and Mobile Showcase sample included in the IBM® WebSphere Application Server Feature Pack for Web 2.0 and Mobile is
located in <install_root>/web2mobilefep_1.1/samples/web20mobileshowcaseSample/showcase.ear directory when installed for WebSphere Application Server v8.0.0.x
Importing the Web 2.0 and Mobile Showcase sample into an Eclipse-based IDE:
- From the Eclipse IDE menu, select File > Import.
- In the presented panel, expand the Java EE option, select EAR file, and click Next.
- In the EAR File entry field, click Browse, and select the EAR file you located earlier. This action populates the other two fields.
- Accept defaults for the project name, if they are acceptable, and click Next.
- Click Finish. This imports the sample application as a Enterprise application project in Eclipse.
You can access the application source code from the newly created project.
Installing the sample on WebSphere Application Server V8.0.0.x
- Start the server and log into the administrative console.
- From the navigation pane, click the New Application link under Applications section
- Select New Enterprise Application.
- Browse your file system and select the showcase.ear file.
- Select Fast Path option and click Next.
- Keep defaults and click Next (Select installation options).
- Click Next(Map modules to servers).
- Click Next (Map virtual hosts for Web modules).
- Click Finish.
- Click Save to the master configuration.
- Click Save.
- Navigate to Applications > Application Types > WebSphere enterprise applications.
- Select the showcase application and click Start.
- Browse to http://localhost:9080/Web20MobileShowcase to open the welcome page.
The host name and ports might vary according to your server configuration.