
Gin
Get flash to fully experience Pearltrees
GWT Sushi
Hey, have you tried Grails? If you love Java and love Spring, you are going to adore Groovy on Grails (www.grails.org). Last week I decided to try out Groovy on Grails using the excellent free ebook located here: free ebook - yes please . The book took me two days to navigate through and if you have any experience in Ruby on Rails, you are going to love it. Grails applications are typically called Groovy on Grails. Groovy is the language and Grails is the utility that uses convention over configuration to build easily, web applications.java - GWT - GIN - GWTP - Dispatcher Injection Problem - Stack Overflow
I am in a situation where someone might be already in. I am using GWTP in my application. GWTP is using GIN as a client side dependency injection. GWTP also uses Dispatcher mechanism for sending request to server side. Now, There are some classes (PRESENTERS) which is injected by GWTP, I have some other classes which are created runtime without injection that means using "new" keywork.GWT.runAsync with GIN — amateur in motion (r579)
GWT-2.0 has great new feature called Code Splitting what allows to split module in smaller compiled parts and request parts only when (if) they’re needed. But I’m using GIN to wire all internal application object graph (models, presenters, views, service classes) and of corse if it’s left as is (one Ginjector) no code is split. public class StoriesModule extends AbstractGinModule { @ Override protected void configure () { bind( EventBus . class ).to( EventBusImpl . class ); bind( EventBusListener . class ).to( LoggingEventBusListener . class ); bind( AdminLoader . class ).to( AdminLoaderImpl . class ); } } and AdminModule :Instead of writing an introduction tutorial to the GIN capabilities, the purpose of this article series is to illustrate some of the GIN features while applying some recipes to an existing application. Maybe you already know this little screencast where Hamlet D’Arcy explains how to decouple GWT components by mean of an “event bus” in a little “ping-pong” simulation. If not, maybe you would like to spend five minutes watching the screencast and, once you are done, read on and learn how to apply some dependency injection techniques to improve this little application. The source code of the application can be downloaded here . To see the application working, unzip the file, change to the folder where the Maven pom file is stored and type the command: “mvn clean gwt:run”. After the GWT “Development mode” application starts, click on the “Launch Default Browser” button.

