FAQ
Q: What is Boost?
A: Boost is a collection of tools that make using Java more enjoyable. It includes a simple, but powerful dependency injection framework called Spider, a testing framework (sitting above JUnit and JMock) that makes test driving a breeze called Sniper, a framework for handling (sometimes evil) 3rd party libraries called Scalpel, some handy data structures and utilities (called the Incredibles and Gunge) that levitate above Java.
Q: How does Spider compare to (Spring | Guice | Pico ), et al?
A: Spider is a fast, small, robust, field-based dependency injection framework requiring a minimum of configuration. “Spring vs Guice” type comparisons are full of assumptions and half-truths. The best thing to do is to download the boost.jar and take 10 mins to go through the Spider 101 in order to make an informed decision for yourself (much better than trying to discern the truth from Blog comments). BTW, we are here to help if you choose the Spider!
Q: Why not just use another IoC framework instead of Spider?
A: ibid.
Q: I am looking in the Spider for something like spring.xml. What is the analogous Spider file?
A: Spider makes use of lightning fast auto-wiring patterns for dependency injection. Spider configuration is therefore minimal and is specified in a small Java class called a Web. Check out the Spider 101 for information.
Q: I am expecting my class’ dependencies to be injected, but I keep getting NullPointerExceptions when they are used.
A: This will happen if your Scoper and the Mapper have not been setup properly inside your Web. Easily fixed. Again, see the Spider 101 for information.
Q: Can the Spider work within an application using another IoC framework like Spring?
A: Yes. You can specify only the classes you want Spider to inject using a Scoper.
Q: Does Boost Spider handle cyclic dependencies?
A: Yes.
Q: How come Boost is so awesome?
A: It is the result of lots of good work done by talented people.