Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 98998 invoked from network); 28 Feb 2007 03:58:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 Feb 2007 03:58:49 -0000 Received: (qmail 63740 invoked by uid 500); 28 Feb 2007 03:58:55 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 63684 invoked by uid 500); 28 Feb 2007 03:58:55 -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 List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 63673 invoked by uid 99); 28 Feb 2007 03:58:55 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Feb 2007 19:58:55 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [209.68.5.17] (HELO relay03.pair.com) (209.68.5.17) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 27 Feb 2007 19:58:43 -0800 Received: (qmail 21712 invoked from network); 28 Feb 2007 03:58:20 -0000 Received: from 124.43.221.225 (HELO ?192.168.1.101?) (124.43.221.225) by relay03.pair.com with SMTP; 28 Feb 2007 03:58:20 -0000 X-pair-Authenticated: 124.43.221.225 Message-ID: <45E4FDDA.6020508@opensource.lk> Date: Wed, 28 Feb 2007 09:28:18 +0530 From: Lasantha Ranaweera User-Agent: Thunderbird 1.5.0.8 (X11/20061115) MIME-Version: 1.0 To: user@geronimo.apache.org, dev@geronimo.apache.org Subject: Re: Web App Servlet calling EJB References: <20070226144120.181451e9c2a7ebbcd6ae28cea81146c8.5956280489.wbe@email.secureserver.net> In-Reply-To: <20070226144120.181451e9c2a7ebbcd6ae28cea81146c8.5956280489.wbe@email.secureserver.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi Mark, Sharing documentation would be fantastic. We highly appreciate since it is one of the critical parts in every open source project. If we can create an EJB sample application with Eclipse/Geronimo plug in with some screen prints would be ideal :-) . More documentation we get that would be more helpful for the new comers of the project since it would always open different perspective on user problems. Use following link to register with Confluence. http://cwiki.apache.org/confluence/signup.action Hernan might be able to help you if I am missing something in documentation. Thanks, Lasantha Ranaweera mark@aufdencamp.com wrote: > Got it on my own finally after four days of effort! I needed the > appropriate geronimo-web.xml syntax and info for the . I also > needed a dependency for the EJB module in the WAR environment. > > I enjoy learning this and appreciate the amount of flexibility offered, > but this really needs defined a whole lot better for developers to > actually use the product. It's taken me two weeks of learning curve to > deploy a simple stateless session EJB and manage to call it from a > remote a client and a JSP on the same server. I'd hate to be > justifying that to a Project Manager. Granted, the first time I did > this in WebSphere 4 and Visual Age for Java and an AS400, it took six > weeks and we had better documentation and support. Most of this effort > involves deployment descriptor learning whose information appears rather > distibuted at this time. > > I've documented my learning curve and am willing to share, along with > doing screen shots to guide others through the learning curve of basic > JEE Eclipse and Geronimo development. > > Does someone monitoring this list work on project documentation and > willing to tutor me on putting together a tutorial on building apps in > Eclipse and deploying them on Geronimo for the documentation section? > > I'm using MyEclipse right now, but plan on playing with the geronimo > eclipse plug-in and WTP/JST. > > > >> -------- Original Message -------- >> Subject: Web App Servlet calling EJB >> From: mark@aufdencamp.com >> Date: Mon, February 26, 2007 10:16 am >> To: user@geronimo.apache.org >> >> Hello Everyone, >> >> After a good peice of information last week, I was able to get my stand >> alone application call to a remote HelloWorld Session EJB. Thanks to >> Richard Carragher, Jr for defining the required client libraries. I'm >> documenting my learning experence, and that has definetly made it into >> my outline. >> >> I'm now attempting to make the same call from a JSP. I have a few >> questions that I would appreciate someone clarifying for me. >> >> 1. I presume that in the absence of an EAR definition, that a >> Servlet/JSP call to the EJB is still considered to be "Remote". I >> should use the same JNDI context lookup and will require the same >> library jars in the WAR that were needed for the stand alone client. >> Is this correct? If not, then how should I accomplish it? >> >> 2. Do I need to define the ejb-ref or ejb-local-ref in the web.xml to >> acess the EJB in this manner? I've attempted this and keep getting a >> "Could not find an EJB reference..." error mesage with more info about >> not finding my EJB classes from the deployer. I've been over the EJB >> deployments in the ejb.xml and the openejb-jar.xml, as well as the >> web.xml and the geronimo-web.xml. I just need to find what I'm missing >> in tying the WAR deploment to the EJB, and the code to the WAR >> deployment. >> >> >> Thanks all, >> >> Mark Aufdencamp >> Mark@Aufdencamp.com >> > > >