Monthly Archives: January 2015

Working Effortlessly with Java null in Scala

Knoldus Blogs We would not repeat why null is a billion dollar mistake of Java. In our earlier post, we have already discussed how to handle nulls of Java. In this post we would take it a step further, but … Continue reading

Posted in Scala | Leave a comment

How to Implement Cross Cutting Concern using AOP in Scala

Knoldus Blogs In this blog, I have explained that how easily we can implement Cross Cutting Concern such as logging using Aspect Oriented Programming in Scala. These concerns have nothing to do with core business logic. Aspect Oriented Programming is … Continue reading

Posted in Scala | Leave a comment

How To Implement logRequestResponse in Spray

Knoldus Blogs Spray has the feature to log request and response of every route through logRequestResponse. We needn’t to add log in each route because it could be done from a single place. This also helps to maintain clean code. … Continue reading

Posted in Scala | Leave a comment

Configure TURN server for webRTC with Firefox

Knoldus Blogs Initially, I was using turn server for webRTC in my application only with Chrome but later i got the requirement of using turn server with Firefox as well. I tried to run my application on Firefox with the … Continue reading

Posted in Scala | Leave a comment

FunHop: Working with Exceptions in Scala – Problem Statement

Knoldus Blogs If you look at the earlier posts in the FunHop series, you would notice that Exceptions are side effects. Exceptions by their very nature also break referential transparency and are context dependent. You would have got an idea … Continue reading

Posted in Scala | Leave a comment