[Clustering/JBoss] - Re: Weird apache behaviour in load-balancing, and form-based
by argaldo
>>> Unless someone in the community who needs it wants to take a shot at it -- hint, hint ;) <<<
Got it!! ;-))
I've been digging Tomcat's code and the info to restore the request after the User has been authenticated is stored in a org.apache.catalina.authenticator.SavedRequest object which as you said is not Serializable and it is stored via setNote(Sting,Object) method of org.apache.catalina.session.StandardSession inherited (and implemented) from org.apache.catalina.Session (so, that's not an standard method of javax.servlet.http.HttpSession as you know).
A fast peek at JBoss' source code seem to reveal that none of that internal savedrequest notes is neither serialized nor replicated.
Will it be worth to give it a try to implement replication of that form-based authentication notes in JBoss clustered sessions?
If so, I would be very pleased to do it but also would appreciate some architectural hints to get the job done.
Greets
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3969064#3969064
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3969064
19 years, 7 months
[JBoss Seam] - Annotations for Swing
by SmokingAPipe
This is totally off the topic of Seam, but it's something that Seam users would understand best.
Wouldn't it be cool to have annotations when building Swing apps? Instead of doing all these anonymous classes to handle events, you could annotate your bean classes with "inject this UI thing here" annotations.
One thing that made me think this is that Trolltech made a version of Qt for Java apps and they are making a big deal of the fact that instead of registering listener objects (ie, anonymous classes) you just call something like register("setName(Ljava/lang/String)") or something. You register the method, not an object. But if you're doing that it's better to use an annotation on the method itself I think.
Just my thought of the day.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3969060#3969060
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3969060
19 years, 7 months