Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 39243 invoked from network); 29 Oct 2004 09:17:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 29 Oct 2004 09:17:31 -0000 Received: (qmail 99747 invoked by uid 500); 29 Oct 2004 09:17:20 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 99711 invoked by uid 500); 29 Oct 2004 09:17:19 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: dev@geronimo.apache.org Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 99694 invoked by uid 99); 29 Oct 2004 09:17:19 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of hemapani@gmail.com designates 64.233.184.207 as permitted sender) Received: from [64.233.184.207] (HELO wproxy.gmail.com) (64.233.184.207) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 29 Oct 2004 02:17:19 -0700 Received: by wproxy.gmail.com with SMTP id 68so571281wri for ; Fri, 29 Oct 2004 02:17:15 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=beT08Us4Loyj1FH6fFG5fTsf7hFCaO4GXqHqkntn0CnN8RX3di8n/7dH4movQuoTWXWscByzYjIMOTCUpevLXtbhvGVGVmMOHdpy6Ye7pvfZGTvaxhPXHLpgS08ymTN4otfKpYWxhet+ZSN3lpCJXdTb4Ratc8qxXm9JXMQneqk= Received: by 10.38.15.26 with SMTP id 26mr723248rno; Fri, 29 Oct 2004 02:17:15 -0700 (PDT) Received: by 10.38.99.30 with HTTP; Fri, 29 Oct 2004 02:17:14 -0700 (PDT) Message-ID: Date: Fri, 29 Oct 2004 15:17:14 +0600 From: Srinath Perera Reply-To: Srinath Perera To: dev@geronimo.apache.org Subject: Re: Axis module review In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <20041029052323.GA21220@sweetums.ce1.client2.attbi.com> <1DA810C0-2977-11D9-A78B-000D93361CAA@gluecode.com> X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Thanks everybody for the help :) :)... I think I got the big picure and hopfully should be able to get the Web Services working(which do not have EJB) behind them with out kernel. (There is a classloader issue when the EJB involved. I will try to get the code up removing all referances to kernel for POJO based WS.) I think over all the stuff over the weekend get back. My view about the Web Service is follows. There are two types of web services A) EJB based B) POJO based (servlet based one .. actually both has a servlet at the front so I dont see any sense in the name "Servlet based" : ) ) Web Service(HTTP one we concern about) is a Servlet that accepts SOAP over HTTP. Axis basically 1) get the request XML (SOAP) and converts them to the java objects 2) call the java class (POJO) or EJB that provide the implementation 3) get what ever the result and send them back as SOAP Only deferance between the EJB based and POJO based one is 1) Axis call a EJB instead of POJO at step #2 2) We have to make sure EJB is up when the webservice is called I think we should be able to do it with one WSBuilder. To be the steps is like follows 1. Geronimo Deployer find that the WAR/EAR is a ws module by looking at exsistance of the webservices.xml file in the module 2. The WSBuilder will create the confiuration and start it a. there should be a one GBean for each WS (we have to sort out how to do this) b. there should be a GBean for each EJB that referanced 3. when the confiuration started web services are avalible AxisGBean will keep track of the things and manage Axis Thanks Srinath On Fri, 29 Oct 2004 01:24:19 -0700, David Blevins wrote: > > On Oct 28, 2004, at 11:52 PM, David Jencks wrote: > > > My understanding of web services is that messages can be sent to > > either servlets or ejbs. (Apparently the servlets aren't "Servlet" > > implementations, but are usually wrapped in one). We need a gbean to > > be deployed for each such servlet and each such ejb. At the moment I > > think the best approach is to have a WSServletBuilder and a > > WSEJBBuilder that will actually build the gbeans. These, especially > > the WSEJBBuilder, would be similar to the openejb > > SessionConfigBuilder. > > Not just similar to but the same as--one session bean can have all of > the following interfaces: > - Local > - Remote > - ServiceEndpoint > > All of which can have transaction attributes associated with them. The > ServiceEndpoint interface can even be invoked directly by EJBs, > Servlets, or App Clients through declaring it as a service-ref and > looking a it up through JNDI. Any invocations on the ServiceEndpoint > interface go through JAX-RPC. > > Aside from JAX-RPC/ServiceEndpoint invocations, people can invoke the > session bean through SOAP/WSDL over HTTP or HTTPS. In this case there > is a mapping from WSDL to the ServiceEndpoint interface. > > All in all, this is not very different from the CORBA integration which > also supports Java and non-Java clients through IIOP. In this case we > use SOAP instead of IIOP, ServiceEndpoint/JAX-RPC instead of > Remote/RMI-IIOP, WSDL-to-Java mapping instead of IDL-to-Java mapping, > and Axis instead of an ORB. > > -David > >