struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oscar <>
Subject Initialize and inject resources per application - S2
Date Tue, 04 Jan 2011 22:04:07 GMT
Hi to all, i have a question about Struts 2 capabilities. Maybe it sounds
dumb, but yesterday i realized that, when you work with Hibernate, you have
to initialize one SessionFactory per application, not per session as i
believed. So i don't know if struts2 provides some mechanism to initialize
resources once per application and set in application context for example,
or i have to look for other choices like Spring.


Oscar Calderón
SCJP 6  <>

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message