31 March 2020

23 February 2020

Singleton Spring

Singleton Spring Beans are not like GoF Singleton design pattern.

Spring can have more than one if they have different id's, meanwhile, GoF only allows one instance of the class (object) in the complete classloader.

None option can solved some thread-safe issues that may appear by composition of other objects that are nor thread-safe, jdbc connections, http session, SimpleDateFormat, etc.

20 February 2020

Rules Workflow Constrains

Always there is the necessity to handle workflow, decisions, rules, validations.

The big question is to identify if we build it from scratch or we use different frameworks/tools/enterprise solutions for it.

This is a simple list (among others) of feasible options:

18 February 2020

AWS development

ir a para lista de servivios AWS

AWS Cloud Development Kit (CDK)
can create infrastructure with CDK and some best practices for creating reusable components.

Kinesis Client Library
You can develop a consumer application for Amazon Kinesis Data Streams using the Kinesis Client Library (KCL). Although you can use the Kinesis Data Streams API to get data from a Kinesis data stream, we recommend that you use the design patterns and code for consumer applications provided by the KCL.

There are v1 and v2.

AWS SDK for Java
Get started quickly using AWS with the AWS SDK for Java. The SDK helps take the complexity out of coding by providing Java APIs for AWS services including Amazon S3, Amazon ECS, DynamoDB, AWS Lambda, and more.

My Blog List

Blog Archive


The views expressed on this blog are my own and do not necessarily reflect the views of Oracle.