JavaForFun
8 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)

8 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

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

8 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

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

8 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

8 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

8 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.

8 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 :(

8 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

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

8 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.

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

8 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)

8 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

8 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

8 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.

8 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

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

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

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

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

8 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

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

8 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

8 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)

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

8 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

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

8 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

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

8 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

9 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

9 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

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

9 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

9 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

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

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

9 years agoThreads: using lambda expressiones instead of implementing Callable
Gustavo Martin Morcuende [Thu, 5 Nov 2015 00:19:17 +0000 (01:19 +0100)]
Threads: using lambda expressiones instead of implementing Callable

9 years agoThreads: futuretask and timerschedule examples
Gustavo Martin Morcuende [Thu, 5 Nov 2015 00:12:38 +0000 (01:12 +0100)]
Threads: futuretask and timerschedule examples

9 years agoequals-hashcode: what is it for (HashSet relation)
Gustavo Martin Morcuende [Sun, 4 Oct 2015 20:19:54 +0000 (22:19 +0200)]
equals-hashcode: what is it for (HashSet relation)

9 years agoCAS: cas and cas-management
Gustavo Martin Morcuende [Sun, 4 Oct 2015 14:41:50 +0000 (16:41 +0200)]
CAS: cas and cas-management

For being used with my centos-httpd-cas and centos-tomcat-cas docker containers.

9 years agoSpringJava REST: CarController, commit related to
Gustavo Martin Morcuende [Tue, 8 Sep 2015 23:39:35 +0000 (01:39 +0200)]
SpringJava REST: CarController, commit related to

https://github.com/gumartinm/JavaScriptForFun/commit/ee9f818b18022b98b185cc1938a0302381c89329

9 years agoREST: Spring REST project for trying out AngularJS $http
Gustavo Martin Morcuende [Tue, 25 Aug 2015 18:57:49 +0000 (20:57 +0200)]
REST: Spring REST project for trying out AngularJS $http

9 years agoDate parsing using Java 8
Gustavo Martin Morcuende [Wed, 20 May 2015 00:03:06 +0000 (02:03 +0200)]
Date parsing using Java 8

9 years agoMybatis child mapper extending from parent
Gustavo Martin Morcuende [Thu, 23 Apr 2015 01:42:46 +0000 (03:42 +0200)]
Mybatis child mapper extending from parent

9 years agoSymfony (kind of) validators: required check for null value in postvalidator
Gustavo Martin Morcuende [Sun, 19 Apr 2015 04:33:21 +0000 (06:33 +0200)]
Symfony (kind of) validators: required check for null value in postvalidator

Without this check I could use lambda expression.
In normal cases I shouln't need to check for null value in postvalidator because
validations where performed by the validators classes.

9 years agoValidators Symfony (kind of) implementation
Gustavo Martin Morcuende [Sun, 19 Apr 2015 03:40:21 +0000 (05:40 +0200)]
Validators Symfony (kind of) implementation

9 years agoMyBatis: BATCH operations
Gustavo Martin Morcuende [Fri, 20 Mar 2015 02:50:28 +0000 (03:50 +0100)]
MyBatis: BATCH operations

9 years agoPseudo batch update with CASE should work on any data base.
gu.martinm@gmail.com [Wed, 4 Mar 2015 10:58:41 +0000 (11:58 +0100)]
Pseudo batch update with CASE should work on any data base.

9 years agoPseudo batch update with CASE
gu.martinm@gmail.com [Wed, 4 Mar 2015 10:24:41 +0000 (11:24 +0100)]
Pseudo batch update with CASE

9 years agoBatch update (kind of) MyBatis
Gustavo Martin Morcuende [Wed, 4 Mar 2015 02:30:16 +0000 (03:30 +0100)]
Batch update (kind of) MyBatis

9 years agoMyBatis, dynamically generating SQL code in Java: the SQL Builder Class.
Gustavo Martin Morcuende [Mon, 23 Feb 2015 22:49:08 +0000 (23:49 +0100)]
MyBatis, dynamically generating SQL code in Java: the SQL Builder Class.

9 years agoMerge branch 'master' of https://github.com/gumartinm/JavaForFun
Gustavo Martin Morcuende [Sun, 22 Feb 2015 20:10:22 +0000 (21:10 +0100)]
Merge branch 'master' of https://github.com/gumartinm/JavaForFun

Conflicts:
MyBatis/MyBatis-Spring/src/main/resources/spring-config.xml

9 years agoUsing liquibase for DDL and DML statements.
Gustavo Martin Morcuende [Sun, 22 Feb 2015 20:04:29 +0000 (21:04 +0100)]
Using liquibase for DDL and DML statements.

9 years agoMyBatis-Spring: my first custom mapper
Gustavo Martin Morcuende [Fri, 16 Jan 2015 07:14:54 +0000 (08:14 +0100)]
MyBatis-Spring: my first custom mapper

9 years agoGet ID after INSERT, otherwise error because I am not using SEQUENCES.
Gustavo Martin Morcuende [Sat, 27 Dec 2014 23:34:37 +0000 (00:34 +0100)]
Get ID after INSERT, otherwise error because I am not using SEQUENCES.

9 years agoTDD examples
Gustavo Martin Morcuende [Wed, 26 Nov 2014 08:14:03 +0000 (09:14 +0100)]
TDD examples

10 years agoWeatherInformatin can be found in this new repository:
Gustavo Martin Morcuende [Sun, 16 Nov 2014 17:22:34 +0000 (18:22 +0100)]
WeatherInformatin can be found in this new repository:

https://github.com/gumartinm/AndroidWeatherInformation

10 years agoWeatherInformation: remove unused strings
Gustavo Martin Morcuende [Sun, 16 Nov 2014 16:11:29 +0000 (17:11 +0100)]
WeatherInformation: remove unused strings

10 years agoWeatherInformation: tabs text as string resource
Gustavo Martin Morcuende [Sun, 16 Nov 2014 16:01:15 +0000 (17:01 +0100)]
WeatherInformation: tabs text as string resource

10 years agoWeatherInformation: remove TODO from MapActivity
Gustavo Martin Morcuende [Sun, 16 Nov 2014 15:49:40 +0000 (16:49 +0100)]
WeatherInformation: remove TODO from MapActivity

10 years agoWeatherInformation: update serial version UID
Gustavo Martin Morcuende [Sun, 16 Nov 2014 15:40:03 +0000 (16:40 +0100)]
WeatherInformation: update serial version UID

10 years agoWeatherInformation: http client agent string as resource
Gustavo Martin Morcuende [Sun, 16 Nov 2014 15:29:32 +0000 (16:29 +0100)]
WeatherInformation: http client agent string as resource

10 years agoWeatherInformation: there are no tests (at the moment)
Gustavo Martin Morcuende [Sun, 16 Nov 2014 15:21:30 +0000 (16:21 +0100)]
WeatherInformation: there are no tests (at the moment)

10 years agoWeatherInformation: updating class names
Gustavo Martin Morcuende [Sun, 16 Nov 2014 15:14:40 +0000 (16:14 +0100)]
WeatherInformation: updating class names

10 years agoWeatherInformation: remove unused xml file
Gustavo Martin Morcuende [Sun, 16 Nov 2014 15:04:57 +0000 (16:04 +0100)]
WeatherInformation: remove unused xml file

10 years agoWeatherInformation: WidgetIntentService remove unused method
Gustavo Martin Morcuende [Sun, 16 Nov 2014 14:56:44 +0000 (15:56 +0100)]
WeatherInformation: WidgetIntentService remove unused method

10 years agoWeatherInformation: removing old useless main.xml file
Gustavo Martin Morcuende [Sun, 16 Nov 2014 02:41:27 +0000 (03:41 +0100)]
WeatherInformation: removing old useless main.xml file

10 years agoWeatherInformation: license and third party licenses
Gustavo Martin Morcuende [Sun, 16 Nov 2014 02:41:02 +0000 (03:41 +0100)]
WeatherInformation: license and third party licenses

10 years agoWeatherInformation: service and jpos current and forecast parsers
Gustavo Martin Morcuende [Sun, 16 Nov 2014 00:08:31 +0000 (01:08 +0100)]
WeatherInformation: service and jpos current and forecast parsers

10 years agoWeatherInformation: using package name.gumartinm.weather.information
Gustavo Martin Morcuende [Sat, 15 Nov 2014 14:52:00 +0000 (15:52 +0100)]
WeatherInformation: using package name.gumartinm.weather.information

10 years agoWeatherInformation: remove API key information from manifest
Gustavo Martin Morcuende [Sat, 15 Nov 2014 01:35:53 +0000 (02:35 +0100)]
WeatherInformation: remove API key information from manifest

10 years agoWeatherInformation: new package definition, com.weather.information
Gustavo Martin Morcuende [Sat, 15 Nov 2014 01:34:37 +0000 (02:34 +0100)]
WeatherInformation: new package definition, com.weather.information

10 years agoWeatherInformation: removing TODOs
Gustavo Martin Morcuende [Thu, 13 Nov 2014 01:50:50 +0000 (02:50 +0100)]
WeatherInformation: removing TODOs

10 years agoWeatherInformation: sun rise/set is shown using the phone's Timezone
Gustavo Martin Morcuende [Thu, 13 Nov 2014 00:59:39 +0000 (01:59 +0100)]
WeatherInformation: sun rise/set is shown using the phone's Timezone

10 years agoWeatherInformation: removing TODOs
gu.martinm@gmail.com [Wed, 12 Nov 2014 20:43:49 +0000 (21:43 +0100)]
WeatherInformation: removing TODOs

10 years agoWeatherInformation: JPOSWeatherParser, missing equals and Snow
gu.martinm@gmail.com [Wed, 12 Nov 2014 20:17:22 +0000 (21:17 +0100)]
WeatherInformation: JPOSWeatherParser, missing equals and Snow

10 years agoWeatherInformation: current view, fixed error
gu.martinm@gmail.com [Wed, 12 Nov 2014 19:56:22 +0000 (20:56 +0100)]
WeatherInformation: current view, fixed error

10 years agoWeatherInformation: sun rise/set time UTC
gu.martinm@gmail.com [Wed, 12 Nov 2014 19:30:06 +0000 (20:30 +0100)]
WeatherInformation: sun rise/set time UTC

10 years agoWeatherInformation: current view, fixed error
gu.martinm@gmail.com [Wed, 12 Nov 2014 19:11:57 +0000 (20:11 +0100)]
WeatherInformation: current view, fixed error

10 years agoWeatherInformation: licenses activity
Gustavo Martin Morcuende [Mon, 10 Nov 2014 23:18:02 +0000 (00:18 +0100)]
WeatherInformation: licenses activity

10 years agoWeatherInformation: app activity, improvements
Gustavo Martin Morcuende [Tue, 4 Nov 2014 03:02:57 +0000 (04:02 +0100)]
WeatherInformation: app activity, improvements

10 years agoWeatherInformation: About activity
Gustavo Martin Morcuende [Mon, 3 Nov 2014 03:15:29 +0000 (04:15 +0100)]
WeatherInformation: About activity

10 years agoWeatherInformation: improvements in widget configuration layout
Gustavo Martin Morcuende [Mon, 3 Nov 2014 01:33:46 +0000 (02:33 +0100)]
WeatherInformation: improvements in widget configuration layout

10 years agoWeatherInformation: strange weather condition code 01dd
Gustavo Martin Morcuende [Sat, 1 Nov 2014 02:27:49 +0000 (03:27 +0100)]
WeatherInformation: strange weather condition code 01dd

see: http://openweathermap.org/img/w/01dd.png
There is no documentation about it but sometimes I am receiving it.

10 years agoWeatherInformation: widget, remove storaged data on delete widget
Gustavo Martin Morcuende [Sat, 1 Nov 2014 02:10:52 +0000 (03:10 +0100)]
WeatherInformation: widget, remove storaged data on delete widget

10 years agoWeatherInformation: widget, refresh stores to permanent storage
Gustavo Martin Morcuende [Sat, 1 Nov 2014 01:30:53 +0000 (02:30 +0100)]
WeatherInformation: widget, refresh stores to permanent storage

10 years agoWeatherInformation: specific layout improvements
Gustavo Martin Morcuende [Fri, 31 Oct 2014 02:31:05 +0000 (03:31 +0100)]
WeatherInformation: specific layout improvements

10 years agoWeatherInformation: specific fragment layout, improvement.
Gustavo Martin Morcuende [Thu, 30 Oct 2014 04:24:30 +0000 (05:24 +0100)]
WeatherInformation: specific fragment layout, improvement.

10 years agoWeatherInformation: widget update and refresh, right behaviour
Gustavo Martin Morcuende [Thu, 30 Oct 2014 02:58:02 +0000 (03:58 +0100)]
WeatherInformation: widget update and refresh, right behaviour

10 years agoWeatherInformation: widget configuration no using PreferenceFragment
Gustavo Martin Morcuende [Sun, 26 Oct 2014 23:21:26 +0000 (00:21 +0100)]
WeatherInformation: widget configuration no using PreferenceFragment

10 years agoWeatherInformation: widget configuration new layout WIP
Gustavo Martin Morcuende [Fri, 24 Oct 2014 03:10:49 +0000 (05:10 +0200)]
WeatherInformation: widget configuration new layout WIP

10 years agoWeatherInformation: widget background no more spurious line
Gustavo Martin Morcuende [Wed, 22 Oct 2014 01:35:13 +0000 (03:35 +0200)]
WeatherInformation: widget background no more spurious line

It was the Draw 9-patch. See: http://developer.android.com/tools/help/draw9patch.html

10 years agoWeatherInformation: widget background with spurious is not fun.
Gustavo Martin Morcuende [Wed, 22 Oct 2014 01:28:11 +0000 (03:28 +0200)]
WeatherInformation: widget background with spurious is not fun.

10 years agoWeatherInformation: update widgets when new location
Gustavo Martin Morcuende [Tue, 21 Oct 2014 23:49:40 +0000 (01:49 +0200)]
WeatherInformation: update widgets when new location

10 years agoWeatherInformation: improvements in settings activities
Gustavo Martin Morcuende [Tue, 21 Oct 2014 01:18:10 +0000 (03:18 +0200)]
WeatherInformation: improvements in settings activities

10 years agoWeatherInformation: widget update view with configuration
Gustavo Martin Morcuende [Tue, 21 Oct 2014 00:23:43 +0000 (02:23 +0200)]
WeatherInformation: widget update view with configuration

10 years agoWeatherInformation: no time for comments
Gustavo Martin Morcuende [Mon, 20 Oct 2014 01:49:50 +0000 (03:49 +0200)]
WeatherInformation: no time for comments