Qn: which of the following methods to serve state to servlet or session beans is the best way to go?
1. JNDI (jnp). Are writes too slow here? Is there a quick way to load from an xml or properties file? Is there advantage in storing http sessions here?
2. An entity bean with empty framework methods ( data from file, no database sync, write state once then read only, session bean clients, use the "stay up" container config)
3. An MBean. Will I lose portability here? (rmi or not?)
i would go for 2. the entity Bean because it's blazing fast using JBoss's implementation of the EJB Container