Home » Archives for Ram Mokkapaty » Page 3

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.

Drools Expert System Example

In this article, we will see an example of Drools Expert system. First, let’s try to understand what is an expert system? An expert system’s goal is to help make a decision or solve a problem. Now to make a proper decision, it relies on are knowledge system and the working memory where we have the data that is to ...

Read More »

Drools Rule Engine Tutorial

Drools is a Rule Engine that uses the rule-based approach to decouple logic from the system. The logic is external to the system in form of rules which when applied to data results into the decision making. A rules engine is a tool for executing business rules. In this article, we will write some business rules for a shopping domain ...

Read More »

Drools Workflow Example

Workflow says exactly what will happen at each stage in the process. As soon as the workflow reaches a step, we will fire the actions associated with it. Ruleflow does something similar but we don’t have any control on the actual rules that may fire as they are selected by the rule engine. A business process or workflow describes the ...

Read More »

Drools Salience Example

In this article we will look into an example of Drools Salience Example. So what is salience and why do we need it? Salience means to be most noticeable and important. We will use salience keyword against a rule to set the priority. Before we start with the example, let’s work on our setup. If you want to more know about Drools ...

Read More »

Drools Decision Table Example

In this article we will look into an example of Drools Decision Tables. So what are Decision Tables? We know rules are defined in a drl file but if you have lots of similar rules with different values you can make use of Drools Decision Tables. Rules that share the same conditions with different parameters can be captured in a ...

Read More »

JBoss Drools Tutorial for Beginners

If you consider any business process, you will see that is composed of one or more rules. Each rule may be responsible for some task based on some condition. As the rules grow it becomes difficult to manage the rules and to maintain them. This is why we need some tool to manage these rule and Drools fits the bill. ...

Read More »

Apache Camel XPath Example

Bipartite Graph

Processors and endpoints are an integral part of a camel routing. Camel uses Domain Specific Language (DSL) to define its routing. When it comes to defining predicates in the routing, you need a mature expression language. There are many different expression languages to choose from, some of which include Simple, EL, JXPath, Mvel, OGNL, PHP, BeanShell, JavaScript, Groovy, Python, Ruby, ...

Read More »

Apache Camel Spring Example

Spring is the inversion of controller framework. Spring’s power comes in the way one can configure a bean and wire the dependencies. Camel route itself is a mix of various components, spring becomes a natural fit in Camel’s journey. In this article, we will see how spring supports camel using some examples. Before we start with our example, Let’s look into ...

Read More »

Apache Camel ActiveMQ Example

Bipartite Graph

In this article, we will see some example of ActiveMQ component. Apache activeMQ is one of the most popular open source JMS provider. We will use it to send message to a JMS Queue or Topic and consume messages from a JMS Queue or Topic. To use this component you need to include activemq jar, camel-spring.jar and camel-jms.jar. Before we start ...

Read More »

Apache Camel Timer Example

Bipartite Graph

You can use Camel’s timer component to schedule tasks to occur either at a specified time or at regular intervals. Timer comes as Camel’s core component. Its URI scheme is timer: A timer component generates events which in turn triggers the endpoint that follows and generate messages. It uses uses the JRE’s built-in timer mechanism to generate message exchanges at regular ...

Read More »