Thank you for replying Peter ...
I am ok with copying the library jars to jboss_home/server/default/lib, or to a folder like APP-INF/lib within my deployable .ear file. I believe eclipse should be capable of dealing with the second option, but how. As mentioned the ear project's 'J2ee module dependencies' has an option by which it asks if the jars are to be copied to a lib directory, but even when i select it these jars are taken to the .ear directly and not to any lib folder.
And for the first option of copying the jar to the jboss_home/server/default/lib, which file handles the build that eclipse performs on the projects. I mean when i give publish on my server, I see that eclipse is building all my projects. Which file(or at least which package) is responsible for this operation.
Thanks