The product offers samples that demonstrate common enterprise application tasks. Many samples also provide instructions for deployment and coding examples.
To install the Plants By WebSphere sample, perform the following steps.
SCA.zip, or individual sample files, to a directory on your workstation. You might create the /samples/sca directory path on your workstation and download SCA sample files to that directory path.
DownloadYou must deploy SCA sample files as assets of a business-level application to a Version 8.0 server or cluster or to a Version 7.0 target that is enabled for the Feature Pack for SCA. The SCA/installableApps directory of SCA.zip contains prebuilt archives that you can deploy as assets. The other directories contain sample-specific source files, scripts, and instructions for building deployable archives.
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.
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.
To deploy them to the application server, you can use the administrative console or use the install script in the app_server_root/samples/bin directory.
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.
For applications that require multiple Java virtual machines to access the same Apache Derby instance, use the Apache Derby networkServer framework.