JavaIf you like to learn more about the removal of PermGen and the introduction of Metaspace in Java 8, you should have a look at Where Has the Java PermGen Gone? by Monica Beckwith. She wrote a great post about problems with the old PermGen and how they were solved with the new Metaspace.
Java EEServer-Sent Events (SSE) were introduced with HTML 5 and enable the server to push data via HTTP to the client. Shing Wai Chan shows in his post Server-Sent Events with Async Servlet By Example how you can implement SSE by only using the Servlet API.
Antonio Goncalves wrote an interesting article about integration testing. He wants to execute the integration tests of his web application only, if it is successfully deployed on the JBoss application server. Otherwise the tests shall be skipped. He describes in his post Your tests assume that JBoss is up and running how this can be achieved by using JUnit assumptions and the JBoss HTTP management API.
Ed Burns posted a draft proposal for JavaServer Faces 2.3. One of the main categories of new features mentioned in the draft is "Community driven improvements". These will probably be fixes to issues listed in the JSF issues tracker. Arjan Tijms posted with JSF 2.3 wish list part I - Components the first article of his wishlist series for community driven improvements.
The draft proposal for the Servlet 4 JSR was posted, last week. If you want to learn more about it, have a look at this great summary post by David Delabassee: Servlet 4.0
DesignDon't repeat Yourself (DRY) is one of the key principles of a good software design. The post Keeping things DRY: Method overloading shows how to implement a rich and DRY API in Java and discusses the reasons for doing it.
This and thatMhamrah describes in his article On the Balance of Speed and Quality how to handle a common problem of our day to day work. We need to provide a high quality solution as quick as possible. And as we all know, time pressure and quality are no good friends. Mhamrah explains how to use two questions to bring speed and quality into the right balance.
Upcoming eventsSamir Talwan will present his talk Highly Strung: Understanding your Type System at the virtual JUG at 4pm UTC on Monday, 28th July. Join the live stream if you want to learn how to improve your code by using the type system.
Done!That were the most interesting Java related resources I found this week. I hope you find them useful.
If you think I missed something, please post a comment with the link. I will check it and include it in the next issue of Java Weekly.