Accessing the samples
The product offers samples that demonstrate common enterprise application tasks. Many samples also provide instructions for deployment and coding examples.
Installing the Plants By WebSphere sample
To install the Plants By WebSphere sample, perform the following steps.
Available samples
- Communications Enabled Applications (CEA) samples
- The CEA sample applications provide two main services, telephony access and multi-modal web interaction. Use this collection of sample applications to explore the services and to use as a starting point when developing your own communication enabled applications.
- OSGi samples
- The OSGi samples help you develop and deploy modular applications that use both Java EE and OSGi technologies.
- XML samples
- The XML samples demonstrate use of the XML API and supported specifications.
- Internationalization service sample
- The Internationalization service sample demonstrates how to use the internationalization service in Java EE applications, specifically within servlets and enterprise beans.
- Web services samples
These samples demonstrate both Java API for XML-based RPC (JAX-RPC) and Java API for XML Web Services (JAX-WS) web services that use Java Platform, Enterprise Edition (Java EE) beans and JavaBeans components.
The JAX-WS web service samples demonstrate the implementation of one-way and two-way web services that highlight the use of web services standards such as WS-Addressing (WS-A) , WS-Reliable Messaging (WS-RM), and WS-Secure Conversation (WS-SC) and the SOAP Message Transmission Optimization Mechanism (MTOM) technology.
- Service Data Objects (SDO) sample
- This sample demonstrates data access to a relational database through Service Data Objects (SDO) and Java DataBase Connectivity (JDBC) Mediator technologies.
Downloading samples
- Go to the Samples, Version 8.5 documentation.
- Determine which samples you want to download.
- On the Downloads tab for the samples that you want, click a Download Sample link.
- In the authentication window, click OK.
- Download the compressed file, or individual sample files, to a directory on your
workstation.
You might create the /samples/sample_type directory path on your workstation and download the sample files to that directory path.
Many sample compressed files have an /installableApps directory that contains deployable prebuilt archives. Other directories contain files such as sample-specific source archives, scripts, and instructions for building deployable archives.
Limitations of the samples
- The samples are for demonstration purposes only.
The code that is provided is not intended to run in a secured production environment. The samples support Java 2 Security, therefore the samples implement policy-based access control that checks for permissions on protected system resources, such as file I/O.
The samples also support administrative security.
Additional samples and examples
- Samples in tutorials
- Many product tutorials rely on sample code. To find tutorials that demonstrate specific technologies, browse the links in Tutorials.
- Examples in the product documentation
- The product documentation contains many code snippets and examples. To locate these examples easily, see the developer examples in the Reference section of the documentation navigation for the product edition that you are using.
- IBM Telephone Directory
- The IBM Telephone Directory business application is shipped separately from the product. For information about obtaining and using the IBM Telephone Directory application, see IBM Telephone Directory V5.2 in the topic on e-business and web serving in the IBM i documentation.