Ilias Tsagklis

About Ilias Tsagklis

Ilias Tsagklis is a senior software engineer working in the telecom domain. He is an applications developer in a wide variety of applications/services. Ilias is co-founder and Executive Editor at Java Code Geeks.

Best Of The Week – 2011 – W49

Hello guys,

Time for the “Best Of The Week” links for the week that just passed. Here are some links that drew Java Code Geeks attention:

* Java 7: Project Coin in code examples: This article provides a short description of the new features included in Java 7 (Project Coin) accompanied with code
examples on how to use them. Also check out Manipulating Files in Java 7 and Java 7 Feature Overview.

* Apache Geronimo 3 is Java EE 6 Full Profile Certified: Apache Geronimo 3.0-beta-1 is now fully Java EE 6 Certified. Geronimo joins the rank of GlassFish 3 as an open source server that  has passed both Java EE 6.0 Full Profile and Web Profile certification tests. Geronimo 3 (with an updated kernel based on OSGi technology.)
is available in 6 distributions and supports a bunch of Java EE 6 technologies.

* Android User Interface Design: Creating a Numeric Keypad with GridLayout: A nice tutorial on how to leverate GridLayout, the new UI layout introduced in Android 4.0 (aka Ice Cream Sandwich). GridLayout is more  flexible than the TableLayout control, e.g. its cells can span rows, unlike with TableLayout. Its flexibility comes from the fact  that it really helps to line up objects along the virtual grid lines created while building a view with GridLayout.

* Unit Testing in Java: A Sleeping Snail: This article shows how to deal with a “sleeping snail”, i.e a test that’s sluggish and takes too long to run because it relies on Thread#sleep and arbitrarily long waits to allow threads to execute before continuing with the workflow under test.  Using a CountDownLatch we are able to make the test thread immediately aware of when the worker threads have completed their work.

* Software Developers Hate Worthless Tasks: A nice article that states a pretty much known idea, that software developers loathe worthless, tedious tasks and that they  lose productivity when faced with tasks they perceive as unimportant work. The countermeasure for that is using some of the  latest developments like convention over configuration, use of less boilerplate code or leveraging scripts for tedious tasks.

* Google Guava – Futures: This tutorial explores the capabilitise of Google Guava regarding Futures and asynchronous processing. Also check out Google Guava Libraries Essentials.

* Yammer Moving from Scala to Java: This article provides some details on Yammer’s choice to move from Scala back to Java since according to them,  the friction and complexity that comes with using Scala instead of Java isn’t offset by enough productivity benefit.  Some issues regarding Scala’s performance are also mentioned, along with examples that showcase perfomance in various scenarios.

* Sleeping Under Your Desk Doesn’t Make You A Success: In this article the author argues that in order to be successful, for example in a startup, you don’t have to sacrifice  your personal life. He also warns about the dangers of burning up. Very interesting read.

* Stress/Load-Testing of Asynchronous HTTP/REST Services with JMeter: This tutorial explains how to perform load testing of asynchronous HTTP/REST based services with JMeter.  The example includes uploading a file and then polling (thus the async nature) in order to retrieve the  resource once it is available.

* The Importance of Database Testing: Nice article stating the importance of DB testing and providing some mistakes in that like not testing at all,  not testing the DB schema, testing without using the production engine, not testing the creation scripts,  not testing foreign keys, default values and constraints, having colliding tests etc.

* Stress/Load-Testing of Asynchronous HTTP/REST Services with JMeter: This tutorial explains how to perform load testing of asynchronous HTTP/REST based services with JMeter.  The example includes uploading a file and then polling (thus the async nature) in order to retrieve the  resource once it is available.

That’s all for this week. Stay tuned for more, here at Java Code Geeks.

Cheers,
Ilias

Related Articles:

Related Whitepaper:

Java Essential Training

Author David Gassner explores Java SE (Standard Edition), the language used to build mobile apps for Android devices, enterprise server applications, and more!

The course demonstrates how to install both Java and the Eclipse IDE and dives into the particulars of programming. The course also explains the fundamentals of Java, from creating simple variables, assigning values, and declaring methods to working with strings, arrays, and subclasses; reading and writing to text files; and implementing object oriented programming concepts. Exercise files are included with the course.

Get it Now!  

Leave a Reply


− three = 5



Java Code Geeks and all content copyright © 2010-2014, Exelixis Media Ltd | Terms of Use
All trademarks and registered trademarks appearing on Java Code Geeks are the property of their respective owners.
Java is a trademark or registered trademark of Oracle Corporation in the United States and other countries.
Java Code Geeks is not connected to Oracle Corporation and is not sponsored by Oracle Corporation.

Sign up for our Newsletter

15,153 insiders are already enjoying weekly updates and complimentary whitepapers! Join them now to gain exclusive access to the latest news in the Java world, as well as insights about Android, Scala, Groovy and other related technologies.

As an extra bonus, by joining you will get our brand new e-books, published by Java Code Geeks and their JCG partners for your reading pleasure! Enter your info and stay on top of things,

  • Fresh trends
  • Cases and examples
  • Research and insights
  • Two complimentary e-books
Get tutored by the Geeks! JCG Academy is a fact... Join Now
Hello. Add your message here.