From owner-freebsd-java Tue Aug 13 2: 8:37 2002 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0EA3A37B400 for ; Tue, 13 Aug 2002 02:08:35 -0700 (PDT) Received: from l04.research.kpn.com (l04.research.kpn.com [139.63.192.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id 30FD443E70 for ; Tue, 13 Aug 2002 02:08:34 -0700 (PDT) (envelope-from K.J.Koster@kpn.com) Received: by l04.research.kpn.com with Internet Mail Service (5.5.2653.19) id ; Tue, 13 Aug 2002 11:08:32 +0200 Message-ID: <59063B5B4D98D311BC0D0001FA7E452205FDA907@l04.research.kpn.com> From: K.J.Koster@kpn.com To: jcm@freebsd-uk.eu.org Cc: freebsd-java@FreeBSD.ORG Subject: RE: Basic EJB container for FreeBSD? Date: Tue, 13 Aug 2002 11:08:25 +0200 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Dear Jonathon, > > The reason I'm doing this is to see if it would make sense for a > distributed data manipulation program. For example, a java client > allows you to load graph data. A web service provider has > granted access > to a session bean that does some kind of mathematical > transformation or > processing, but only a limited number of uses, or perhaps the > algorithm is proprietary. > For this model you might want to use stateless session beans to implement the functionality and use entity beans for all data persistence between SOAP calls. This way your services will survive container crashes and restarts transparently. If you are interested in experiments with load balancing: Orion has an easy to use loadbalancer. > > This could be done with RMI, of course, but web services > would work with any client. > Yes, I think SOAP is the protocol to use for this purpose. Make sure you verify your code against a few different clients though (IBM, Apache and Microsoft). Interoperability is important, but does not come automatically (in spite of all the hype). Kees Jan ===================================================== You can't have everything. Where would you put it? [Steven Wright] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message