lili wrote:
Thanks for your answer,I know it,but it also said that SCA is integrated with Geronimo *,* I thought that it can also support for service binding, I am wrong! Thank you again!

My understanding is that the Tuscany integration with Geronimo hasn't
been maintained so it probably doesn't work with the current releases
of Tuscany and Geronimo.  Also I think the service-side support was
for implementation.ejb not binding.ejb.  See [1].

  Simon

[1] http://www.mail-archive.com/[email protected]/msg03024.html


At 2010-12-06 19:41:39??"Simon Nash" <[email protected]> wrote:

lili wrote:
Hello,
I encountered a problem when I use SCA service ejb-binding. The detail is as follows: In the composite file, I want to make a service bind as ejb,but I don't know how to write the attributes of the binding.ejb element,and another question is that when I have binded a service as ejb,how can I use it? For example,I use weblogic as the ejb container,how can I deploy the binded ejb service into J2EE environment? Also a question,what I need to write to make the service in SCA can be binded to ejb?The beanInterface? The homeInterface? The implementation of the bean? Or what others need I write?
   The composite file is as follows:
<?xml version="1.0" encoding="UTF-8"?> <sca:composite xmlns="http://www.osoa.org/xmlns/sca/1.0"; xmlns:sca="http://www.osoa.org/xmlns/sca/1.0"; xmlns:dbsdo="http://tuscany.apache.org/xmlns/sca/databinding/sdo/1.0"; name="serviceejb" targetNameSpace="http://com.comtop/demo/general";>
  <sca:component name="GeneralServiceEJBComponent">
<sca:implementation.java class="com.comtop.general.ejbbinding.GeneralServiceEJBImpl"/>
    <sca:service name="GeneralServiceEJB">
<sca:interface.java interface="com.comtop.general.ejbbinding.GeneralEJB"/>
    </sca:service>
  </sca:component>
<sca:service name="ServiceEJB" promote="GeneralServiceEJBComponent/GeneralServiceEJB">
  <sca:interface.java interface="com.comtop.general.ejbbinding.GeneralEJB"/>
    <sca:binding.ejb
     uri="corbaname:iiop:localhost:7001#GeneralEJB"
     homeInterface="com.comtop.general.ejbbinding.GeneralEJBHome"/>
  </sca:service>
</sca:composite>
Hope your good news! Thanks a lot!!!
Hi Lili,
You can find some information about Tuscany's support for binding.ejb
in [1].  This says that Tuscany only supports binding.ejb for references,
not for services.

  Simon

[1] http://tuscany.apache.org/sca-java-bindingejb.html


------------------------------------------------------------------------
????163/126??????????????iphone ipad???????? <http://help.163.com/special/007525G0/163mail_guide.html?id=2716>




------------------------------------------------------------------------
????163/126??????????????iphone ipad???????? <http://help.163.com/special/007525G0/163mail_guide.html?id=2716>

Reply via email to