Do you want to know how to develop your skillset to become a Java Rockstar?

Subscribe to our newsletter to start Rocking right now!

To get you started we give you our best selling eBooks for FREE!

1. JPA Mini Book

2. JVM Troubleshooting Guide

3. JUnit Tutorial for Unit Testing

4. Java Annotations Tutorial

5. Java Interview Questions

and many more ....

 

JavaScript routing in Play 2 (Scala edition)

play-framework-logo

In my previous post, I covered using JavaScript routing in Play 2 Java applications. Here’s the Scala version. It’s pretty much a copy of the previous article, to make it independent. One of the nicest features in Play 2, but one which doesn’t seem to be widely covered, is the JavaScript routing that can be generated by the framework to ...

Read More »

The Decorator Pattern

java-logo

The Decorator Pattern One design pattern that I don’t see being used very often is Decorator. I’m not sure why this pattern isn’t more popular, as it’s quite handy. The Decorator pattern allows one to add functionality to an object in a controlled manner. This works at runtime, even with statically typed languages! The decorator pattern is an alternative to subclassing. ...

Read More »

Check your REST parameters!

java-interview-questions-answers

I was doing research related to my ongoing “project student” series and realized that I had made one of the most common – and most easily remedied – mistakes. I wasn’t using everything I know about the webapp to push my security perimeter outwards. I am thinking specifically about the UUID parameters. I know that every valid externally visible ID ...

Read More »

Upgrading to Java 7 on Google’s AppEngine

google-app-engine-logo

If you are still running a Java 6 application on Google AppEngine, you’re about to get into serious trouble. Any moment now, the AppEngine team is going to release version 1.8.9, which will no longer support deployment of Java 6 applications. Existing applications will keep on running. But you should probably upgrade your application with the necessary urgency, as you will ...

Read More »

Making HTTP content compression work in netty 4

jboss-netty-logo

Netty is really a great framework providing all the things needed to build a high performance HTTP server. The nice thing is, that nearly everything comes out of the box and has just to be put together in the right way. And content compression (gzip or deflate) is no exception. However, when it comes to compressing static content I stumbled ...

Read More »

Hibernate: DDL Schema generation

jboss-hibernate-logo

Not so long time ago I have to work with in-memory database. This activity was related to integration testing. As you know, it is a normal practice to use in-memory data bases for the integration testing. There are several reasons for this: portability, well grained environment infrastructure, high performance, consistency of original data base. The problem is a coppying of ...

Read More »

My Priorities for Scala

scala-logo

What TypeSafe Should be Working On There was a Twitter thread that started off discussing Clojure REPL usage but devolved into a discussion of Scala’s compiler. An Aside Well, not an aside… My Clojure workflow is: use Clojure’s REPL to incrementally create code and once the code is right, write a test around the code and move on to the ...

Read More »

The SQL Language’s Most Missing Feature

software-development-2-logo

SQL is also awesome in many ways. We can write out the most complex truths and facts and have the database tell us the answer in no time. But the SQL language is arguably the most beautiful programming language out there. It has so many caveats that people like me get ridiculously rich selling consulting services just to merely explain its semantics. One ...

Read More »

Master/Slave Failover for Camel Routes

apache-camel-logo

One way to implement a master/slave failover pattern is to have a cluster of instances of an application where one instance (the master) is currently active and the other instances (the slaves) are on standby, ready to take over whenever the master fails. Some projects provide this kind of master/slave support out of the box: Creating a failover deployment for ...

Read More »

9 technologies to be discussed in 2014

software-development-2-logo

According to 9 technologies for a supercharged 2014 there are a few important technologies that are about to increase programmers’ interest in 2014. Below, they are presented in short: 1. Document databases Structured storages and document databases have started to step aside, since NoSQL databases and big data solutions like MongoDB and Couchbase have showed up. 2. Key-value stores Couchbase, ...

Read More »
Do you want to know how to develop your skillset and become a ...

Subscribe to our newsletter to start Rocking right now!

To get you started we give you our best selling eBooks for FREE!
Get ready to Rock!
To download the books, please verify your email address by following the instructions found on the email we just sent you.

THANK YOU!

Close