Parleys shares “50+ Tips to Guice up your Java”-Talk from Crazy Bob, held at JavaPolis 2007.
|
||||||
|
Parleys shares “50+ Tips to Guice up your Java”-Talk from Crazy Bob, held at JavaPolis 2007. this is awesome news. First of all, it is nice, that Spring and Guice find some common ground. More importantly, independence of any EEish API is absolutely necessary for this to become interesting. Not that Guice needed a specification to back it up, but it is good to push it more into the mainstream. Wicket 1.3.6 was released. The best news for me there is, that using Guice and persistent Sessions is probably going to work now (did not check yet.) i had to look twice reading this sentence on the google guice mailing list: If you’re looking for a stable, future-proof build that’s suitable for use in production, I recommend the recent snapshot. pretty weird whenever you have any need for cron-like functionality within your java application, Quartz is the obvious chose for quite a long time now. i did not need much of what quartz had to offer, so i went with a home-grown implementation. why? the fear of having to integrate a good, but feature-rich framework, you really [...] if there is anyone suffering from https://issues.apache.org/jira/browse/WICKET-1403 , i added a quick hack to make it possible to restart the server while persisting the application’s state. not a final solution, but it works for now and makes the development cycle much faster (for me) The Problem is, that java.lang.reflect.Type is not Serializable right now. The [...] i recently wrote an article on Warp-persist , an excellent framework for integrating JPA with Guice. This article can be found here . I filed another guice related issue at Wicket’s Jira https://issues.apache.org/jira/browse/WICKET-1403 . Seems, the injection stuff needs some treatment before the ultra-fast-turnaround development environment will come true. Let’s hope for the best. I just wrote a library that (de-)serializes command objects after transmitting over network. Before executing, i’d like to (re-)inject members annotated with Guices @Inject annotation. I did some Reflection before, but never felt the needed to get hold of private fields, which is now essential.It’s not a big deal, but in case anyone could use [...] Please note, that i released just another piece of free software: Guice-AutoBind.It is used to complement guices @ImplementedBy annotation in order to easily bulk-bind whole implementation packages. More… i fell over a subtle bug in Wicket-IOC, that causes RuntimeException when Wicket-Guice is used together with Guice-bound-Interceptors while Injecting non-Interface Classes. While the above usecase is a terribly rare one, this problem shows that it is not always a good idea to copy a required lib to another package in order to have ‘no [...] You know Wicket , at least, you’ve heard of it. What you might have missed, is that it integrates with Guice quite well through this project .I’ve tried it and it’s marvellous. Consider this: SomeForm.java public final class SomeForm extends Form { public SomeForm(final String componentName) { super(componentName); add(new FeedbackPanel(“feedback”)); [... populate form ...] } [...] |
||||||
|
Copyright © 2012 codesmell.org - All Rights Reserved |
||||||