Home » Archives for Ram Mokkapaty » Page 2

Author Archives: Ram Mokkapaty

Avatar photo
Ram holds a master's degree in Machine Design from IT B.H.U. His expertise lies in test driven development and re-factoring. He is passionate about open source technologies and actively blogs on various java and open-source technologies like spring. He works as a principal Engineer in the logistics domain.

JMS Queue Example

JMS Message queue is a destination to which producers send messages. Consumer connects to the broker to receive the message sitting in the queue. Queue is used in point-to-point messaging. In point-to-point messaging, there may be more than one receiver connected to the queue but each message in the queue may only be consumed by one of the queue’s receivers. ...

Read More »

JMS Message Types Example

JMS Message represents the payload it encapsulates so based on the kind of payload it carries we have many flavors of message types.. JMS defines five types of messages. Each of these derives from the Message interface. Based on the kind of payload one wants to send, one can chose the message type. One thing to note is that Message type ...

Read More »

Spring JMS Example

Java Messaging Service (JMS) is a standard messaging API used to send and receive messages. Spring simplifies the use of JMS API by providing another layer around the JMS layer. This layer provides convenience methods for sending and receiving messages, as well as manages the creation and release of resources like the connection object. The JmsTemplate class is the main ...

Read More »

Java Quartz Configuration Example

The architecture of Quartz is modular and one can configure it the way they want. Configuration of Quartz is done through the use of a properties file. See Quartz Scheduler Properties Example for more details. Before we start with the example, I will brief you about the quartz and the setup involved. 1. What is Quartz? Quartz is a Java ...

Read More »

Quartz Scheduler Properties Example

In this is article, we will see how to configure Quartz Scheduler using properties file. The properties file will be used by the scheduler factory to instantiate a scheduler. The properties file can be used to inject the actual concrete classes of  the specified classes for example the JobStore, ThreadPool, and other SPI classes etc. Before we start with the example, I will brief ...

Read More »

Spring Quartz Scheduler Example

If your application has tasks that need advance scheduling, for example, a recurring maintenance jobs running every Wednesday at 12:00:00 pm. then Quartz may be your ideal solution. In our Quartz Scheduler Tutorial, we have seen how to setup, create a scheduler factory, scheduler, job, job details, jobDataMap, triggers, and listeners. In this article, we will make use of spring ...

Read More »

Quartz Scheduler Cron Expression Example

Quartz scheduler offers two kind of triggers, simple trigger and cron trigger. If the schedule is based on specified intervals then a simple trigger will do but if your job needs to be fired based on calendar-like notions then you need to use cron triggers. For example, every Wednesday at 12:00:00 pm. From the name you can guess, cron expressions ...

Read More »

Quartz Scheduler Tutorial

In this article, we will look into an example of Quartz Scheduler. We will go through the setup, scheduler factory, scheduler, job, job details, jobDataMap, triggers, and listeners. If your application has tasks that need to occur at given moments in time, or if your system has recurring maintenance jobs then Quartz may be your ideal solution. Before we start ...

Read More »

JBoss BRMS Drools Example

In this article, we will see an example of JBoss BRMS. BRMS is a JBoss Rules based server-side solution for the management, storage, editing and deployment of rules. JBoss BRMS 6 is backed by a GIT based repository, which is very much in line with how the mainstream enterprises are storing and working to deploy their projects. If you want to ...

Read More »

JBoss Drools Guvnor Example

In this article, we will see an example of Drools Guvnor. We use Guvnor as ‘Business Rules Manager’. Guvnor is the name of the web and network related components for managing rules with drools. If you want to more know about Drools Introduction or its setup, read here. This example uses the following frameworks: Maven 3.2.3 Guvnor 5.1.1     1. What ...

Read More »