This week's book giveaway is in the General Computing forum. We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line! See this thread for details.
In general, Yes. Just as you would place class files in a jar; by using the jar tool. jar command doesnt differentiate between class files or any other files, all files in the target directory are included in the generated jar.
cheers Sonny
The future is here. It's just not evenly distributed yet. - William Gibson
Consultant @ Xebia. Sonny GillTweets
A classloader loads the jars so, the files in a jar are accessed from the classloader. Use the method classloader.getResourceAsStream(String), or URL classloader.getResource(String).
To make sure you are using the same classloader as the one that loaded the jar, you should get the classloader from a object who's class is in the jar.