Concepts

WebHooks: A way to integrate systems

For example, I've integrated StatusCake with our Slack communication channel.  When Status Cake needs to send a message that our website is down, it will email, SMS, and alert our Slack Channel #vship. Incoming Webhooks

By |July 9th, 2016|Categories: Slack, Status Cake, Web Hooks|0 Comments

Slack: Calling WebHooks from Java

Setup Instructions We'll guide you through the steps necessary to configure an Incoming Webhook so you can start sending data to Slack. Webhook URL https://hooks.slack.com/services/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 Sending Messages You have two options for sending data to

By |July 9th, 2016|Categories: Slack, Web Hooks|0 Comments

What is CSRF Protection?

Spring Secruity Docs:http://docs.spring.io/spring-security/site/docs/3.2.7.RELEASE/reference/htmlsingle/#csrf-include-csrf-token   When using Spring Security, all PUT, POST, and DELETE requests require "authentication" or you will get the error below { "timestamp": 1460035702156, "status": 403, "error": "Forbidden", "message": "Invalid CSRF Token 'null'

By |July 9th, 2016|Categories: Concepts, Spring Security|Tags: , , |0 Comments

H2 Database (In-Memory Database)

The H2 database is a popular database to use when developing Spring applications. H2 is written in Java and is easily runs as an embedded in-memory database. Because it is an embedded in memory database,

By |July 9th, 2016|Categories: Concepts, H2, Tools|0 Comments

Spring Data JPA

Spring Data JPA Using Spring Data JPA can save you a lot of time when interacting with the database. Spring Data JPA implements the Repository Pattern. This design pattern was originally defined by Eric Evans

By |July 9th, 2016|Categories: JPA, Spring Data|0 Comments

Using Joda Time with Spring Data JPA

Joda Time is the standard de facto for managing dates in Java applications. Using it on Spring is straightforward, simply add the right dependency to your project and you can use it. But some attention is needed if

By |July 9th, 2016|Categories: Concepts, H2, Hibernate, JPA, Spring Data|0 Comments