1 Reply Latest reply on May 25, 2011 7:44 AM by kcbabo

    Bean component annotations

    objectiser

      Hi

       

      I noticed that the bean component uses its own Service and Reference annotations. However they seem almost identical to the same annotations in org.osoa.sca.annotations. Is there a reason why the SCA annotations haven't been used?

       

      Regards

      Gary

        • 1. Re: Bean component annotations
          kcbabo

          Hey Gary,

           

          You'll notice that we also use binding.soap instead of binding.ws.  The main reason for this is that implementation.java and binding.ws are SCA standards and the configuration and expected behavior are constrained by SCA specs.  It would be great to get to a point where our Bean and SOAP components fully support these standards, but that is not the case right now.  So we are using implementation.bean (with SwitchYard specific annotations) and binding.soap to avoid confusion until we can support the standard behavior of these components in SCA.

           

          As you noticed, the Java annotations are basically the same, so it should be easy for user's to switch over.  We may keep the bean component stuff around if we decide we want SwitchYard specific functionality associated with service beans (ala Hibernate -> JPA). 

           

          cheers,

          keith