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.
I have never put my hands on in creating jar and war files. so i have following confusions:
1) first of all if we are using tomcat using eclipse then we can run those project in other browsers apart from the eclipse inbuilt browser.
those browsers can display our project but can we run those projects that were not created using eclipse??
eg. i have few old projects that are placed in web-app folder of tomcat so problem is that previously i was use to run them by setting environment var like catalina_path etc but with eclipse we dont need to do this but still
we are able to run the projects in external browsers but i am only able to run those projects that i have created using eclipse and could not run those which i have kept in web-app folder of tomcat.
so , to run those do i need to set the environment variables??
2)with eclipse i can export and import war files. when imported it is again converted to the same project hierarchy or unzipped but can i run those war files without unzipping them. or you can say can i made them read only
and then run using eclipse or using external browsers.
1) Eclipse uses its own internal webapps directory and deploys wars it builds there. A grep (within workspace/.metadata) should find that directory for you, you could place your wars there. I think there might also be an option to deploy the the Tomcat webapps directory. Of course, there is always the sysdeo plugin which many ranchers recommend.
2) Not sure that you are asking here, but does my previous answer help?