checking the version revisions of a java file inside the ear using KSHELL in AIX.

consider on day1, in PVCS repository we have java files like a.java,b.java with version revision 1.0, through ANT build script we have compiled and created an ear,named c.ear in AIX build server.we have transfered this ear from build server to portal server through FTP using KSHELL.
consider on day2, in PVCS repository we have java files like a.java,b.java with a new version revision 1.1,As usual we have created an ear named c.ear,
1.is there any way to check the version revision of java file inside ear?

2.if we transfer c.ear from build server to portal server on day 2,can we able to check the version revisions of the java files inside the c.ear(day 2) by comparing with the c.ear(day 1) that already exists in portal server,through KSHELL script.

i am new to SHELL script, so please explain with the help of a script ASAP...