Welcome!

Alfredo Diaz

Subscribe to Alfredo Diaz: eMailAlertsEmail Alerts
Get Alfredo Diaz via: homepageHomepage mobileMobile rssRSS facebookFacebook twitterTwitter linkedinLinkedIn


Latest Blogs from Alfredo Diaz
As soon as you build an API including a few operations, you will realize that is hard to maintain code and documentation in sync. Therefore you can use a tool like Swagger. It can generate easly a high quality documentation for you. Swagger is both a specification and a framework imple...
JGIT-Flow Maven Plugin is an alternative to the old maven-release-plugin that supports git-flow via maven. The main benefit of using this plugin is that it handles git branches/tags, pom versions (both release and SNAPSHOTS), and builds the project after each merging/rebasing to ensure...
If you are using spring and mockito for testing you are likely to use the annotations @InjectMocks and @Mock. These annotations along with the static initializer MockitoAnnotations.initMocks(this), offer a way to inject mock beans into the spring beans. This technique has at least two ...
Spring Boot supports the use of YAML files to externalize configuration. YAML is a superset of JSON, human-readable and very convenient for specifying hierarchical configuration data. This is an example of yaml You may also want to use Spring Cloud ZooKeeper Config and having your conf...
Apache ZooKeeper is a centralized service for maintaining configuration information, naming, providing distributed synchronization, and providing group services. It is used as a cluster coordination service for demanding systems such as Hadoop, Kafka, Storm, Akka, Neo4j, Talend ESB and...
As a software engineer I usually find myself deciding whether to use existing tools or develop them on my own and to what extent. I have made my own checklist in order to help me to take those decisions. Best option: use an existing tool. These are some of the benefits versus developin...
This article explains how to know which JVM System Properties are actually being queried by libraries. Many libraries use system properties for settings. For example, you usually have to set a property to enable debug traces or to activate certain behaviors. However, sometimes system ...
therore-concurrent provides self-tuning thread-pools helping you to make the most of your system. Recently, I have been working in the optimization of an OLTP system. The software has a SEDA architecture (Staged Event Driven Architecture) with lots of threads doing little works. I had ...
Trace all calls to System.getProperty method Many libraries use system properties for settings.  For example, you usually have to set a property to enable debug traces or to activate certain behaviors.  However, sometimes system properties that are used are not well documented or you a...
Using a bit of WordPress …