Things I Learned While Doing the Web Service Task
Needed some place to document lessons learned from doing the prolonged task 7 in my program, Web Services. Where best other than my own humble blog?
- How to configure servlet debugging on Tomcat with Eclipse.
- Get an SVN server running for your group. It’ll save you a lot of headaches.
- Do use SVN plugins with your IDE (Integrated Development Environment) instead of using a separate IDE & SVN client. The latter is just to much hairy, overhead, and headaches.
- Subclipse (SVN Plugin for Eclipse) update/installation end-point. You should use this URL in Eclipse’s add plugin dialog in order to install it.
- JavaHL Wiki. If you hit an error running Subclipse and the error is something about missing JavaHL class, you should download the package from this site.
How to use Subclipse (SVN Plugin for Eclipse).
- List of eBay Sandbox’ unsupported features. You’ll save yourself from a lot of banging your head against the wall if you read this at the start of development.
- Strive to commit only working code.
- You may want to use a uniform IDE across all of your team members. It’ll save you a lot of effort trying to make the project’s build structure uniform for different IDEs.
- Save your project frequently. Somehow Eclipse is so unstable. Every so often, my team members have to delete their Eclipse project and do a whole project checkout again from the SVN server. Damn you, Eclipse!
- If you can, try to configure Eclipse to use your real, physical Tomcat instance & installation folders instead of having it set up its own Tomcat environment. I’ll show you how in another blog post, hopefully.
- If in doubt, clean, build, and publish your project. That’s the best way to keep your sanity. Again, Eclipse & Tomcat combination is soo unstable.