martes, febrero 14, 2017

https://herbertograca.com/2017/01/26/microservices-architecture/

The reality of software development is that the start point is never one where we fully understand the domain. We deepen our understanding of the domain as we go, and we have a constant need of refactoring...

viernes, febrero 03, 2017

WebService Client Generation Error with JDK8

java.lang.AssertionError: org.xml.sax.SAXParseException; systemId: jar:file:/path/to/glassfish/modules/jaxb-osgi.jar!/com/sun/tools/xjc/reader/xmlschema/bindinfo/binding.xsd; lineNumber: 52; columnNumber: 88; schema_reference: Failed to read schema document 'xjc.xsd', because 'file' access is not allowed due to restriction set by the accessExternalSchema property.

Well, I found the solution. (based on http://docs.oracle.com/javase/7/docs/api/javax/xml/XMLConstants.html#ACCESS_EXTERNAL_SCHEMA)

Create a file named jaxp.properties (if it doesn't exist) under /path/to/jdk1.8.0/jre/lib and then write this line in it:
 
javax.xml.accessExternalSchema = all
 
via stackoverflow

Dont use create use generate . Something like this

Cuando estes generando arquetipos con maven, recuerda que:

archetype:create is deprecated

Por tanto si buscas por intenet ejemplos de arquetivos, recuerdalo.

mvn archetype:generate 
 -DgroupId=com.tobilko 
 -DartifactId=site 
 -DarchetypeArtifactId=maven-archetype-webapp

Un ordenador hecho de ROM y RAM

miércoles, febrero 01, 2017

IRPF

Calculo de las retenciones del irpf para 2017, aqui hay un excel estupendo...

Y como calcular el bruto en base al neto mensual. Interesante como proceso de ingenieria inversa.