Java™

Home/Java™

JMS pub-sub messaging model

In this article, you will learn the JMS pub-sub (publish-subscribe) messaging model. As you read in the JMS introduction article, in a Pub/Sub model, the client sends a message to multiple receivers via an intermediator called Topic. The sender is often referred as Publisher and the receiver as Subscribers. JMS pub/sub messaging example Below is a simple code example that [...]

By |2019-12-27T06:43:18+00:00December 25th, 2019|Categories: Java™, JMS|Tags: , , |

Install and Setup Glassfish for JMS

In this article, we will setup Glassfish for JMS 2.0, create a Java project and add the necessary dependencies. Prerequisites Please make sure you have the following tools installed on your system. JDK 8 installed. Not tested with any higher version of Java.Eclipse, STS or IntelliJ IDEA. Steps for Glassfish installation and setup Step-1, Download the Glassfish and Unzip You [...]

By |2020-01-01T13:10:49+00:00December 23rd, 2019|Categories: Java™, JMS|Tags: , |

JMS Point-to-point messaging in Action

Point-to-Point systems are about working with Queues for messaging. A client sends a message to a specific Queue and a specific subscriber listens or receives the message from it. In JMS Point-to-Point messaging System, a Queue is used to deal with a Single Sender and a Single Consumer. Make sure you have already gone through the previous tutorials on JMS [...]

By |2019-12-20T04:24:58+00:00December 20th, 2019|Categories: Java™, JMS|Tags: |

JMS Message Model

Messages are the heart of JMS, whether it is an event or a business data. Messages consist of a header, custom properties, and a body. This is what you will learn as part of the JMS message model (JMS message anatomy). A JMS message is composed of Header, Properties, and Body (Payload). We will discuss about all of them in [...]

By |2019-12-23T05:58:09+00:00November 10th, 2019|Categories: Java™, JMS|

JMS Prioritize Messages

We will discuss JMS Prioritize messages in detail with examples. The JMSPriority header field of each message represents its priority. I have talked about prioritizing messages in Message Model Tutorial. JMS has 10 priority levels, 0 to 9. 0 is the lowest priority and 9 is the highest priority. As per the JMS standard, a message with priority 0-4 is [...]

By |2019-12-31T07:48:53+00:00November 8th, 2019|Categories: Java™, JMS|

Design patterns in java

Introduction Software Design patterns in java are a custom set of best practices that are reusable in solving common programming issues. They solve the most common design-related problems in software development. The basic idea for creating the Design patterns is creating the relationship between classes and objects in a different way resulting in fast development along with a more flexible, [...]

By |2020-05-09T15:40:52+00:00November 8th, 2019|Categories: Java™|Tags: , |

JMS introduction – Java Message Service

JMS stands for Java Message Service which is a standard for accessing messaging middleware servers in Java. This is a JMS introduction tutorial to give you a brief overview of messaging and JMS. You will learn the advantages of using JMS, different messaging models in JMS. What is messaging? Messaging is a process of exchanging Business data across various applications [...]

By |2019-12-23T05:23:57+00:00November 3rd, 2019|Categories: Java™, JMS|Tags: |

Essential maven plugins – plugins for every developer

I already mentioned earlier, maven is just a framework of plugins. This article talks about the essential maven plugins, handy for every developer. There are Maven plugins for almost every task. Make sure you have read my previous article on Maven plugins in-depth. In Effective Pom, I showed you that by default there are several maven plugins that get inherited [...]

By |2019-10-21T15:53:54+00:00October 21st, 2019|Categories: Java™, Maven|Tags: , , , |

Top Spring Boot Advanced Interview Questions

Today, all the Organisations are moving to Spring boot which is obvious and a smarter way to increase the productivity and features provided. And if you are preparing for your next JAVA Interview then don't be surprised hearing Spring boot questions. Spring boot questions are the most asked questions in the advanced java interview and you should be ready to [...]

By |2019-10-09T14:56:40+00:00October 9th, 2019|Categories: Java™|Tags: , , |