I have a number of basic pieces of information regarding each user that logs into my system:
fname (user's firstname)
lang (id of the language they want to view the page in)
email (obvious)
log_time (date/time logged in)
I can't find any clear answer to this (maybe there isn't one), which is better to use, a Session Bean (standard
java not
EJB) which holds the get/set methods for eahc of the above and I call the methods accordingly or simply using session.setAttribute/session.getAttribute to store the values in the Browser sessiona nd retrieve them when eeded.
The lang value will be required for every page because when the user opens a page, the lang value
(for example: en) will go away and get a en.properties file and populate tags on a page with text
(en the page is in English, jp it's in japanese) Cheers
KS