|
Apache CXF example source code file (README.txt)
The Apache CXF README.txt source codeCXF INBOUND RESOURCE ADAPTER MESSAGE DRIVEN BEAN DISPATCHING SAMPLE (WSDL) ========================================================================== Please read the "Introduction to the inbound-mdb* Samples" section in the inbound-mdb/README.txt. It contains important information. MDB Invoking Session Bean (with WSDL) ------------------------------------- This sample is similar to the "inbound-mdb-dispatch" sample except that it is bundled with WSDL and CXF bus config in the EJB jar. CXF will create a service bean based on the provided WSDL. The CXF bus config file in etc/cxf.xml enabled logging feature. Also, this sample does not implement a remote interface for the GreeterBean. Building and running the sample using Ant ----------------------------------------- From the base directory of this sample (i.e., where this README file is located), the Ant build.xml file can be used to build and run the sample. Build CXF J2C RAR file ---------------------- (Unix) % ant generate.rar (Windows) > ant generate.rar The result RAR file is located in build/lib/cxf.rar Launch the application server ----------------------------- The sample requires an application server (WebSphere 6.1). Make sure you have a running instance of an application server. Deploy the CXF JCA Connector ----------------------------- The CXF JCA Connector must be deployed to the application server before running the sample. The JCA Connector used in this sample can only be shared by the inbound-mdb-dispatch sample. If you have deployed a CXF JCA Connector from that sample, you can skip the following steps and goto "Building Message Driven Bean Jar". Otherwise, please make sure there is no other CXF JCA Connector deployed into the application server. Please consult your vendor documentation on Resource Adapter deployment. Here are basic instructions to deploy the connector in WebSphere 6.1. 1. Logon to WebSphere Integrated Solution Console. The default address is: http://<hostname>:9060/ibm/console/login.do 2. Navigate to tree menu: Resources -> Resource adapters -> Resource adapters 3. On the Resource adapters page, click the "Install RAR" button. 4. On the Install RAR File page, select the "Local path" radio button if this sample is located in the same machine that you are running the web browser. Otherwise, select the "Server path" radio button. Specify or browse to the path build/lib/cxf.rar file in this sample. Then, click the "Next" button. 5. On the next page, click the "OK" button to install the Resource Adapter. 6. On the next page, click the "CXF JCA Connector" link to edit the Resource Adatper. 7. On the "Configuration" page, click the "J2C activation specification" link. 8. On the next page, click the "New" button to create a new Activation Specifications. 9. On the next page, enter "MyActivationSpec" in the Name textbox and click the "OK" button. Notice that the JNDI name is optional. If it is omitted, a JNDI name is created for you as eis/<ActivationSpecName> where Other Apache CXF examples (source code examples)Here is a short list of links related to this Apache CXF README.txt source code file: |
... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.