Posts

Showing posts with the label GUI

Why Micro frontends might fail as microservices

Image
Micro frontends were highly inspired by Microservices. So why not extend the same benefits from microservices to micro frontends, right? Things are a bit easier at the backend because we can actually have proper and real isolation . Meaning process/machine isolation, since we can distribute workloads in different machines. When we are looking into micro frontends is not the same deal. We also need to remember that microservices were highly inspired by SOA and Microservices are a flavor of SOA. Microservices are DEAD and in decline for the Backend, so it's interesting to see it's a major trend for the frontend. At the end of the day the Browser architecture did not change much and in the backend is much easier to have isolations and we have different flavors of isolations like Docker , UniKernels , MicroWorkers , etc... 

Annotations com Spring 2.5 + Thinlet

O Spring Framework a partir de sua versão 2.5 introduziu uma quantidade considerável de annotations a disposição do desenvolvedor. Ainda é possível usar a configuração clássica em XML, mas agora além dos recursos de anotações é possível mesclar os dois no mesmo código. Vou demonstrar através de um exemplo simples utilizando como GUI o Thinlet . O Thinlet é uma biblioteca que permite a criação de GUI através de definição em XML da interface, como se fosse um XUL, o que dá muita flexibilidade. O projeto de GUI está meio parado, acho que o ultimo release foi em 2005, mas mesmo assim, é uma biblioteca simples de se usar e principalmente muito leve. Foi utilizado o Spring Framework 2.5 mas pode ser usado qualquer versão do mesmo sendo 2.5.x. Vamos ver como utilizar algumas anotações que o Spring introduziu aos seus usuários. Também vou abordar como integrar o uso dessas anotações com o desenvolvimento em XML clássico. Dependências: spring framework 2.5.x commons-logging spring-...