How would one connect to the database with the stateless session bean
>>> Jim Richards <[EMAIL PROTECTED]> 11/21 8:10 PM >>>
At 09:59 AM 18/11/99 -0800, you wrote:
>Hi EJB Gurus,
>
> What is the best way to represent read only database tables in EJB.
The model I tend to use is to have a stateless session bean return a vector
of objects (similar in style to entity beans) back to the application which
then caches the vector.
Since most of my work is servlets, this usually is the data for select lists and
HTML that comes from the database.
Works fine, as these don't change in production use, only development where
the server is being restarted a lot anyway ...
--
Subvert the dominant paradigm
http://www.cyber4.org/members/grumpy/index.html
===========================================================================
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".
===========================================================================
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".