Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Aug 2002 11:08:25 +0200
From:      K.J.Koster@kpn.com
To:        jcm@freebsd-uk.eu.org
Cc:        freebsd-java@FreeBSD.ORG
Subject:   RE: Basic EJB container for FreeBSD?
Message-ID:  <59063B5B4D98D311BC0D0001FA7E452205FDA907@l04.research.kpn.com>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?59063B5B4D98D311BC0D0001FA7E452205FDA907>