I have an entity bean which maps to a database table. I need to retrive some data from database through this entity bean when applicaiton starts up so all other back beans and ejbs can access it. I am thinking of making an application scoped object, which retrives data when applicaton starts up. What's the best way to make the object ? If it's in a J2SE environment, I would make it a Pojo with all field static and retrive data through jdbc in static block. Now is seam environment, I think it should be a application scoped object. Should I make it a backbean, or stateless/stateful ejb. This object is gonna be frequently access by other component So I wanna know what would be the best way to achive the performance

Thanks for your help Gavin.I followed you and made a seam component(not a stateful or stateless bean) with following annotations:@Name("globalparams")@Scope(ScopeType.APPLICATION)@Startup@Interceptors(SeamInterceptor.class)this works fine but I can't inject @PersistenceContext EntityManager anymore, it seems I can only inject EntityManager in a stateful or stateless ejb. Since I need to retrive data in my @Create method, I need to inject an EntityManager or another ejb using @Ejb. I've tried both way but non of them work. Is there any better to do this?