Do you want to know how to develop your skillset to become a Java Rockstar?

Subscribe to our newsletter to start Rocking right now!

To get you started we give you our best selling eBooks for FREE!

1. JPA Mini Book

2. JVM Troubleshooting Guide

3. JUnit Tutorial for Unit Testing

4. Java Annotations Tutorial

5. Java Interview Questions

and many more ....

 

JBoss Drools Tutorial for Beginners

enterprise-java-logo

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 »

Jetty Logging Configuration Example

codehaus-jetty-logo

In this example, we will discuss logging capabilities of Jetty. We will first enable the logging module in Jetty and configure it afterwards. As in the previous Jetty examples, we will start with standalone Jetty; thereafter we will configure logging for Embedded Jetty server too. We are going to use Jetty v9.2.11 in this example, along with Java 8 (7 ...

Read More »

Solr highlighting example

enterprise-java-logo

In this example of Solr highlighting we will show you how to use the Solr highlighting feature. We will use jQuery along with Solr highlighting feature in this example. Our preferred environment for this example is solr-5.0.0, Eclipse Luna, JDK 8u25, and Tomcat 8 application server. Having said that, we have tested the code against JDK 1.7 and Tomcat 7 ...

Read More »

Spring rest template example

spring-logo

Continuing on our Spring Tutorials, we will try to demonstrate the use of RestTemplate class available in Spring Framework. The RestTemplate class is the central class in Spring Framework for the synchronous calls by the client to access a REST web-service. This class provides the functionality for consuming the REST Services in a easy and graceful manner. When using the ...

Read More »

Jetty SSL Configuration Example

codehaus-jetty-logo

In this example, we are going to configure SSL on Jetty Server. We are first generate SSL key and certificates using OpenSSL. Then we will configure our Jetty to use the generated certificate. Thereafter we will deploy a sample web application using SSL. Finally, we will configure an Embedded Jetty Server programmatically in order to facilitate access to secured resources connection over SSL ...

Read More »

GWT ListBox example

google-gwt-logo

In this example we will learn about GWT ListBox. ListBox is a widget that presents a list of choices to the user, either as a list box or as a drop-down list. Tools and technologies used in this example are Java 1.8, Eclipse Luna 4.4.2, Eclipse GWT Plugin 2.6 1. GWT GWT is a development toolkit for building and optimizing complex browser-based applications. ...

Read More »

Spring Batch Job Example

spring-logo

In this article we present an example of setting up a Spring Batch Job that reads data from a CSV file and writes them to an XML file. We will use Spring’s JobLauncherTestUtils to fire the job. The full example code is available for download at the end of the article. But before we delve into the example code, we ...

Read More »

Apache Camel XPath Example

java-logo

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 »

JSP Custom Tags Example

enterprise-java-logo

JSP standard actions, such as the <jsp:useBean> and <jsp:getProperty> actions and JSTL ( JSP Standard Tag Library ) libraries are HTML-like elements for commonly needed operations in a JSP page like executing some functions, accessing data, formatting text and invoking other JSP pages. However, for a complex application, these generic actions may not be enough. Perhaps you want to develop ...

Read More »

JScrollPane Swing example

java-logo

1. Introduction In this post, I’ll be giving an example of using JScrollPane Swing component. This component is usually used to create a scroller on panels that has more content that it can display. It will let the user scroll up, down, left or right, depending on what and where is the content of the panel is being viewed. 2. ...

Read More »
Do you want to know how to develop your skillset and become a ...

Subscribe to our newsletter to start Rocking right now!

To get you started we give you our best selling eBooks for FREE!
Get ready to Rock!
To download the books, please verify your email address by following the instructions found on the email we just sent you.

THANK YOU!

Close