In Wildfly, multiple applications can be deployed together. With the default configuration, there is no control on the maximum number of connections/threads assigned to any particular application. This blog describes configurations needed to restrict maximum number of threads assigned to any application. That way if one of the applications hang (consuming all the threads assigned … Continue reading Wildfly 8.x : Control maximum number of connections (threads) assigned to an application
According to Oxford Dictionaries, the word "popular" means "liked or admired by many people or by a particular person or group". I know folks who code just for their living without any love for it. So, I am not going to use the term "Popularity", but will use the term "Usability" - "Usability Index For … Continue reading Popularity (Usability) Index for Programming Languages
Recap: Exception Hierarchy In Java In Java, we have three types of Throwables : Error and it’s subclasses Runtime Exception and it’s subclasses And the rest (Non-Runtime Exceptions) Exceptions those lie in the third category are called Checked Exceptions. If a method throws a checked exception, the compiler makes sure that the API user handles … Continue reading Problems with Checked Exception in Java
How to configure and use JMeter for load/traffic testing of Web Applications.
Recently I have published a post on "Static Vs Singleton". While working on the topic, I slipped into another: “Are Singletons really that bad?”. I started reading further. Trust me, it’s a holy war! And here is the result of my investigation. To start with let’s take a look of the definition of the pattern. … Continue reading Do I really need a Singleton?
Is Singleton a pattern with all good? I am afraid. The answer is NO!
The other day, a friend of mine asked me the question “What is the difference between a Java process or thread?” My instant reply was, thread is a light weight process. But of course it was not a complete answer.