Forums |
 |
Re: Chapter 8: Continuation Servers
Mid-way through the chapter, Tate summarizes the pros and cons of continuation servers: "You've seen the primary benefit: you can look at a web application as one big piece, instead of coordinating lots of little requests. That's incredibly powerful. Continuation servers have some other capabilities as well. The Back button problem becomes much easier to solve, because if the Back button is not disabled, you can just revert the application state to the last continuation, or any previous continuation. To disable the Back button, you simply tell the browser and delete past continuations. Threading also becomes trivial, because each thread can work on a private continuation, each with an application's own resources. You don't have to worry about serializing access to a shared session." —
Another plea for better error messages
I just wasted two hours trying to debug a simple EJB3 program. [...] I double-checked everything and even ran the example for comparison (which worked correctly). Finally, I realized that I had made a really stupid mistake. I forgot the @Entity declaration in the Choice class. I know that was stupid, but real programmers make stupid mistakes. Wouldn't it be easy to check for this mistake in the ORM layer and give a better error message? —
Also in Java Today |
 |
Ajax technologies aren't particularly new or sexy
In the interview Ajax technologies aren't particularly new or sexy, "Ajax in Action" author David Crane talks about the rise of Ajax, its pros and cons, and its affinity with Java. "At the risk of sounding a bit fluffy, I'd say it's a way of doing new things with old technologies. From the programmer's perspective, everything that we needed to do Ajax has been available for several years, but it's taken most of us this long to get it. [...] To the coder, Ajax is just a new way of using all the DHTML technologies, such as JavaScript, CSS and the DOM. Because you can get by longer without full-page refreshes, those technologies suddenly become more useful. To the architect and the business-person, it's more of a challenge, because it ousts some of the user flow control from the presentation tier, and requires a rethink of how the server-side works too."
Using and Hacking Subclipse: the Subversion Plugin for Eclipse
Subversion has rapidly become a popular version control system, but its newness means it's not always well supported by IDEs and other tools. Fortunately, the Eclipse IDE's extensible architecture makes it very amenable to add-ons like the Subclipse plugin. In the dev2dev article, Using and Hacking Subclipse: the Subversion Plugin for Eclipse, Eugene Kuleshov shows how to install, configure, and use Subclipse with dev2dev's CodeShare repository.
Java News Headlines |
 |
