This content has been marked as final.
Show 2 replies
-
1. Re: Which Bean fits this scenario?
jamesstrachan Jun 27, 2004 5:55 AM (in response to john_anderson_ii)John,
From your description, what you need is an entity bean that contains the entire list of numbers.
The bean acts as a singleton (if you know the Gang of Four book) with only one bean ever present in the server. You enforce the singleton rule by using a published primary key with a constant value.
Your browser clients can access the data in the entity bean directly, but access through a stateless session bean will give better performance.
See the discussion and code samples at topic :-
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=50863
James -
2. Re: Which Bean fits this scenario?
john_anderson_ii Jun 28, 2004 5:49 PM (in response to john_anderson_ii)This is exactly what I looking for. Thank you very much James.