Java

Scala in Business | Knoldus Newsletter – October 2014

Reading Time: < 1 minute Hello Folks This time I got bit late due to the festival week in India. But i have some intresting stuffs for you only. We are back again with October 2014, Newsletter. Here is this Scala in Business | Knoldus Newsletter – October 2014 In this newsletter you will get to know how organizations are getting benefits by using Typesafe Reactive Platform, how Akka is Continue Reading

Scala in Business | Knoldus Newsletter – September 2014

Reading Time: < 1 minute Hello Folks We are back again with September 2014, Newsletter. Here is this Scala in Business | Knoldus Newsletter – September 2014 In this newsletter you will get to know how organizations are getting benefits by using Typesafe Reactive Platform, how Scala can be beneficial for you and what trends are going in industries. So, if you haven’t subscribed to the newsletter yet then make Continue Reading

How to setup and use zookeeper in scala using Apache Curator

Reading Time: 2 minutes In order to use Zookeeper to manage your project’s configurations across the cluster, first we will setup the zookeeper ensemble on our local machine (setup is for testing on a single machine) by following these steps: 1) Download a stable zookeeper release 2) Unpack it at three places and rename it to: /home/user/Desktop/zookeeper1, /home/user/Desktop/zookeeper2, and /home/user/Desktop/zookeeper3 3) In order to use zookeeper we will need Continue Reading

Scala in Business | Knoldus Newsletter – August 2014

Reading Time: < 1 minute We are back again with August 2014, Newsletter. Here is this Scala in Business | Knoldus Newsletter – August 2014 In this newsletter, you will find that how industries are adopting Typesafe Reactive Platform for scaling their applications and getting benefits, how scala and akka repositories are most popular in this month and how spark and Typesafe reactive platform together making big data applications. So, Continue Reading

Monthly Scala News Letter – April 2014

Reading Time: < 1 minute We are back again with April 2014, Newsletter. Here is this Monthly Scala News letter – April 2014 So, if you haven’t subscribed to the newsletter yet then make it hurry and click on Subscribe Monthly Scala News Letter

Play Framework 2.2 with WebJars client-side web libraries

Reading Time: < 1 minute WebJars are client-side web libraries (e.g. jQuery & Bootstrap) packaged into JAR (Java Archive) files. WebJars can be added as dependencies to an app by simply adding them to the build.sbt file. There is also a helper library named webjars-play that makes it easy to reference WebJar assets. Here is an example build.sbt file with webjars-play and the bootstrap WebJar as dependencies. Do the following Continue Reading

Monthly Scala News Letter – March 2014

Reading Time: < 1 minute We are back again with April 2014, Newsletter. Here is this Monthly Scala News letter – March 2014 In this news letter, you will find some new organizations which are adopting Scala, Akka in their daily project, some new books to become expert of Scala, Akka and a new way to convince your boss to use typesafe platform. So, if you haven’t subscribed to the Continue Reading

Sign-Up with Facebook, Twitter and Google using Node.js and MongoDB

Reading Time: < 1 minute Last week, we created a simple login application, which has sign up and login facility after successfully registration. Now we have added one more feature, i.e. Sign-up with Facebook, Twitter and Google. You can login with your facebook, twitter and google account. We’ll be adding some more features in this application very soon such as birthday reminder functionality. We have used Passport[authentication middleware for Node.js] Continue Reading

Bridging the Communication between Lift Comet Actor and Akka Actor in Scala

Reading Time: 2 minutes In this blog, I would explain how to create bridge between Lift Comet Actor and Akka Actor. Since Lift has its own actor model, so a bridge is needed to fill communication gap between LiftComet and Akka Actor, so that Akka actor would be able send message to comet, once comet has been set. This bridging concept would be more useful for those web applications, Continue Reading

A Simple Remote Chat application using Lift Comet and Akka Actor in Scala

Reading Time: 2 minutes If you are running an application and there are lot of chances for a huge traffic to come in future, a single server would not be capable to handle this. In that case you would have two choices: A) Replace existing server with an advance server with better configuration B) Building a global node in the cluster to be used by other nodes. We know Continue Reading

How to Refresh Pagination Links via AJAX in Liftweb using Scala

Reading Time: < 1 minute In our previous blog , we explained about using Pagination in Lift using Scala . But If you render a page via AJAX , pagination link would not be refreshed until we reload the page . In this blog , we will have a basic idea that how to refresh pagination via AJAX . Suppose you are displaying an item list on web and you Continue Reading

Scala LiftWeb Example : A Login Application with Birthday Reminder Functionality and A Nice User Interface

Reading Time: < 1 minute This is LiftWeb Login Template with a nice User Interface. If you want to use Liftweb as framework , Scala as Programming Language and MongoDB as Database then this demo project can be used as a starting point for your application . In this application , you will find lot of functionalities such as : Social Login Service Email SignUP using MongoDB Settings Birthday Reminder Continue Reading

How to use Liftweb’s built-in functionality for Sorting and Pagination using Scala

Reading Time: 2 minutes In this blog , we will have a basic idea that how to use LiftWeb’s built -in functionality for Sorting and Pagination . Lift provides SortedPaginatorSnippet for sorting of results and PaginatorSnippet for paging of results . Suppose you are displaying an item list on web and you want to sort and paginate that list then you have to implement both snippets SortedPaginatorSnippet and PaginatorSnippet Continue Reading