On 3/18/2011 4:09 PM, Alex Chaphiv wrote: > Hi, > > I have several annotators that require objects that are rather complex to > build. > I've been able to get around this using by using ExternalResources with > custom > api interfaces, but it requires a lot of boilerplate and doesn't allow for > sharing of dependencies between ExternalResources.
Could you share what an "ideal" solution might look like, along with a small, made-up sample of code that would use this ideal solution (with enough comments for wide understanding :-) )? Something that showed how the boilerplate is shrunk, and how dependencies are specified? -Marshall Schor > So what would be the best way to get around this? Even better, is there any > support for Spring or Guice? > > >
