Java Web-App Development: What’s your Secret?
OcpSoft is considering a new development environment for our projects, and we need your help. Our current development environment is annoying, painful at times. So the question is: “What development environment would you recommend?”What about your way of doing things makes your life easy? What do you still wish you could fix?
Requirements:The tools must support:
- Running a server and making runtime changes to Java class-files in the workspace – If a class or class in a referenced project is changed, those changes should also propagate to the running server so that changes may be seen in real-time.
- Maven dependencies – Yeah, we use Maven, do you?
- Visual/step debugging – A necessary evil at some points, but not 100% required.
What we’ve got so far:The closest we’ve come to this is with Eclipse, M2Eclipse, Tomcat, and JavaRebel, but M2Eclipse has trouble resolving workspace dependencies, and changes made to some upstream projects inevitably force rebuilding and restarting the server. This is becoming a big problem for us; everything used to work fine before we switched to Maven…
What’s your secret?Please share. We need your help.
About the author:
Lincoln Baxter, III is the Chief Editor of Red Hat Developers, and has worked extensively on JBoss open-source projects; most notably as creator & project lead of JBoss Forge, author of Errai UI, and Project Lead of JBoss Windup. This content represents his personal opinions, not those of his employer.
He is a founder of OCPsoft, the author of PrettyFaces and Rewrite, the leading URL-rewriting extensions for Servlet, Java EE, and Java web frameworks; he is also the author of PrettyTime, social-style date and timestamp formatting for Java. When he is not swimming, running, or playing competitive Magic: The Gathering, Lincoln is focused on promoting open-source software and making technology more accessible for everyone.
Posted in OpenSource