Yes, the java tag is for defining an application client module and not library jar. You should create a lib directory at your ear's root level, and place the framework.jar there. That's where the ear library jars should be placed.
[Message sent by forum member 'hzhang_jn']
http://forums.java.net/jive/thread.jspa?messageID=474341