Home » Enterprise Java

Enterprise Java

Jax-Ws Attachment Example

In this example, we will show you how to exchange files with a SOAP web service using attachments. 1. Introduction You may need to send or receive binary data, such as an image file or a PDF file, in a SOAP message. If the binary data is large, it would be inefficient to send it as part of a typical ...

Read More »

Apache ActiveMQ Advisory Example

In this example, we will be discussing about Apache ActiveMQ Advisory. But before we start with our example, it is expected that we have a basic understanding of JMS concepts, ActiveMQ and Java/J2EE. JMS stands for Java Messaging API and ActiveMQ is a java based implementation of JMS. ActiveMQ acts as a message broker. It is open source and helps in asynchronous message transfer ...

Read More »

JSF Crud Application Example

Hello, in the previous example we learned how to create a JSF Bootstrap application. In this tutorial we will implement the CRUD operations and will use bootstrap – a responsive CSS framework to demonstrate the following: Student Form Database Operations Sending and retrieving data to and from a managed bean This example will show how to develop a simple CRUD ...

Read More »

Apache Solr Hello World Example

1. Introduction Apache Solr is a powerful tool for real-time enterprise search. It is a REST-API based open source tool. It’s main functionalities are indexing and searching. It’s core search functionality is built using Apache Lucene Framework and has some excellent optimization features. It is written in Java Language. Features of Apache Solr Open source tool Advanced full text search ...

Read More »

Jboss Drools Facthandle Example

Hello Readers, in this article we will take a look on what is the FactHandle and how this works inside a drools engine implementing a example of this to ilustrate this feautre. Before starting, check the requirements related to technologies and frameworks used to this example below: Maven 3.3.9 Jboss Studio 10.3 Drools Engine 7.0  JDK 1.8.0_71 1. Introduction Before ...

Read More »

JSF Bootstrap Example

Hello, in the previous example we learned how to create a sample JSF-HelloWorld application. In this tutorial we will use bootstrap – a responsive CSS framework to convert a boring JSF page into an attractive looking form and a table displaying the form output. We will use the simple structure and will demonstrate the following: Student form Sending and retrieving ...

Read More »

Spring Integration Aggregator Example

1. Introduction In the last article Spring Boot Integration With Active MQ we discussed on how straightforward and efficient it was to use Spring Integration framework to build messaging applications with JMS. In this article we will be discussing about a useful Spring Integration component called Aggregator. Enterprise applications with large datasets may need to process lot of information and sending ...

Read More »

Apache Camel AMQP Example

1. Introduction In this article, we will see an example of AMQP implementation of Apache ActiveMQ using Apache Camel. 2. What is AMQP? AMQP is an open standard application layer protocol for message-oriented middleware. The most important feature is that AMQP is a wire-level protocol and is interoperable by design. Also, the AMQP standard is by design more flexible and powerful (e.g., ...

Read More »

JAX-WS Client Basic Authentication Example

1. Introduction In this example, we will demonstrate how to add basic authentication to a JAX-WS web service and client. But before we begin, let’s get some background. Table Of Contents 1. Introduction 1.1 SOA 1.2 Web Services 1.3 JAX-WS 1.4 Apache CXF 1.5 WS-Security 1.6 UsernameToken Profile 1.7 Tools Used in this Example 2. JAX-WS Basic Authentication Example 2.1 ...

Read More »

Jboss Drools AgendaEventListener Example

Hello Readers, in this article we will take a look on how to use and implement an AgendaEventListener on a drools rule program. Before we start, check the requirements related to technologies and frameworks used to this example below: Maven 3.3.9 Jboss Studio 10.3 Drools Engine 7.0  JDK 1.8.0_71 1. Introduction Before continuing with the AgendaEventListener Example implementation, we need to ...

Read More »

Want to take your Java skills to the next level?

Grab our programming books for FREE!

Here are some of the eBooks you will get:

  • Spring Interview QnA
  • Multithreading & Concurrency QnA
  • JPA Minibook
  • JVM Troubleshooting Guide
  • Advanced Java
  • Java Interview QnA
  • Java Design Patterns