This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
- com.test.servlets -> contains all the servlet sources (*.java).
- com.test.beans -> contains all the bean sources (*.java).
with 'ant' build tool, i compiled all the files and store the class files in the 'build' folder. Then the build folder will be,
- com.test.servlets -> contains all the class files of servlets (*.class).
- com.test.beans -> contains all the class files of beans (*.class).
What i need to do,
I need to fetch the class files from the build folder and bundle the web contents(servlets, jsp, images) in the web archive (.war)
I need to bundle the beans(core business classes and interfaces) in generic archive (.jar).
[Note: In both archives, the package hierarchy should be the same (in the above) ]