How I can to initialize my any parameters at the application startup time ? I 
would like read these parameters from my text-file and put it to application 
scope (after application deploy process). I don`t understand how to bind my 
session bean method that to do it with startup application process.
Also I would like save my few entities into database, when user session is 
destroyed. I try to use class than implement HttpSessionListener and have 
sessionCreated and sessionDestroyed methods but it not possible to use invoke 
method of SessionBean than declarated with @Name annotation (i.e. which is 
seam-component). Seam-tutorial chapter 5 section 'Contextual events' have 
enumeration of contextual events. There is consist 
org.jboss.seam.preDestroyContext. but I can not find examples anywhere how it 
to use in source code or in xml-config files.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995355#3995355

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995355
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to