I'm new to Spring and searched everywhere.

My department refuses to use JSF, Spring MVC, etc.
Just regular JSP pages.

So, I have a JSP and backing bean (POJO) that will have an instance per
session.

How can I make it access my Manager classes? I already have working JUnit
tests that call the Manager classes and create, read, update, and delete
succesfully.

I tried this and the pointer is always null.

private CaseItemManager caseItemManager = null;

public void setCaseItemManager( CaseItemManager caseItemManager) {
    this.caseItemManager = caseItemManager;
}

I also tried implementing the ApplicationContactAware interface
but that the setApplicationContect() function never gets called.

How to make this object Spring aware?

Sincerely,
Wayne

-- 
View this message in context: 
http://www.nabble.com/Dependency-Injecting-into-a-POJO-bean-fails--tf4614413s2369.html#a13177765
Sent from the AppFuse - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to