Real time sentiment analysis example with Apache Storm

java-interview-questions-answers

Real Time Sentiment Analysis refers to processing streams of natural language text (or voice) in order to extract subjective information. The trivial use case is for building a recommendation engine or for finding social media trends. I have selected Apache Storm as real time processing engine. Storm is very robust (we are using it on production) and very easy to ...

Read More »

Microservices and Java EE

java-interview-questions-answers

Microservices based architectures are everywhere these days. We learn so much about how today’s innovators, like Netflix and Amazon use these to be even more successful in generating more business. But what about all of us, who are using Java EE application servers and write classical systems? Are we all doing it wrong? And how could we make our technical designs ...

Read More »

Dockerizing Web Application with Puppet

In post Installing Puppet Modules – Librarian Puppet we provisioned a Vagrant VM to install the puppet module from  Puppet Forge using librarian-puppet, now in this post we will do the same thing except we provision Docker container instead of Vagrant VM and deploy a hello-spring application in provisioned container. Before starting with application deployment in Docker container let’s understand brief about Docker and ...

Read More »

Running Web Application in Linked Docker Containers Environment

In post Dockerizing Web Application with Puppet we hosted web application in a single container, this time we will host a web application in a linked docker container environment – one in which our database (mysql) resides leveraged by our web application hosted in another docker container. Before start, let’s have a brief about Linking Docker containers and how it helps us. Linking ...

Read More »

Configuring Logstash with Filebeat

In post Configuring ELK stack to analyse Apache Tomcat logs  we configured Logstash to pull data from directory whereas in this post we will configure Filebeat to push data to Logstash. Before configuring, let’s have a brief about why we need Filebeat. Why Filebeat? Filebeat helps in decentralization the server where logs are generated from where logs are processed, thus sharing the load from a single ...

Read More »

Using the JDBC Insert Features in Oracle

java-interview-questions-answers

Introduction In this article I will show an example of how to use the JDBC bulk insert features supported by Oracle — and which are specific to Oracle. For more details on why one might like to resort to using bulk inserts in general, e.g., performance considerations when certain circumstances warrant, see the JCG article, “JDBC Batch Insert Example ” ...

Read More »

Safe Database Migration Pattern Without Downtime

I’ve been doing a continuous delivery talk for a while now and during my talk I describe a pattern of how to safely migrating one database to another database without downtime. Since many people contacted me and asked for more details about it, I will describe it here in more details as promised. You can use this pattern to migrate ...

Read More »

Is Your Employer a “Best Place To Work” For Developers?

Glassdoor recently released their Best Places to Work 2016/Employees Choice Awards, and as you would expect the top of the list features several well-known companies from the tech sector (Airbnb, Facebook, LinkedIn, Google) and other firms that aren’t exactly household names. The rankings are based on anonymous reviews and ratings from employees, with the results crunched by a proprietary algorithm. The ...

Read More »

Factory Pattern

The factory pattern is a creational design pattern whose intent is to provide an interface for creating families of related or dependent objects without specifying their concrete classes. The creational logic is encapsulated within the factory which either provides a method for its creation or delegates the creation of the object to a subclass. The client is not aware of ...

Read More »