Get your EJB's testable
Connecting disparate API's can be tricky, strange, but ultimately
quite appealing. I once had to expose Jini services in a servlet. This
was a little odd because Jini sees the network as very dynamic, with
services appearing, disappearing, changing states, etc., all the time.
Basic servlets, on the other hand, give the client a "snapshot" of data
at some point in time...
Enjoy the occasional ego-stoke
My wife once told me that it really blew her mind that my ability to
program allowed me to create whole new applications. The funny thing
about this is that I sort of discount my skill on the basis that the
world of computers is totally contrived and fake - one layer of
abstraction atop another atop another, with practically its only
connection to the physical...
Dotting i's, crossing t's, hoping to keep the lawyers away
License discussions often come down to splitting hairs, as creators try to balance conflicting desires for protection and shareability. I was quick to slap GPL notices on the code for some early articles I wrote, thinking that was the "most free" option. Instead, it prohibited anyone from using my code in a proprietary product......
Can you train for unsustainable pace?
I hope our international readers will permit me an American football
analogy as I fill in for Daniel. Don't worry, it will come around to
Java after a paragraph or two.
The date is January 2, 1982. The San Diego Chargers are in a playoff
game against the Miami Dolphins, in a game that will go down as one of the greatest
ever, tagged with the nickname "The...
Is "would be nice" a compelling reason for a new language feature?
The Java Mustang
forum continues to be a great source of new ideas and debate over enhancements
to the next version of Java. One recent topic that's attracting a lot of
attention is called Between
operator. The idea advocated by original poster yishai is that Java should
have a tertiary operator that returns true if an...
One aspect beats a hundred pastes
The first time I edited a piece on aspect-oriented progamming (AOP, also
known as AOD for "aspect-oriented development"), I couldn't see past the logging
examples and think of uses for AOP other than inserting new code into
already-deployed instances. And while that's great, there's more to the
concept, as Monika Krug writes in her first blog entry AOD and...