Home » Author Archives: Eyal Golan

Author Archives: Eyal Golan

Eyal is a professional software engineer and an architect. He is a developer and leader of highly sophisticated systems in different areas, such as networking, security, commerce and more.

Continuous Deployment circleci, AWS (Elastic Beanstalk), Docker

docker-logo

Introduction We run some of our services in Docker container, under Elastic Beanstalk (EB). We use circleci for our CI cycle. EB, Docker and Circlec integrate really nice for automatic deployment. It’s fairly easy to set up all the services to work together. In this post, I am summarising the steps to do it. About EB Applications and Versions Elastic ...

Read More »

Aggregate Installation Tips

devops-logo

Aggregate Installation Tips One of the reasons I am writing this blog, is to keep “log” for myself on how I resolved issues. In this post I will describe how I installed several basic development tools on a Fedora OS. I want this laptop to be my workstation for out-of-work projects. Almost everything in this post can be found elsewhere ...

Read More »

Working with Legacy Test Code

software-development-2-logo

Legacy Code and Smell by Tests Working with unit tests can help in many ways to improve the code-base. One of the aspects, which I mostly like, is that tests can point us to code smell in the production code. For example, if a test needs large setup or assert many outputs, it can point that the unit under test ...

Read More »

Dropwizard, MongoDB and Gradle Experimenting

gradle-logo

Introduction I created a small project using Dropwizard, MongoDB and Gradle. It actually started as an experimenting Guava cache as buffer for sending counters to MongoDB (or any other DB). I wanted to try Gradle with MongoDB plugin as well. Next, I wanted to create some kind of interface to check this framework and I decided to try out DropWizard. ...

Read More »

Java 8 Stream and Lambda Expressions – Parsing File Example

java-logo

Recently I wanted to extract certain data from an output log. Here’s part of the log file:                   2015-01-06 11:33:03 b.s.d.task [INFO] Emitting: eVentToRequestsBolt __ack_ack [-6722594615019711369 -1335723027906100557] 2015-01-06 11:33:03 c.s.p.d.PackagesProvider [INFO] ===---> Loaded package com.foo.bar 2015-01-06 11:33:04 b.s.d.executor [INFO] Processing received message source: eventToManageBolt:2, stream: __ack_ack, id: {}, [-6722594615019711369 -1335723027906100557] 2015-01-06 11:33:04 ...

Read More »

Working With Legacy Code, What does it Really Mean

software-development-2-logo

At the end of January I am going to talk in Agile Practitioners 2015 TLV. I’ll be talking about Legacy Code and how to approach it. As the convention’s name implies, we’re talking practical stuff. So what is practical in working with legacy code? Is it how to extract a method? Or maybe it’s how to introduce setter for a ...

Read More »

Playing With Java Concurrency

java-logo

Recently I needed to transform some filet that each has a list (array) of objects in JSON format to files that each has separated lines of the same data (objects). It was a one time task and simple one. I did the reading and writing using some feature of Java nio. I used GSON in the simplest way. One thread ...

Read More »

It’s All About Tests – Part 3

software-development-2-logo

In the previous two posts I discussed mostly about the philosophy and attitude of developing with testing. In this post I give some tips and tools examples for testing. Tools JUnit http://junit.org/ There’s also TestNG, which is great tool. But I have much more experience with JUnit so I will describe this framework.   Use the latest version. Know your ...

Read More »

It’s All About Tests – Part 2

java-logo

This is the second post of the series about testing. In the first part I explained about the mindset we need to have while developing with tests. Or, in better words, developing for testable code. In this part I will cover some techniques for testing approach. The techniques I will describe can be seen as how to transform the mindset ...

Read More »

It’s All About Tests – Part 1

java-logo

This post is the first of a series of three. Mindset of testing Techniques Tools and Tips The Mindset Testing code is something that needs to be learned. It takes time to absorb how to do it well. It’s a craft that one should always practice and improve.   Back in the old days, developers did not test, they checked ...

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