Tuesday, December 17, 2013


I spent some more time going through SCALA. To me SCALA now looks like "C" / "C++" programming. So it is somewhere between Java and C/C++.

For example,
1) the format statements.
2) The Collection library with various functions
3) It's own persistence framework
4) Exception handling mechanism
5) Polymorphism
6) Concurrency programming

Having said this, please note that SCALA is based Java and not C/C++. I just compared it with C/C++ because of some of the similarities mentioned above.

You can read more about this here - http://twitter.github.io/scala_school/


Wednesday, December 11, 2013

SCALA / PLAY Framework

When I first heard about the SCALA programming language and PLAY framework, I thought that this is another fashion technology which will die soon. But then I played with it and found that these combination will go a long way in future (like Hadoop) especially for non-enterprise Java applications.

PLAY framework is just like MVC which has one central controller, various actions mapped to each page and Model. Note that concept is highly evolved and very intuitive once you get familiar with it.

Also, there are various templates available including integration with Spring framework, JPA and hibernate. The compiled source code can run in provided typesafe-activator or can be built as a WAR file and deployed on Tomcat or JBoss or any other application server. This means that if your target deployment is on JBoss, you can also use EJB.

The typesafe-activator is very fast and provides shell. I liked the idea of SCALA which is built on top of JVM and you can mix and match the JAVA and SCALA programming language constructs.

Also, take a look at the SCALA IDE - http://scala-ide.org/

I think the combination of PLAY and SCALA has a very bright future.

Give it a spin :-)

--Tejas Bavishi