Return-Path: Delivered-To: apmail-incubator-cxf-dev-archive@locus.apache.org Received: (qmail 37277 invoked from network); 30 Sep 2006 03:46:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 30 Sep 2006 03:46:24 -0000 Received: (qmail 37125 invoked by uid 500); 30 Sep 2006 03:46:23 -0000 Delivered-To: apmail-incubator-cxf-dev-archive@incubator.apache.org Received: (qmail 37081 invoked by uid 500); 30 Sep 2006 03:46:23 -0000 Mailing-List: contact cxf-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cxf-dev@incubator.apache.org Delivered-To: mailing list cxf-dev@incubator.apache.org Received: (qmail 37071 invoked by uid 99); 30 Sep 2006 03:46:23 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Sep 2006 20:46:23 -0700 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests= Received: from [65.223.216.181] ([65.223.216.181:59085] helo=amereast-smg1.iona.com) by idunn.apache.osuosl.org (ecelerity 2.1.1.8 r(12930)) with ESMTP id 7D/31-23383-B88ED154 for ; Fri, 29 Sep 2006 20:46:21 -0700 Received: from amereast-ems2.IONAGLOBAL.COM ([10.65.6.84]) by amereast-smg1.iona.com (Switch-3.1.7/Switch-3.1.7) with ESMTP id k8U3jYAQ019465 for ; Fri, 29 Sep 2006 23:46:15 -0400 (EDT) Received: from [10.129.9.105] ([10.129.9.105]) by amereast-ems2.IONAGLOBAL.COM with Microsoft SMTPSVC(5.0.2195.6713); Fri, 29 Sep 2006 23:46:12 -0400 Message-ID: <451DE817.4010004@iona.com> Date: Sat, 30 Sep 2006 11:44:23 +0800 From: Jiang Ning User-Agent: Mozilla Thunderbird 1.0.7 (X11/20050923) X-Accept-Language: en-us, en MIME-Version: 1.0 To: cxf-dev@incubator.apache.org Subject: Re: JCA Inbound Propocal References: <20060930023206.4859.qmail@web32602.mail.mud.yahoo.com> In-Reply-To: <20060930023206.4859.qmail@web32602.mail.mud.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 30 Sep 2006 03:46:12.0991 (UTC) FILETIME=[F96750F0:01C6E442] X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi Unreal, Please see the comments in the mail. Unreal Jiang wrote: >Hi guys, > > I'd like to port jca inbound into CXF from Celtix. In Celtix, we create a dynamic proxy as a implementor, and this proxy will redirect the invocation from client to a backend ejbBean. This way works fine in Celtix, bus doesn't in CXF. > Here is the design note of the Celtix JCA implementation. https://wiki.objectweb.org/celtix/Wiki.jsp?page=JcaDevPlan >Because in CXF JaxWS frontend implementation, it's requested that the implementor must contain a WebSerivce or Provider annotation, in our case the implementor is only a proxy, it doesn't have any annotations. > There have two ways to solve this issue, > 1. Use Simple frontend instead of JaxWS. > 2. Add a WebService annotation with binary code manipulation. > > There are lots of ways to export an EJBean as a web service and we want to implement it in a JCA way. The Celtix JCA inbond implementation is based on the JAXWS API, which uses the proxy to carry an annotationed SEI and WSDL to provider other detail information. If we keep on implementing CXF JCA inbond this way , we should keep on fighting with JAXWS front end. :( We noticed that it is will be much easier by an code first way to get enough WSDL information from the code side, that is the simple frontend way. We want to know more about code first work, maybe study the xfire code is a good way. > > Do you guys have any idea about this two approach? > Any comment will be appreciated. > > Regards > Unreal > > >--------------------------------- >Do you Yahoo!? > Everyone is raving about the all-new Yahoo! Mail. > > Willem.