Hey guys,<br><br>I noticed that webbeans is currently creating the HttpSession immediately at the beginning of the request:<br><br> public static void beginRequest(HttpServletRequest request) <br> {<br> SessionContext.INSTANCE.setBeanMap(new SessionBeanMap(request.getSession()));<br>
...<br> }<br> <br><br>Do you think it'd be worthwhile delaying session creation until it's actually needed (i.e. when a session-scoped bean is first created)? Some people may wish to avoid creating a session until a user logs in, for example.<br>
I don't know how many people actually do this.<br><br>For what it's worth, Seam tries to create sessions lazily, so it'd probably be good to follow suit.<br><br>-Matt<br>