Hi All,
What about the performance in doing so.Is it not better to invoke the
entity beans from the session bean & then retrieve the data.
>----------
>From: Jim Richards[SMTP:[EMAIL PROTECTED]]
>Reply To: A mailing list for Enterprise JavaBeans development
>Sent: Monday, November 22, 1999 6:40 AM
>To: [EMAIL PROTECTED]
>Subject: Re: Modelling Read Only Database Tables
>
>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".