When teaching unit testing in the context of a simple EJB3.1 application, I
was looking for an easy way of testing managed beans and session beans inside
Glassfish. Of course, one can test out-of-container or use an embedded
container (but I didn't quite figure out how to do that with Glassfish
v3—I'd appreciate hints), or a mock container (but that seemed to
require a bit of setup).
A Thinkpad sale seduced me into
upgrading my laptop. My feeble rationale was that I could stop dual-booting,
use Linux on the new laptop and Vista on the old one. So, I got a shiny new
Thinkpad T500 for under $1,000, blew away Vista Homeless Edition, and installed
Ubuntu Jaunty Alpha 4. I expected the usual fussing with wireless networks,
display adapters, and futile fights to activate exotic...
Java EE 6 makes it pretty straightforward to crunch out a basic web +
database application. This semester, my software engineering class is building
web apps, and I decided it is simpler to have them use JSF + JPA in Glassfish
v3 rather than some technology that seems easy at first and then lets them
Here is a laundry list of recent simplifications.
Author JSF pages as facelets: XHTML +...