Forums |
 |
Re: Desktop
I think Java apps need to pay more attention to packaging, and JavaOne could help a lot to spread best practices and unite people to define standards in this area. You should invide people from JPackage and Debian to help on this. It's not ok to have dozen copies of the same libraries (like Log4J) around my system, because each and every app has it's own lib folder with third-party jars they deppend on. Besides eating up disk space, this prevents us from getting class code sharing and so from running many Java apps concurrently. It's also not ok to have each app install its own JRE and sometimes one prevents the other from working properly. I'm tired to fix Windows registry, environment and manualy erase Java exes and dlls from windows\system folders. We need something alongside the Linux packaging system, maybe integrated as a new JWS. —
Re: Chapter 1: Owls and Ostriches
It is interesting to see someone who has written Java books lose interest in the language. But is there something genuinely 'wrong' with the language, or do they just need a change, some fresh air? I think that Java is still evolving, some good (annotations), some bad (generics), some in between (autoboxing seems like a good idea but I have recently seen some posts about nasty problems it can introduce with things like == ). Which is interesting. Up till about 1.3 I pretty much whole heartedly agreed with everything that went in (particularly 1.2 was a good step forward). Subsequently I do find myself a lot more in the 'conservative' or 'grumpy old men' camp. —
Also in Java Today |
 |
Test-Driven Development Using StrutsTestCase
Is a Struts-based web application completely testable? You can apply DbUnit to the database and JUnit to your business logic, but the Struts actions themselves have proven a gap in testability. In Test-Driven Development Using StrutsTestCase, John Ferguson Smart writes: "testing Struts actions has always been difficult. Even when business logic is well confined to the business layer, Struts actions generally contain important data validation, conversion, and flow control code. Not testing the Struts actions leaves a nasty gap in code coverage. StrutsTestCase lets you fill this gap."
Speed Up Your Hibernate Applications with Second-Level Caching
"High-volume database traffic is a frequent cause of performance problems in Web applications. Hibernate is a high-performance, object/relational persistence and query service, but it won't solve all your performance issues without a little help. In many cases, second-level caching can be just what Hibernate needs to realize its full performance-handling potential." John Ferguson Smart's Speed Up Your Hibernate Applications with Second-Level Caching examines Hibernate's caching functionalities and shows how you can use them to significantly boost application performance.
Java News Headlines |
 |
