tag:blogger.com,1999:blog-4110180.post113640080659706278..comments2025-07-21T06:33:41.604-07:00Comments on Tapestry Central: Servlet 2.5: Where's the regexp?Howard Lewis Shiphttp://www.blogger.com/profile/04486596490758986709noreply@blogger.comBlogger9125tag:blogger.com,1999:blog-4110180.post-1136565818356993522006-01-06T08:43:00.000-08:002006-01-06T08:43:00.000-08:00"January 2006: Where's Tapestry 4.0 Final?" should..."January 2006: Where's Tapestry 4.0 Final?" should be the question :D<BR/><BR/>now seriously: wouldnt it be better to bind tapestry to / like anonymous said before ? - why not let tapestry itself decide... this means we also could have different ways for handling images, special deeplinks etc as they could all be defined within the java part !<BR/><BR/>And another Question: When will Tapestry support SSL native ? - i mean, we have the way of using direct-link to send the visitor to a page over SSL but this still means that this page is not yet protected for non SSL calls - otherweise we could define in the .page file sth. like SSL=TRue that is must be access over an encrypted connection, else it would send a redirect to the encrypted page... would be really blazing and boosting security as well...<BR/><BR/>just a small thought,<BR/><BR/>regards<BR/><BR/>KAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-4110180.post-1136477912119632382006-01-05T08:18:00.000-08:002006-01-05T08:18:00.000-08:00My opinion is the bind a servlet to "/" and be don...My opinion is the bind a servlet to "/" and be done with it. Then you are free to do whatever. The whole servlet thing is a mess.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-4110180.post-1136459018242620952006-01-05T03:03:00.000-08:002006-01-05T03:03:00.000-08:00Howard, wouldn't a Servlet Listener implementing j...Howard, wouldn't a Servlet Listener implementing javax.servlet.http.HttpSessionActivationListener be enought? This would give you sessionWillPassivate() and sessionDidActivate() hooks.<BR/>Yes, it requires one more line in web.xml, but it is worth it IMHO.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-4110180.post-1136436962434174882006-01-04T20:56:00.000-08:002006-01-04T20:56:00.000-08:00readObject() is quite insufficient for my purposes...readObject() is quite insufficient for my purposes; this is about HiveMind and hooking serialized proxies back into the Registry ... and, of course, there may be more than one Registry, so you can't base this on a static field, either. Worse, you can't even base it on a customized ObjectInputStream, since the servlet container, not your code, creates the stream. So I rely on ThreadLocal wrapper around a WeakReference, but I'm not 100% sure it will work, because there's no guarantee the right Registry instance will have been stored into the ThreadLocal before the service proxies are deserialized. This is what I get for writing a framework and not a server, where I would have control over that stuff :-)Howard Lewis Shiphttps://www.blogger.com/profile/04486596490758986709noreply@blogger.comtag:blogger.com,1999:blog-4110180.post-1136423299316050312006-01-04T17:08:00.000-08:002006-01-04T17:08:00.000-08:00You can hook deserialization by implementing a rea...You can hook deserialization by implementing a readObject() method.Bobhttps://www.blogger.com/profile/17659001534221131143noreply@blogger.comtag:blogger.com,1999:blog-4110180.post-1136414186872021792006-01-04T14:36:00.000-08:002006-01-04T14:36:00.000-08:00What the hell is "heh heh."?I actually provided th...What the hell is "heh heh."?<BR/><BR/>I actually provided this feedback to Ed Burns who did pass it on to the group. <BR/><BR/>It should not be necessary to be on the group to get common-sense changes made to the spec. But I'll keep my eyes open for the 2.6 spec ... in my spare time :-).Howard Lewis Shiphttps://www.blogger.com/profile/04486596490758986709noreply@blogger.comtag:blogger.com,1999:blog-4110180.post-1136413552284274682006-01-04T14:25:00.000-08:002006-01-04T14:25:00.000-08:00It seems silly to expose the shortcomings of the n...It seems silly to expose the shortcomings of the new servlet specification after it has been through the whole review process.<BR/><BR/>There have been public review copies available since 26 Feb, 2004<BR/><BR/>Get involved! ;-)<BR/><BR/>heh heh.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-4110180.post-1136406495322667092006-01-04T12:28:00.000-08:002006-01-04T12:28:00.000-08:00The annotation is on a field. There may or may not...The annotation is on a field. There may or may not be a setter method for that field. This implies that the field's value is being set via a constructor ... but not one you write. This implies that the bytecode of your class is being modified, to provide the setter method, or a constructor. Unless they went the cheesey route, and required that the field be public.Howard Lewis Shiphttps://www.blogger.com/profile/04486596490758986709noreply@blogger.comtag:blogger.com,1999:blog-4110180.post-1136405174126512832006-01-04T12:06:00.000-08:002006-01-04T12:06:00.000-08:00I don't see why @Resource would require bytecode p...I don't see why @Resource would require bytecode processing.Anonymousnoreply@blogger.com