JAVA: Schedule Task in Java

Many times we have to write some set of task which can be executed after a certain interval of time. These types of task are called timer task.

So we can achieve it by using threads which will sleep for a certain amount of time and execute again. But wait, Can Java do this for me So that I can focus on logic instead of worrying about how to schedule tasks for me?

Yes, Java can do the scheduling thing for you. So you write your logic and let Java handle the scheduling work.

Continue reading “JAVA: Schedule Task in Java”

Java: Garbage Collection

When someone asks me “Tell me one thing you likes about java?” and my answer is short and simple “Garbage Collection” .

What is Garbage Collection:

 As JVM memory is limited, you need to remove unused objects, so your application have enough memory to perform it task. Garbage collection is the process of removing unused objects from heap memory.  

Continue reading “Java: Garbage Collection”

DevOps

DevOps is a movement that envisions no friction between the development groups and the operations groups.

Why should you care about DevOps?

If you are involved in building software systems and your organization is interested in reducing the time to market for new features, then you should care. DevOps practices will influence the way that you organize teams, build systems, and even the structure of the systems that you build. If you are a software engineering student or researcher then you should care how the adoption of DevOps practices could influence the problems that you choose to work on.

DevOps:

DevOps is a set of practices intended to reduce the time between committing a change to a system and the change being placed into normal production, while ensuring high quality.

Continue reading “DevOps”