Node.js Technology and How to Use It
Nowadays Node.js is a quickly developing technology and has already became very popular. Let's have a look what this technology can be used for, its advantages and disadvantages and why we need it....
View ArticleHibernate Debugging - Finding the origin of a Query
It's not always immediate why and in which part of the program is Hibernate generating a given SQL query, especially if we are dealing with code that we did not write ourselves. This post will go over...
View ArticleThe Best of the Week (May 2): Enterprise Integration
Make sure you didn't miss anything with this list of the Best of the Week in the Enterprise Integration (Apr. 18 to Apr. 24). Here they are, in order of popularity: Preview Text: Make sure you didn't...
View ArticleThe Best of the Week (May 9): Cloud Zone
Make sure you didn't miss anything with this list of the Best of the Week in the Cloud Zone (May 9 to May 15). Here they are, in order of popularity: Preview Text: Make sure you didn't miss anything...
View ArticleMeet Fabric8: An Open-Source Integration Platform Based on Camel and ActiveMQ
Fabric8 is a Apache 2.0 Licensed upstream community for the JBoss Fuse product from Red Hat. It’s is an integration platform based on Apache ActiveMQ, Camel, CXF,Karaf, HawtIO and others. Preview Text:...
View ArticlePHP + Java, or In-Memory Cluster for PHP Developers
IntroPicture taken from here. Java + PHP Preview Text: Last year I participated in the development of distributed systems in Java, and I use in-memory data grids (IMDG) for building of such the...
View ArticleThe Best of the Week (May 30): DevOps Zone
Make sure you didn't miss anything with this list of the Best of the Week in the DevOps Zone (May 30 to June 5). Here they are, in order of popularity: Preview Text: Make sure you didn't miss anything...
View ArticleConverting Data from RTF to DITA Format with Java
One of my tasks some years ago was to convert the content of RTF[ref] files into a DITA[ref] format via converter program written in Java. In this article I want to present the used library and...
View ArticleA Closer Look at the Java Identity API
Before I jump into the nitty-gritty, let’s take a look at some of the quick facts about Java Identity API JSR 351. This is a still a work in progress . . . Preview Text: Currently, the Java Platform...
View ArticleRapid Development Applied to Alfresco CMS
In this article an extension to the CMS Alfresco is proposed, in order to reduce costs involved with the creation of a custom front-end and make it more efficient the issue of document management....
View ArticleGeek Reading September 5, 2014
I have talked about human filters and my plan for digital curation. These items are the fruits of those ideas, the items I deemed worthy from my daily reading. These items are a combination of tech...
View ArticleAlternative Logging Frameworks for Application Servers: WebLogic
Introduction Welcome to the second in the blog series of using alternative logging frameworks with application servers. This entry will focus on WebLogic, specifically 12c, and configuring it to use...
View ArticleA new way of extracting values in AssertJ collections assertions
We've been using AssertJ in Young Digital Planet in several Java projects already and we love it. It makes our tests much easier to write and read, mainly thanks to ease of writing custom assertions....
View ArticleSimple SecurePasswordVault in Java
There are some instances when you want to store your passwords in files to be used by programs or scripts. But storing your passwords in plain text is not a good idea. Use the SecurePasswordVault to...
View ArticleBeyond JSON: Introducing the Spearal Serialization Protocol
Spearal is a new, open-source, serialization protocol that aims to provide a drop-in replacement of JSON in - as a first step - HTML and native mobile applications connected to a Java backend. The...
View ArticleJayson Skima - Validating JavaScript Object Notation Data
A schema is simply a pattern. A pure form. Computationally it can be used to try to match an instance against the pattern or create an instance from it. That's how XML schema, and even DTD, were...
View ArticleHow to draw a Control flow graph & Cyclometric complexity for a given procedure
Cyclomatic Complexity Cyclomatic complexity is a software metric used to measure the complexity of a program. This metric measures independent paths through the program's source code. An independent...
View ArticleFinding Neighbours in Game of Life.
private List<Integer> getNeighbours(int num,int xsize,int ysize){ List<Integer> neighbours = new ArrayList<Integer>(); int max=xsize*ysize; int quo=num%xsize; int rowEnd =...
View ArticleReading emails from MS Exchange by consumig EWS using Java.
import java.net.URI; import java.util.ArrayList; import java.util.Calendar; import java.util.Date; import java.util.HashMap; import java.util.List; import java.util.Map; import...
View ArticleOn Java Generics and Erasure
“Generics are erased during compilation” is common knowledge (well, type parameters and arguments are actually the ones erased). That happens due to “type erasure”. But it’s wrong that everything...
View ArticleMan, Woman, Dog: A Task from the Past
Introduction This article is a personal reflection more than some kind of tutorial or how-to article--which I have mostly written in the past. It describes solutions for an exercise that was given to...
View ArticleCode Review: The Unit of Work Should Be a Single Commit
I’m fascinated by source-control, as my readers know. I’m not sure if this is is a bad idea, but there’s a code-review tool that could use source-control as its storage backend. I’ve no time to make...
View ArticleWhen Null Checking Miserably Fails
Disclaimer Before going on I have to state that the techniques described in this article serve no practical purpose when we program Java. It is like a crossword or puzzle. It main train your brain in...
View ArticleBeyond JSON: Spearal Serialization Protocol for iOS
Spearal is an ongoing attempt to provide a serialization protocol that works - unlike JSON - with arbitrary complex data models, while offering advanced features such as partial object serialization,...
View ArticleHow to use static variable in java
package com.pky.com; public class StaticExample { public static String company = "Infosys Limited"; public String name; public int id; public StaticExample(String name, int id) { this.name = name;...
View Article