Guice feature comparison
Yesterday Jesse added this table to the Optional AOP page of the Guice wiki:
| Guice 1.0 | Guice 2.0 | Guice+AOP 2.0 | GIN | |
| Library size | 544Kb | 420Kb | 640Kb | 0Kb (code gen) |
| High performance | ✔ | ✔ | ✔ | ✔ |
| Binding EDSL | ✔ | ✔ | ✔ | ✔ |
| Scopes | ✔ | ✔ | ✔ | ✔ |
| Typesafe | ✔ | ✔ | ✔ | ✔ |
| Fast reflection | ✔ (cglib) | ✔ (cglib) | ✔ (code gen) | |
| Line numbers in error messages | ✔ | ✔ | ||
| Method interceptors | ✔ | ✔ | ||
| Provider Methods | ✔ | ✔ | ✔ | |
| Binding overrides | ✔ | ✔ | ||
| Tool-friendly SPI | ✔ | ✔ | ||
| Child Injectors | ✔ | ✔ | ||
| Servlet Support | Scopes Only | ✔ | ✔ | |
| Error Reporting | Good | Better | Best | Best |
I think it's a great summary and shows how flexible the new release will be.

No comments:
Post a Comment