Mar Java Mit Java Blog

How to add overlay spinner in angularjs 0

How to add overlay spinner in angularjs

Download a small plugin from Angular overlay Include required files. It requires ngAnimate Where you can download spinner.js and spinner.css from the above mentioned link Have a HTML code like this : Your feedback...

How to draw text with border in Java 0

How to draw text with border in Java

I had a requirement to draw texts using bufferedimage which can have border. So here is the code I found. Basically you write the text 2 times with small shifts public static void drawStringWithBorder(Graphics...

Lua scripting in Redis 0

Lua scripting in Redis

Lua Scripting You can kind of think of lua scripts like redis’s own SQL or stored procedures. It’s both more and less than that, but the analogy mostly works. Maybe you have complex calculations...

Why is memcached slow as compared to ehcache 0

Why is memcached slow as compared to ehcache

Should you choose memcached or ehcache? Aside from the API differences you noted, the major difference here is going to be that memcached lives in a different process while Ehcache is internal to the...

Can we use JCS for di 0

Can we use JCS for distributed cache?

JCS is a very popular caching framework since early 2000s. It claims to be more faster than ehcache for heavy get operations related applications. They also claim that they can be used as distributed...

What is Java 9 jlink? 0

What is Java 9 jlink?

What is jlink? Jlink is Java’s new command line tool which allows you to link sets of modules (and their transitive dependencies) to create a run-time image. Java has always had dynamic linking, but with...