It takes not too much to implement both methods in a pojo.
You simply need to create setters for dependency and add a big constructor with all of the dependecy. The big contructor will call the setters for each parameter.
As I have used it, SDI requires a no-arg constructor, which in a CDI container suggests all dependencies are optional. There might be a way around this that I don't know.
-- Serge Knystautas Lokitech >> software . strategy . design >> http://www.lokitech.com p. 301.656.5501 e. [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]