When developing any system or software, it is important to test as much of that system as possible. Web frameworks are no exception; comprehensive, well-designed unit tests are critical for long-term success and maintenance.
With the introduction of Contexts and Dependency Injection into the Java Enterprise framework (otherwise known as CDI – Weld
, or Apache OpenWebBeans
,) unit testing is as important as ever, but it would be nice to harness the power of dependency injection for use in unit tests, as well as in the production system!
It’s quite simple really. All you need to do is install Apache HTTPd, then set make sure you have a few modules installed and set up:
Instructions below are for Ubuntu, Fedora, RHEL, or other Linux distributions.
So what are you waiting for? Let’s get our JBoss / Apache love on.
Do you have an existing Maven-based Java EE application that you’d like to clean up a bit in the browser? Do your URLs look too much like this:
And not enough like this?
Are you building a new application, and don’t want to sacrifice anything when it comes to usability or SEO capabilities? Well, URL-rewriting is your answer, and it’s easy to get started, even easier using JBoss Forge.