JavaForFun
9 years agoSonarqube custom rules: custom plugin for JavaScript
Gustavo Martin Morcuende [Fri, 5 Aug 2016 01:01:56 +0000 (03:01 +0200)]
Sonarqube custom rules: custom plugin for JavaScript

9 years agoSonarQube, custom Java rules.
Gustavo Martin Morcuende [Fri, 5 Aug 2016 00:46:06 +0000 (02:46 +0200)]
SonarQube, custom Java rules.

9 years agoSonarqube simple rule: missing required CheckRegistrar
Gustavo Martin Morcuende [Thu, 4 Aug 2016 18:58:02 +0000 (20:58 +0200)]
Sonarqube simple rule: missing required CheckRegistrar

9 years agoSonarqube rule: improvements
Gustavo Martin Morcuende [Wed, 3 Aug 2016 18:36:36 +0000 (20:36 +0200)]
Sonarqube rule: improvements

9 years agosonarqube helloworld plugin, renaming group and artifact ids
Gustavo Martin Morcuende [Tue, 2 Aug 2016 20:52:21 +0000 (22:52 +0200)]
sonarqube helloworld plugin, renaming group and artifact ids

9 years agosonarqube 5.6.1: trying to implement custom rule.
Gustavo Martin Morcuende [Tue, 2 Aug 2016 20:46:19 +0000 (22:46 +0200)]
sonarqube 5.6.1: trying to implement custom rule.

Based on SonarQube JavaPlugin.java implementation.

This is too complicated. It is taking me too much time...

9 years agoMessing around with sonarqube
Gustavo Martin Morcuende [Sun, 31 Jul 2016 20:28:39 +0000 (22:28 +0200)]
Messing around with sonarqube

9 years agoGetting ready for integration with Sonar (using Jacoco maven plugin)
Gustavo Martin Morcuende [Sun, 31 Jul 2016 17:42:51 +0000 (19:42 +0200)]
Getting ready for integration with Sonar (using Jacoco maven plugin)

9 years agoExplanation about Spring overriding beans when running JUnit tests
Gustavo Martin Morcuende [Fri, 29 Jul 2016 18:09:44 +0000 (20:09 +0200)]
Explanation about Spring overriding beans when running JUnit tests

10 years agoSpring JPA: generic classes for implementing Controllers for revisions.
Gustavo Martin Morcuende [Wed, 27 Jul 2016 14:11:12 +0000 (16:11 +0200)]
Spring JPA: generic classes for implementing Controllers for revisions.

Servicies and entities. Following RESTHUB implementation.

10 years agoSpring JPA: AdDescription revisions
Gustavo Martin Morcuende [Tue, 26 Jul 2016 21:09:32 +0000 (23:09 +0200)]
Spring JPA: AdDescription revisions

10 years agoSpring JPA: Spring REST interceptor
Gustavo Martin Morcuende [Tue, 26 Jul 2016 20:34:31 +0000 (22:34 +0200)]
Spring JPA: Spring REST interceptor

10 years agoSpring JPA: spring-data-envers, serializing data
Gustavo Martin Morcuende [Tue, 26 Jul 2016 20:25:20 +0000 (22:25 +0200)]
Spring JPA: spring-data-envers, serializing data

10 years agoSpring JPA: MyCustomRevision, serializing revision date field.
Gustavo Martin Morcuende [Tue, 26 Jul 2016 20:24:47 +0000 (22:24 +0200)]
Spring JPA: MyCustomRevision, serializing revision date field.

10 years agoSpring JPA: jackson custom serializing
Gustavo Martin Morcuende [Tue, 26 Jul 2016 20:19:40 +0000 (22:19 +0200)]
Spring JPA: jackson custom serializing

10 years agoSpring JPA: spring-data-envers does not work yet with QueryDSL
Gustavo Martin Morcuende [Tue, 26 Jul 2016 17:28:25 +0000 (19:28 +0200)]
Spring JPA: spring-data-envers does not work yet with QueryDSL

See: https://github.com/spring-projects/spring-data-envers/pull/45

10 years agoSpring JPA: modify resource
Gustavo Martin Morcuende [Tue, 26 Jul 2016 17:27:35 +0000 (19:27 +0200)]
Spring JPA: modify resource

10 years agoSpring JPA: I must be doing something wrong because I do not manage to audit bi direc...
Gustavo Martin Morcuende [Mon, 25 Jul 2016 19:24:09 +0000 (21:24 +0200)]
Spring JPA: I must be doing something wrong because I do not manage to audit bi directional relationship

10 years agoSpring JPA: logging Hibernate query parameters with LOG4J2
Gustavo Martin Morcuende [Mon, 25 Jul 2016 19:16:53 +0000 (21:16 +0200)]
Spring JPA: logging Hibernate query parameters with LOG4J2

10 years agoSpring JPA: a few improvements
Gustavo Martin Morcuende [Mon, 25 Jul 2016 19:15:49 +0000 (21:15 +0200)]
Spring JPA: a few improvements

10 years agoSpring JPA: no way of injecting bean in JPA entities
Gustavo Martin Morcuende [Mon, 25 Jul 2016 19:14:54 +0000 (21:14 +0200)]
Spring JPA: no way of injecting bean in JPA entities

10 years agoSpring JPA: no time for comments
Gustavo Martin Morcuende [Thu, 21 Jul 2016 20:05:14 +0000 (22:05 +0200)]
Spring JPA: no time for comments

10 years agoSpring JPA: using spring-data-envers
Gustavo Martin Morcuende [Thu, 21 Jul 2016 17:39:00 +0000 (19:39 +0200)]
Spring JPA: using spring-data-envers

10 years agoSpring JPA: Envers tables, auditory.
Gustavo Martin Morcuende [Thu, 21 Jul 2016 17:28:52 +0000 (19:28 +0200)]
Spring JPA: Envers tables, auditory.

10 years agoSpring JPA: no time for comments
Gustavo Martin Morcuende [Wed, 20 Jul 2016 21:05:19 +0000 (23:05 +0200)]
Spring JPA: no time for comments

10 years agoSpring JPA: Username HTTP Handler
Gustavo Martin Morcuende [Wed, 20 Jul 2016 20:35:56 +0000 (22:35 +0200)]
Spring JPA: Username HTTP Handler

10 years agoSpring JPA: H2 datasource, comments explaining why I am not using the Spring way...
Gustavo Martin Morcuende [Wed, 20 Jul 2016 20:34:42 +0000 (22:34 +0200)]
Spring JPA: H2 datasource, comments explaining why I am not using the Spring way (jdbc:embedded-database option)

10 years agoSpring JPA: improvements in changeLogs.xml (liquibase file)
Gustavo Martin Morcuende [Wed, 20 Jul 2016 20:31:53 +0000 (22:31 +0200)]
Spring JPA: improvements in changeLogs.xml (liquibase file)

10 years agoSpring JPA: data base, column names with caps
Gustavo Martin Morcuende [Wed, 20 Jul 2016 20:01:47 +0000 (22:01 +0200)]
Spring JPA: data base, column names with caps

10 years agoSpring JPA: README, new URLs
Gustavo Martin Morcuende [Wed, 20 Jul 2016 18:16:36 +0000 (20:16 +0200)]
Spring JPA: README, new URLs

10 years agoSpring JPA: cleaning up POM files
Gustavo Martin Morcuende [Wed, 20 Jul 2016 18:11:07 +0000 (20:11 +0200)]
Spring JPA: cleaning up POM files

10 years agoSpring JPA: new structure
Gustavo Martin Morcuende [Wed, 20 Jul 2016 18:02:55 +0000 (20:02 +0200)]
Spring JPA: new structure

10 years agoUsing Envers
Gustavo Martin Morcuende [Mon, 18 Jul 2016 21:01:43 +0000 (23:01 +0200)]
Using Envers

10 years agoJPA: getting ready for Hibernate Envers
Gustavo Martin Morcuende [Sun, 17 Jul 2016 20:45:46 +0000 (22:45 +0200)]
JPA: getting ready for Hibernate Envers

10 years agoSpring STOMP: a few improvements
Gustavo Martin Morcuende [Wed, 13 Jul 2016 00:23:58 +0000 (02:23 +0200)]
Spring STOMP: a few improvements

10 years agoSpring JPA: removing useless Spring profiles
Gustavo Martin Morcuende [Tue, 12 Jul 2016 01:13:08 +0000 (03:13 +0200)]
Spring JPA: removing useless Spring profiles

10 years agoSpring JPA: little improvement (English grammar)
Gustavo Martin Morcuende [Tue, 12 Jul 2016 01:11:00 +0000 (03:11 +0200)]
Spring JPA: little improvement (English grammar)

10 years agoSpring JPA: Specifications, using lambda expressions
Gustavo Martin Morcuende [Tue, 12 Jul 2016 01:09:12 +0000 (03:09 +0200)]
Spring JPA: Specifications, using lambda expressions

10 years agoSpring JPA: liquibase
Gustavo Martin Morcuende [Tue, 12 Jul 2016 01:00:19 +0000 (03:00 +0200)]
Spring JPA: liquibase

10 years agoSpringJPA: Querydsl VS Spring Specifications
Gustavo Martin Morcuende [Mon, 11 Jul 2016 20:00:41 +0000 (22:00 +0200)]
SpringJPA: Querydsl VS Spring Specifications

Querydsl is easier than Specifications and JPA Criterias.

10 years agoSpring JPA: using Querydsl
Gustavo Martin Morcuende [Mon, 11 Jul 2016 00:45:46 +0000 (02:45 +0200)]
Spring JPA: using Querydsl

10 years agoMaven weaver: aspectj-maven-plugin integration with Eclipse (AJDT)
Gustavo Martin Morcuende [Sun, 10 Jul 2016 22:12:56 +0000 (00:12 +0200)]
Maven weaver: aspectj-maven-plugin integration with Eclipse (AJDT)

10 years agoSpring JPA: getting ready for test with H2 and docker
Gustavo Martin Morcuende [Sun, 10 Jul 2016 18:56:40 +0000 (20:56 +0200)]
Spring JPA: getting ready for test with H2 and docker

10 years agoSpring JPA: POSTMAN examples
Gustavo Martin Morcuende [Sun, 10 Jul 2016 17:59:25 +0000 (19:59 +0200)]
Spring JPA: POSTMAN examples

10 years agoSpring JPA: Jackson, avoid cyclic dependency
Gustavo Martin Morcuende [Sun, 10 Jul 2016 17:57:02 +0000 (19:57 +0200)]
Spring JPA: Jackson, avoid cyclic dependency

10 years agoSpring JPA: insert parent<->child at the same time
Gustavo Martin Morcuende [Sun, 10 Jul 2016 16:59:21 +0000 (18:59 +0200)]
Spring JPA: insert parent<->child at the same time

10 years agoSpring JPA: keeping offset time zone when using OffsetDateTime objects
Gustavo Martin Morcuende [Wed, 6 Jul 2016 20:07:13 +0000 (22:07 +0200)]
Spring JPA: keeping offset time zone when using OffsetDateTime objects

10 years agoSpring JPA: what a mess...
Gustavo Martin Morcuende [Sun, 3 Jul 2016 22:05:09 +0000 (00:05 +0200)]
Spring JPA: what a mess...

10 years agoSpring JPA: trying to make work inserts with Ad+AdDescription
Gustavo Martin Morcuende [Sun, 3 Jul 2016 21:03:53 +0000 (23:03 +0200)]
Spring JPA: trying to make work inserts with Ad+AdDescription

10 years agoSpring JPA: org.springframework.data.jpa.repository.support.SimpleJpaRepository is...
Gustavo Martin Morcuende [Sun, 3 Jul 2016 18:10:38 +0000 (20:10 +0200)]
Spring JPA: org.springframework.data.jpa.repository.support.SimpleJpaRepository is the default implementation for any Spring repository.

SimpleJpaRepository annotates methods with @Transactional

10 years agoSpring JPA: using ServiceBasedRestController from resthub project
Gustavo Martin Morcuende [Sun, 3 Jul 2016 18:09:59 +0000 (20:09 +0200)]
Spring JPA: using ServiceBasedRestController from resthub project

10 years agoSpring JPA: renaming packages
Gustavo Martin Morcuende [Sun, 3 Jul 2016 15:46:47 +0000 (17:46 +0200)]
Spring JPA: renaming packages

10 years agoSpring JPA: Jackson, OffsetDateTime object serialization
Gustavo Martin Morcuende [Sun, 3 Jul 2016 15:36:56 +0000 (17:36 +0200)]
Spring JPA: Jackson, OffsetDateTime object serialization

10 years agoJPA <-> Jackson: trying to work with LocalDateTime objects
Gustavo Martin Morcuende [Sun, 3 Jul 2016 12:38:04 +0000 (14:38 +0200)]
JPA <-> Jackson: trying to work with LocalDateTime objects

10 years agoJPA improvements
Gustavo Martin Morcuende [Sun, 3 Jul 2016 12:37:54 +0000 (14:37 +0200)]
JPA improvements

10 years agoMore JPA stuff
Gustavo Martin Morcuende [Fri, 1 Jul 2016 20:58:59 +0000 (22:58 +0200)]
More JPA stuff

10 years ago JPA + Spring + REST
Gustavo Martin Morcuende [Fri, 1 Jul 2016 01:00:19 +0000 (03:00 +0200)]
 JPA + Spring + REST

10 years agoJPA + Spring + REST
Gustavo Martin Morcuende [Fri, 1 Jul 2016 00:37:29 +0000 (02:37 +0200)]
JPA + Spring + REST

10 years agoSpring STOMP, upgrade log4j API to 2.5 version
Gustavo Martin Morcuende [Tue, 10 May 2016 01:19:02 +0000 (03:19 +0200)]
Spring STOMP, upgrade log4j API to 2.5 version

10 years agoSpring STOMP: no way of using full featured broker and simple at the same time withou...
Gustavo Martin Morcuende [Sun, 8 May 2016 20:18:34 +0000 (22:18 +0200)]
Spring STOMP: no way of using full featured broker and simple at the same time without creating a mess.

10 years agoSTOMP many improvements
Gustavo Martin Morcuende [Mon, 2 May 2016 22:35:14 +0000 (00:35 +0200)]
STOMP many improvements

10 years agoSTOMP: sending data by means of:
Gustavo Martin Morcuende [Tue, 26 Apr 2016 01:54:36 +0000 (03:54 +0200)]
STOMP: sending data by means of:

a) REST service (@RestController)
b) STOMP SEND command (@MessageMapping)

10 years agoSTOMP server: required allow-origins
Gustavo Martin Morcuende [Sun, 24 Apr 2016 18:44:18 +0000 (20:44 +0200)]
STOMP server: required allow-origins

10 years agoquery examples
Gustavo Martin Morcuende [Thu, 21 Apr 2016 04:52:24 +0000 (06:52 +0200)]
query examples

10 years agoAOP: LTW and maven plguin, improvements
Gustavo Martin Morcuende [Sun, 17 Apr 2016 11:35:09 +0000 (13:35 +0200)]
AOP: LTW and maven plguin, improvements

10 years agoAOP aspectj-maven-plugin
Gustavo Martin Morcuende [Sat, 16 Apr 2016 23:40:48 +0000 (01:40 +0200)]
AOP aspectj-maven-plugin

10 years agoSpringLTW, improvements about ordering when weaving
Gustavo Martin Morcuende [Sat, 16 Apr 2016 20:26:01 +0000 (22:26 +0200)]
SpringLTW, improvements about ordering when weaving

10 years agoSpring AOP and maven plugin
Gustavo Martin Morcuende [Mon, 11 Apr 2016 00:43:19 +0000 (02:43 +0200)]
Spring AOP and maven plugin

10 years agoSpring AOP: improves in old examples about AOP Spring old way, AspectJ and LTW.
Gustavo Martin Morcuende [Sun, 10 Apr 2016 23:56:12 +0000 (01:56 +0200)]
Spring AOP: improves in old examples about AOP Spring old way, AspectJ and LTW.

10 years agoMyBatis interceptors: trying to change SQL statements in run time.
Gustavo Martin Morcuende [Sun, 10 Apr 2016 18:58:54 +0000 (20:58 +0200)]
MyBatis interceptors: trying to change SQL statements in run time.

No way with MyBatis :(

10 years agoMyBatis ReuseBatchExecutor: comments about REUSE vs SIMPLE vs BATCH modes
Gustavo Martin Morcuende [Sun, 10 Apr 2016 16:32:26 +0000 (18:32 +0200)]
MyBatis ReuseBatchExecutor: comments about REUSE vs SIMPLE vs BATCH modes

10 years agomend
Gustavo Martin Morcuende [Sun, 10 Apr 2016 12:15:42 +0000 (14:15 +0200)]
mend

10 years agoMyBatis: BE CAREFUL WHEN USING BATCH MODE FOR ACCESSING DATA BASES.
Gustavo Martin Morcuende [Sun, 10 Apr 2016 12:06:34 +0000 (14:06 +0200)]
MyBatis: BE CAREFUL WHEN USING BATCH MODE FOR ACCESSING DATA BASES.

YOUR CODE MUST BE IMPLEMENTED FOR BATCH MODE. MANY TIMES SOME
CODE THAT WORKS WITH SIMPLE MODE WILL NOT WORK WITH BATCH MODE.

Abstractions (MyBatis) are cool but never forget how stuff works underneath.

I guess the same conclusion applies for JPA, Hibernater, etc, etc. Code working without
batch mode will not work with batch mode if you did not write your code for accessing
data base in batch mode.

10 years agoMyBatis: ReuseBatchExecutor
Gustavo Martin Morcuende [Sun, 10 Apr 2016 01:17:45 +0000 (03:17 +0200)]
MyBatis: ReuseBatchExecutor

10 years agoSprint STOMP: simple broker (in memory broker)
Gustavo Martin Morcuende [Wed, 30 Mar 2016 00:12:06 +0000 (02:12 +0200)]
Sprint STOMP: simple broker (in memory broker)

10 years agoSpring and STOMP, first steps
Gustavo Martin Morcuende [Tue, 29 Mar 2016 02:20:06 +0000 (04:20 +0200)]
Spring and STOMP, first steps

10 years agoSpring emails: when using @Async exceptions are caught by SimpleAsyncUncaughtExceptio...
Gustavo Martin Morcuende [Sat, 26 Mar 2016 00:08:51 +0000 (01:08 +0100)]
Spring emails: when using @Async exceptions are caught by SimpleAsyncUncaughtExceptionHandler

10 years agoSpring emails: modifications in Spring queue capacity.
Gustavo Martin Morcuende [Fri, 25 Mar 2016 21:35:14 +0000 (22:35 +0100)]
Spring emails: modifications in Spring queue capacity.

I am not sure what is it for.

10 years agoSpring emails: using Thymeleaf and Velocity
Gustavo Martin Morcuende [Fri, 25 Mar 2016 21:10:41 +0000 (22:10 +0100)]
Spring emails: using Thymeleaf and Velocity

10 years agoSpring emails
Gustavo Martin Morcuende [Fri, 25 Mar 2016 19:24:55 +0000 (20:24 +0100)]
Spring emails

10 years agoSpring Emails
Gustavo Martin Morcuende [Fri, 25 Mar 2016 19:18:21 +0000 (20:18 +0100)]
Spring Emails

10 years agoSpring Emails
Gustavo Martin Morcuende [Fri, 25 Mar 2016 19:08:10 +0000 (20:08 +0100)]
Spring Emails

10 years agoEmails with Spring
Gustavo Martin Morcuende [Fri, 11 Mar 2016 02:46:12 +0000 (03:46 +0100)]
Emails with Spring

10 years agoREST now lives in SpringWebServicesForFun repository
Gustavo Martin Morcuende [Fri, 8 Jan 2016 21:49:49 +0000 (22:49 +0100)]
REST now lives in SpringWebServicesForFun repository

10 years agoSpring REST: missing test
Gustavo Martin Morcuende [Thu, 7 Jan 2016 00:13:23 +0000 (01:13 +0100)]
Spring REST: missing test

10 years agoSpring REST: remove doc from client y global maven projects
Gustavo Martin Morcuende [Wed, 6 Jan 2016 23:22:56 +0000 (00:22 +0100)]
Spring REST: remove doc from client y global maven projects

10 years agoSpring REST: integration tests: client y server (RestTemplate y Controller)
Gustavo Martin Morcuende [Wed, 6 Jan 2016 23:16:31 +0000 (00:16 +0100)]
Spring REST: integration tests: client y server (RestTemplate y Controller)

10 years agoSpring REST: Springfox (Swagger)
Gustavo Martin Morcuende [Sun, 3 Jan 2016 23:09:50 +0000 (00:09 +0100)]
Spring REST: Springfox (Swagger)

10 years agoSpring REST: Jackson requires default constructor
Gustavo Martin Morcuende [Sun, 3 Jan 2016 21:12:33 +0000 (22:12 +0100)]
Spring REST: Jackson requires default constructor

10 years agoSpring REST: integration tests
Gustavo Martin Morcuende [Sun, 3 Jan 2016 00:17:13 +0000 (01:17 +0100)]
Spring REST: integration tests

10 years agoMerge branch 'master' of https://github.com/gumartinm/JavaForFun
Gustavo Martin Morcuende [Sun, 3 Jan 2016 00:14:42 +0000 (01:14 +0100)]
Merge branch 'master' of https://github.com/gumartinm/JavaForFun

Conflicts:
SpringJava/REST/src/main/java/de/spring/webservices/rest/CarController.java

10 years agoSpring REST, integration tests
Gustavo Martin Morcuende [Sun, 3 Jan 2016 00:11:23 +0000 (01:11 +0100)]
Spring REST, integration tests

10 years agomissing produces attribute in REST POST
Gustavo Martin Morcuende [Mon, 14 Dec 2015 02:10:22 +0000 (03:10 +0100)]
missing produces attribute in REST POST

10 years agoREST: header Location after POST
Gustavo Martin Morcuende [Thu, 5 Nov 2015 19:42:47 +0000 (20:42 +0100)]
REST: header Location after POST

10 years agoREST: example with query params and custom headers
Gustavo Martin Morcuende [Thu, 5 Nov 2015 19:28:57 +0000 (20:28 +0100)]
REST: example with query params and custom headers

10 years agoTDD: check for exceptions
Gustavo Martin Morcuende [Thu, 5 Nov 2015 18:54:20 +0000 (19:54 +0100)]
TDD: check for exceptions

10 years agoTDD: spies, mocks and argumentcaptors
Gustavo Martin Morcuende [Thu, 5 Nov 2015 18:13:38 +0000 (19:13 +0100)]
TDD: spies, mocks and argumentcaptors

10 years agoMerge branch 'master' of https://github.com/gumartinm/JavaForFun
Gustavo Martin Morcuende [Thu, 5 Nov 2015 12:44:28 +0000 (13:44 +0100)]
Merge branch 'master' of https://github.com/gumartinm/JavaForFun

Conflicts:
Allgemeines/FileSafeWriter/src/de/example/fsync/FileSafeWriterMain.java

10 years agoFileSafeWriter with example
Gustavo Martin Morcuende [Thu, 5 Nov 2015 12:40:21 +0000 (13:40 +0100)]
FileSafeWriter with example

10 years agoFileSafeWriter with example
Gustavo Martin Morcuende [Thu, 5 Nov 2015 12:40:21 +0000 (13:40 +0100)]
FileSafeWriter with example