Tag Archives: scala

avro-tools in Scala Projects – Don’t…

avro-tools in Scala Projects – Don’t… In this post we are going to discuss how Avro-tools dependency can mess up your logging in a Scala project. Let’s create a sample Scala SBT project. We update the build.sbt as follows: Here are we adding dependencies for logback in addition to avro-tools dependency. Let’s create a simple… Continue reading »

Using Avro Schema in JVM based applications

Using Avro Schema in JVM based applications Like Protobuf, Apache Avro is specially suitable for organizations with polyglot development stack. Data serialized through one language can easily be deserialized in other language on the other end of your messaging platform. This is one of the supported serialization for Confluent platform. The benefits of Avro over… Continue reading »

Setting up IntelliJ IDEA behind Proxy

Plugins Download First you need to set proxy for plugins download. Go to File\Settings and open Plugin tab. Get Proxy settings from internet explorer (Internet options) and update it here: org.scala-sbt#sbt;0.13.16: not found Here you need to use the same version build.propeties file as the one in sbt launcher. Check SBT Version on your machine… Continue reading »

SBT Behind Proxy

SBT Behind Proxy If you are running sbt behind firewall, you need to update proxy settings to be used: sbtconfig.txt Update the sbtconfig.txt where you have sbt installed: In addition to this, please make sure that sbt is added to $PATH variable. Using SBT from Git Bash Even though I had it configured as follows,… Continue reading »

Play Framework and CORS with Angular2 Client(Cross Origin Resource Sharing)

Play Framework and CORS with Angular2 Client(Cross Origin Resource Sharing) Although Play framework allows us to write complete web application including UI. But we can just keep our REST based HTTP service in Play Framework and access them from any other application hosted on another server. But as soon as you do it, you start… Continue reading »

Play framework with Scala – Getting Started

Play framework with Scala – Getting Started

Play framework with Scala – Getting Started Play is a web framework based on JVM languages including Scala and Java. This post is about getting you up running a basic Hello world application with Scala using IntelliJ IDEA. Download IntelliJ IDEA IntelliJ IDEA can be downloaded from JetBrains. Here is the download link: Downloading Activator… Continue reading »

Using TypeSafe’s Config In Scala

Using TypeSafe’s Config In Scala Our application behavior is generally defined with a set of configurations. Instead of hard-coding the values in the code, we like to define them separately in a configuration store. In this post, we are going to see how we can define configurations using TypeSafe’s config. Let’s create a SBT project…. Continue reading »