What does Weld do/give you?
Weld is the reference implementation of the abstract JSR-299 API, which is better known as CDI, Contexts and Dependency Injection, an API which is provided through javax.enterprise.context
and javax.enterprise.inject
packages.
How does it relate to Java EE 6?
JSR-299 is part of Java EE 6 (JSR-316).
How would one use it in a Java EE 6 project?
Weld or another JSR-299 implementation is already supplied by the Java EE 6 container (the application server). If yours doesn't ship with Weld, but with another JSR-299 implementation, and you want to use Weld instead, then you need to consult the documentation of the container in question how to replace it.
If one uses it in a Java EE 6 project, what is it supplanting, if anything?
Spring (as it was during the dark J2EE ages).
See also: