Home » JVM Languages » Scala

Scala

WordCount with Storm and Scala

Apache Storm is a free and open source distributed realtime computation system running on the JVM. To get started we will implement a very simple example. Previously we implemented a word count hadoop job using scala and we uploaded it to hdinsight. We will focus on the same word count concept but for real time cases and implement a word ...

Read More »

Run Scala implemented Hadoop Jobs on HDInsight

Previously we set up a Scala application in order to execute a simple word count on hadoop. What comes next is uploading our application to HDInsight. So we shall proceed in creating a Hadoop cluster on HDInsight.               Then we will create the hadoop cluster. As you can see we specify the admin console ...

Read More »

WordCount on Hadoop with Scala

Hadoop is a great technology built with java. Today we will use Scala to implement a simple map reduce job and then run it using HDInsight. We shall add the assembly plugin on our assembly.sbt addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "0.14.3") Then we will add the Hadoop core dependency on our build.sbt file. Also will we apply some configuration in the ...

Read More »

Deploying akka-http app to Cloud Foundry

In a preceding post I had gone over the steps to deploy a simple akka-http app to Cloud Foundry. The gist of it was that as long there is a way to create a runnable fat(uber) jar, the deployment is very straightforward – Cloud Foundry’s Java buildpack can take the bits and wire up everything needed to get it up an running in ...

Read More »

Deploying akka-http app to Cloud Foundry

It is easy to deploy an akka-http application to Cloud Foundry. I experimented with a few variations recently and will cover ways to deploy an Akka-http based REST app in two parts – first a simple app with no external resource dependencies, the second a little more complex CRUD app that maintains state in a MySQL database. Pre Requisites A quick way to ...

Read More »

Scala Tutorial: Developing Modern Applications

Course Overview Scala is a general-purpose programming language. It has full support for functional programming and a very strong static type system. Designed to be concise, many of Scala’s design decisions were inspired by criticism of Java’s shortcomings. Scala source code is intended to be compiled to Java bytecode, so that the resulting executable code runs on a Java virtual ...

Read More »

Developing Modern Applications with Scala: Web APIs with Akka HTTP

This article is part of our Academy Course titled Developing Modern Applications with Scala. In this course, we provide a framework and toolset so that you can develop modern Scala applications. We cover a wide range of topics, from SBT build and reactive applications, to testing and database acceess. With our straightforward tutorials, you will be able to get your ...

Read More »

Setting up Scala on Android

Scala can be used to build Android applications, as an alternative to Java or Kotlin. Unlike them, setting up an Android project in Scala with SBT is not straightforward, and can give us some headaches to get it right. To show how this can be done, we are going to create new project template using the Android SDK Plugin for ...

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