Question : Jboss seam web app - EAR file vs EAR dir(folder) under .../deploy

Hi,

I created jboss seam project(seam gen) and saw xxx.ear dir under .../deploy dir at the begining. However, I don't see xxx.ear dir anymore and there is xxx.ear file(not folder) instead. (I think this also causing hot deployment failure.) So, no matter what I do, I don't see ear folder anymore.
I didn't really change any config file or setting.
Why does my project stop creating xxx.ear folder under /deploy dir?
What are the differences between xxx.ear file and xxx.ear folder?

thx,

Answer : Jboss seam web app - EAR file vs EAR dir(folder) under .../deploy

In my development cycles, i think when I wanted to make sure everything was 'fresh' I would delete the data, tmp, work and log directories as well as the deployment file (.war, .ear, etc.) which the app server turned off.

You really should undeploy/redeploy every time you change something in a deployment when you are developing. It sucks and it can be slow, but it just be part of the process. It won't be that way in production.
Random Solutions  
 
programming4us programming4us