Sorry to ask this yet again, but every time I think I understand this it turns out I don't. After reviewing these threads, I understand that when deploying sa's containing su's consisting of servicemix 'pojo' components to the lwcontainer, I must be careful to include all the dependencies of my component within the su and referenced using the classpath/location elements in my servicemix.xml file. I think this is required to avoid loading all of the dependencies/libs of servicemix as the classloader attempts to locate my referenced classes, causing an overuse of memory - is this right?

My other question is regarding the servicemix-specific classes/ interfaces/dependencies that are referenced and/or implemented in the pojo component itself, specifically :
    javax.jbi.*
    javax.management.*
    org.apache.servicemix.

should these be in the local classpath/location, or is it Ok to leave them in the main servicemix deployment?

Any further clarification is most welcome, and again, I appologize for bein so obtuse on this subject.

BJ


Reply via email to