Reputation: 197
I am doing some web apps development with apache Tomcat in Linux platform, I usually compile my web pages by running them, tracking error through TomCat's logs. Each time I am making a modification I am reloading the project throuh TomCat manager. for the beans I am compiling them and making a new war file. I wonder how are other developers compiling their jsp files? I need some feedbacks..
Thanks,
Upvotes: 2
Views: 900
Reputation: 26713
As I understand, your biggest pain is having to reload the project every time.
In our project, we deal with this problem in the following way:
tomcat/webapps/yourapp/WEB-INF/...
. Tomcat will detect the files have changed and JSPs will be dynamically compiled. The obvious benefit is that there's no need to redeploy the app.If you need more information on static compilation, check out Jasper documentation.
Upvotes: 1
Reputation: 3188
If you want a solid build process (and if you think that your apps will grow, and will be developed by a team), then maven is my recommended tool. You can use it in conjunction with NetBeans.
If you want something quick and easy - and don't want to invest the time in learning maven - then I would go with Netbeans. There is integration both with Tomcat and Glassfish.
Upvotes: 0