Confusing..either way , if java.util is a library, i guess you use it. In case of a framework, if you code something according to framework specifications and configure the same within the framework, it calls your code at appropriate times. and a framework is distributed in the form a library
If by library , you meant utility classes (java.util.ArrayList for eg), you call them in your code.
If its a framework, for eg struts, then typically your action classes are called by the framework (struts request processor for eg). So the the call is inverted in this case. The difference lies in you calling something (ArrayList) and someone else (struts framework) calling your code (Struts Action).
I hope its clear now [ December 05, 2005: Message edited by: Karthik Guru ]