kdlitwak wrote:
> 1.  I  want to have a shared object in an EJB container.  That is, one
> object, one object reference shared by and used by multiple callers at
> once.  Can this be done?  Can multiple clients share a stateless session
> bean since it has no data values to corrupt?

Using a stateless session bean would be ok, but understand that there
would most likely not be one instance handling requests, but several. If
it is stateless this shouldn't be a problem however.

> 2.  If I call an EJB method from something besides a servlet or JSP,
> does hat make my application non-J2EE compliant?  Thanks.

No, you're still ok (AFAIK).

/Rickard

--
Rickard Öberg

@home: +46 13 177937
Email: [EMAIL PROTECTED]
Homepage: http://www-und.ida.liu.se/~ricob684

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to