Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3
Section
borderfalse
Column
width15%
Include Page
TUSCANYWIKI: Repeating MenuTUSCANYWIKI:
Repeating Menu
Include Page
TUSCANYWIKI: Java SCA Menu NewTUSCANYWIKI:
Java SCA Menu New
Column
width85%

<implementation.java>

The Tuscany Java SCA runtime supports Web services components implemented in Java by using the <binding<implementation.ws> java> SCDL extension. New Web service endpoints can be provided by using <binding.ws> within a SCA <service>, existing Web services can be invoked by using <binding.ws> within a SCA <reference>.

The Java component implementation The Web service binding SCDL has the following format:

Code Block
   <implementation.java class="NCName" />

Where the class attribute is the fully qualified name of the Java class of the implementation.

The Java component implementtaion is one of the SCA extensions which is being formalized in the OASIS Open Composite Services Architecture with a published specifications document.

some examples

This example shows a simple composite with a component that uses <implemantation.java>:

Code Block

<composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
    targetNamespace="http://sample"
    xmlns:sample="http://sample"
    name="SampleComposite">

    <component name="SampleComponent">
       <implementation.java class="sample.SampleImpl"/>
    </component>
    
</composite>