How to zip my java code

Hi all,I am in java JSP development environment. How to distribute my code for reuse my team member, they should not see my code, but they can access my code. Some way of jar or zip file sysem in jsp progreamserver tomcat serverregards,TGS
[281 byte] By [TGSRINIVASa] at [2007-11-26 13:33:59]
# 1
use packages for thatand then make a jar file
rachna_arora82a at 2007-7-7 22:14:57 > top of Java-index,Java Essentials,New To Java...
# 2
Put the class files in a JAR file, then give it to your team member. S/he should put it inJAVA_HOME/jre/lib/ext/Finally, when his/her code is ready, s/he should take the JAR and put it in the same directory as the main class of his/her code.
Lord_Jirachia at 2007-7-7 22:14:57 > top of Java-index,Java Essentials,New To Java...
# 3
> S/he should put it in JAVA_HOME/jre/lib/ext/Should not! Only classes which are supposed to extend the jre should go there. Third party JARs should be kept at any different location and included in the classpath as and when required.
aniseeda at 2007-7-7 22:14:57 > top of Java-index,Java Essentials,New To Java...