From one of the mock exams, Question : The Application Assembler adds JSP pages and other components to ejb-jar files. a) true b) False The answer they have given is 'true'. I am not convinced. Can anyone through some light? Thanks, Prasad
The question's answer is not wrong, but the question is just worded very badly. The ap assembler does "add" JSP pages and other components (in the form of a .war file) to ejb-jar files. A better word than add would have been combine because the JSPs and such do not go into the ejb-jar file. Just as ejb-jars have their own deployment descriptor, so too do war files. What really happens are that .wars and ejb-jars are kept in tact and placed inside a .ear (enterprise archive) file for deployment.