Home » Software Development (page 5)

Software Development

Stubbing Key-Value Stores

Every project that has a database has dilemma: how to test database-dependent code. There are several options (not mutually exclusive): Use mocks – use only unit tests and mock the data-access layer, assuming the DAO-to-database communication works Use an embedded database that each test starts and shuts down. This can also be viewed as unit-testing Use a real database deployed ...

Read More »

How To Send Ethereum Transactions With Java

After I’ve expressed my concerns about the blockchain technology, let’s get a bit more practical with the blockchain. In particular, with Ethereum. I needed to send a transaction with Java, so I looked at EthereumJ. You have three options: Full node – you enable syncing, which means the whole blockchain gets downloaded. It takes a lot of time, so I ...

Read More »

Drools Canonical Model – Pure Java Rules

Rule engines, like Drools, typically  make use of a custom language to define a set of rules. For example, the Drools compiler translates a drl file to an internal representation (the KiePackages) that is subsequently used to generate the ReteOO/Phreak network that will perform the rules evaluation. This internal representation was never really intended to be generated or consumed by ...

Read More »

Getting started with MapR-DB Table Replication

Introduction MapR-DB Table Replication allows data to be replicated to another table that could be on on the same cluster or in another cluster. This is different from the automatic and intra-cluster replication that copies the data into different physical nodes for high availability and prevent data loss. This tutorial focuses on the MapR-DB Table Replication that replicates data between ...

Read More »

[MEGA DEAL] The Immersive Angular 2 Bundle (88% off)

Separate Yourself From the Developer Pack with 44 Intensive Hours on the Web’s Most Exciting New Framework Hey fellow geeks, This week, on our JCG Deals store, we have another extreme offer. We are offering a massive 88% off on The Immersive Angular 2 Bundle. Get it now with only $41, instead of the original price of $349. Angular 2 ...

Read More »

Eclipse Projects: Level Playing Field

For many open source organisations, open means the same thing as transparent: open as in open book. At the Eclipse Foundation, we regard being transparent as the practice of making sure that the community can see and understand what the project is doing; and being open as the act of giving up absolute control and welcoming the community to participate ...

Read More »