I have 2 questions : 1.When do we go for jar files and when do we go for war files.And whats the difference between web-inf & meta-inf folders 2.Is there any tool which generates the DD files automatically other than weblogic builder.
Jar files are basically library files needed for your project while war files are web archieve files where your actual code is.Your code in the war file may use some libraries from the jar files. We deploy war file and put jar files in the classpath.
1. We use war files when we package a Web Application. We use Jar files for any Java archive, including an EJB archive. Both War files and EJB Jar files have a structure defined by the J2EE specification. War files will use WEB-INF, EJB Jar files will use META-INF.
2. Plenty. Any Java IDE worth its salt should do this - see JBoseIDE, MYEclipse, JBuilder etc.
(look at that - three answers at once) [ October 04, 2005: Message edited by: Paul Sturrock ]