Published inBeing Professional·Feb 14, 2021AWS: Part II — Deploy Kotlin Spring Boot Reactive App on Elastic Beanstalk using CodePipelineIn the previous article (https://medium.com/beingprofessional/aws-part-i-deploy-kotlin-spring-boot-reactive-app-on-elastic-beanstalk-ad81c0796186) we saw how to deploy a Kotlin Spring Boot Reactive App on Elastic Beanstalk manually. In this article we will look at how the deployment can be automated. Create a CodeCommit Repository We will be using CodeCommit git repository as an SCM for our service. …AWS6 min readAWS6 min read
Published inBeing Professional·Jan 1, 2021AWS: Part I— Deploy Kotlin Spring Boot Reactive App on Elastic BeanstalkLet’s build a sample application to learn about different AWS services. The Practice Problem For this, we will build a quiz application which will show list of quizzes on home page and on selection of a quiz will present the quiz questions with options to the user where they would be able to…Spring Boot5 min readSpring Boot5 min read
Published inBeing Professional·Oct 3, 2020Type Safe Feature Toggles Using Properties in Spring BootWhat are feature toggles? Feature Toggles (often also referred to as Feature Flags) are a powerful technique, allowing teams to modify system behavior without changing code. - Martin Fowler Feature toggles is a mechanism by which one can modify the system behavior by enabling or disabling the feature toggles as required. It’s also a…Java3 min readJava3 min read
Published inBeing Professional·Mar 10, 2018Use of implicit to transform case classes in ScalaUsing different entities for different layers like repository, service and view is a common (anti)pattern followed while developing web applications. Using different model at each layer allows us to represent entities differently at each layer in a way such that the structure of the model makes sense at that layer…Scala4 min readScala4 min read
Published inBeing Professional·Mar 4, 2018Understanding Functor and Monad With a Bag of PeanutsWhen I started coded in Scala I heard someone saying List, Option, Future etc. are all monads and functors. I wanted to understand what exactly is a monad or a functor. A quick google search and I got articles explaining like this Seriously?Functional Programming8 min readFunctional Programming8 min read
Published inBeing Professional·May 3, 2017Think Functional: Rethinking criteria pattern with lambdasWith Java 8 we need to rethink the implementations of most of the design patterns. Lambda expressions prove to be useful in simplifying few design patterns by reducing the boilerplate code required to implement the design pattern. In this post we are going to rethink the criteria design pattern. Criteria design pattern: classic way Criteria…Java5 min readJava5 min read
Published inBeing Professional·Apr 21, 2017Cons list in JavaThe fundamental data structure in many functional languages is the immutable linked list. It is constructed from two building blocks: Nil: The empty list Cons: A cell containing an element also known as head; and a pointer to the rest of the list also known as tail. The term cons…Programming6 min readProgramming6 min read
Published inBeing Professional·Feb 19, 2017Think functional: Advanced builder pattern using lambdaBuilder pattern comes handy when a large complex object is to be built. Specially when it can be built in multiple combinations. There is one reason for which I have always hated builder pattern is that you need to add a new method to set a value for every member…Programming7 min readProgramming7 min read
Published inBeing Professional·Feb 16, 2017Functional Style List Manipulation: Scala Vs Java 8 Vs GroovyHow does the Java streams API compare with Scala and Groovy. Let’s get started. Assume a simple Book class. public class Book { private String name; private String author; private int numberOfPages; public Book(String name, String author, int…Scala13 min readScala13 min read