Archive for 2009/11

  • Some movement on Google Groups?

    It has been only a week since I thought about Google Groups and imagine my surprise when I noticed this little box on the "Join this group" page:


    A select box for your e-mail address on Google Groups

    You can finally also select your Google Domain Apps e-mail addresses when joining a group, which was very high on my all-time most-wanted list for a really long time. It's not perfect yet (you can't use your aliases yet) but it's definitely a nice enough addition on its own :D

    2009/11/03 at 21:50:40

    0 comments

  • Webmontag Graz #9 zusammengefasst

    Heute war mal wieder Webmontag in Graz. Ich konnte zwar leider nicht bis zum Schluss bleiben, aber dennoch sind in dieser Zeit genug interessante Themen besprochen und nützliche Tools erwähnt worden, dass ich sie mir sicher nicht merke, wenn ich hier nicht etwas darüber niederschreibe :-)

    Read more about "Webmontag Graz #9 zusammengefasst" ...

    2009/11/09 at 23:26:40

    0 comments

  • Root contexts prefer not to share

    Tonight I learned something funny with Spring: Don't be lazy when defining your root application context. I wanted to play around with Jersey and its integration with Spring, but was kind of lazy:

        <context-param>
            <param-name>contextConfigLocation</param-name>
            <param-value>WEB-INF/SpringMVC-servlet.xml</param-value>
        </context-param>
        <servlet>
            <servlet-name>SpringMVC</servlet-name>
            <servlet-class>org.springframework.web.servlet.DispatcherServlet
            </servlet-class>
        </servlet>
        <servlet>
            <servlet-name>spring-jersey</servlet-name>
            <servlet-class>com.sun.jersey.spi.spring.container.servlet.SpringServlet
            </servlet-class>
        </servlet>
    

    This is a really bad idea because you will end up with both the REST Resources as well as everything in Spring being able to access the same beans (those defined in the SpringMVC-servlet.xml) but with actually 2 contexts. If you, for instance, try to access a singleton bean called "dataService" from within a Resource and then also from within a SpringMVC controller, the hashCode of that so-called "singleton" will be different ...

    So don't be lazy and give your root application context its own bean configuration if you intend to put something like a connection pool or something that really should be singleton in there ;-)

    2009/11/11 at 21:30:21

    1 comments

  • Etwas für den Kalendar: Photowalk 3 in Wien

    Gerade gelesen: Am 13. März findet der 3. Photowalk in Wien statt. Genaueres gibt es derzeit scheinbar noch nicht (ist ja auch noch genug Zeit fürs Planen), aber nach dem letzten Photowalk im Oktober freue ich mich schon wahnsinnig auf März.

    So vom Konzept her war der letzte Photowalk genau richtig für mich: Themen, schöne Gegend und danach bequemes Zusammensitzen mit gutem Essen; und da habe ich großes Vertrauene in die Orgas, das sie mir auch dieses Mal wieder ein weiteres Stück Wien näher bringen :-)

    2009/11/27 at 17:41:40

    1 comments