Installation of Web 2.0 and Mobile Showcase sample application
Follow the steps in this section to locate and install the Web 2.0 and Mobile Showcase Sample application on WebSphere® Application Server Community Edition
Version 2.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 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 is
located in the <WASCEFEP_HOME>/web20mobileshowcaseSample/showcase.ear directory when installed for WebSphere Application Server Community
Edition v2.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 Community Edition 2.x:
- Start WebSphere Application Server Community Edition 2.x.
- Open browser and navigate to http://localhost:8080/console.
- Enter user name as system and password as manager and log in.
- In the navigation, click the Deploy New link.
- Browse to the directory where the sample is extracted and select sample in Archive.
- Click Install. This deploys the Application.
- Browse to http://localhost:8080/Web20MobileShowcase to open the welcome page. If you have setup HTTPS for WAS CE, you can also browse to https://localhost:8443/Web20MobileShowcase/ to open the welcome page. If you have trouble accessing the showcase over HTTPS, verify that your browser settings have enabled the usage of transport layer security (TLS).
The host name and ports might vary according to your server configuration.