Apr 07, 2011 — 0 comments
ConcurrentHashMap is indeed best choice in case of multithreaded environment if numbers of reader is much greater than number of writer to avoid contention and to increase throughput and performance but deciding between SynchronizedHashMap and ConcurrentHashMap in Java is still requires understanding of use cases and actual environment.
This article is about how to do logging in Java, how to use log4j and some practical logging tips in Java. this is more a collection of experience, best practices and provides a developers view on java logging. Its critical to use correct logging level, correct format and know which information to log.
Making code thread-safe in java is bit of challenge in Java, you need to be expert in multi-threading in order to write correct concurrent code in java. finding and fixing race conditions in java are very costly and result is some very frustrating subtle bug in Java. this article will help you to write thread safe code in java.
This extract will take you through a chapter “Using Themes” from this book. Themes are used to establish visual coherence through all the screens of an application. The LWUIT Designer is the tool that displays, edits and builds the themes that define how your applications will look. In this chapter, you will learn about themes, their usage and how they can be created.
This tutorial explains how NetBeans can help us easily develop web applications that take advantage of the JavaServer Faces framework.
Learn to use Java's built in LinkedList class to easily and quickly create Linked Lists.
Help us out! More and more tutorials are submitted to Good-Tutorials each day. We could use your help with finding good tutorials. Mind lending a hand?