In his Google I/O session Best Practices For Architecting Your GWT App, Ray Ryan discusses the benefits of using an event bus in GWT (Google Web Toolkit) applications. Inspired by this talk, I decided to try my hand at building a simple GWT event bus modeled after our pure java event bus.
Continue reading
Category Archives: Event Bus
Use dynamic proxies to create a simple, powerful event bus (Part 2)
In part 1 of the event bus series we discussed implementing a simple and powerful event bus using just three classes. If you haven’t read it yet, I strongly recommend you read it first.
Use dynamic proxies to create a simple, powerful event bus (Part 1)
In this blog we’ll build on part 1 by adding several important features to the event bus to make it production ready. Continue reading
Use dynamic proxies to create a simple, powerful event bus (Part 1)
In this blog I’m going to walk you through one of my favourite uses for Java’s dynamic proxies. Why favourite? Because it takes a powerful, sometimes misunderstood, feature of Java and creates a simple, useful tool that we can use every day.
Continue reading