I'm looking at 5.3.1... 6.10.3... 6.10.6...  Ahh - finally found
it under 6.8.  I wish they would mention that in all they places they
discuss "create(...) methods for Session Beans"!!!

        So I have a session bean that gives locale-specific responses to
the client.  I has thought to call create with a locale.  I don't really
want it to be stateful because once a locale is set it can be shared
across all clients of that locale.  I suppose the way to approach this is
to create separate bean entries in ejb-jar.xml for the same classes with
one JNDI name per bean per locale and an environment entry naming the
locale?  This is a little irritating since now the client must look up a
locale-dependent JNDI name.  Any other suggestions?

Thanks,
        Aaron

On Fri, 4 Aug 2000, Rickard [iso-8859-1] �berg wrote:
> Stateless session beans *do not* have any parameters on create...check
> the spec for details.
> 
> /Rickard
> 
> -- 
> Rickard �berg
> 
> Email: [EMAIL PROTECTED]
> http://www.telkel.com
> http://www.jboss.org
> http://www.dreambean.com
> 


Reply via email to