stateless session bean OR ordinary java class ?

Pedro Salazar <[email protected]>
Newsgroups gmane.comp.java.sun.ejb.general
Organization Portugal Telecom Inova????o, S.A.
Message-ID <[email protected]>
Greetings,

I wonder what should I use for executing some business logic and call
stored procedures: ordinary classes or stateless session beans?

For stateless session beans it's possible to cache somewhere the
datasource factory or must I lookup always for the jndi connection pool?

thanks.

P.S.-I believe the stateful session bean is out of question since it's
much more heavy than stateless beans.

regards,
Pedro Salazar.
--
PS
[email protected]
PGP:0E129E31D803BC61

===========================================================================
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".
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.