The common code is specific to your applications or may be common for some other applications, you can use like com.rakesh.util.[code specific name like db for database related code, io for io related classes]/com.rakesh.common.[code specific name] and place these classes in a separate directory and have a separate build script for these file. Make jar file only for these classes and place it in the lib directory of your application or you can try by placing them in app.server lib directory so that one jar file will be shared by all the applications deployed in that app.server.
- Rakesh
|