NPM and NodeJS Cheatsheet
Update NPM modules Update NPM
Update NPM modules Update NPM
Install on Windows Startup Guide Note: Windows 10 Pro or higher is required for Hyper-V — the install was recommended to be on the C: drive. Auto Install Check that your CPU virtualization is enabled Download minishift and extract it into a folder Add your user to the Hyper-V Administrators Open Command-Line as Admin User…
Problem In some projects we still may need to manually to reconnect to our JMS provider. For what ever reason the framework or the container cannot do the job for us. As so we have to ensure that an once registered JMS listener re-register itself if something bad happens. Note: Check first if your container…
Problem By default, the JSR 303 Bean validation doesn’t work together with Spring Boot Data REST HATEOAS. Even worse we are confronted with 500 errors like In our Solutions Imagin in the description that we have a bean-like this and of course a Spring Data repository: Link to the full source code. Solution 1: custom…
Nowadays everybody talks about cloud and Microservices. The JEE container isn’t that sexy anymore. With microprofile.io the JEE world started to move into the direction of a more lightweight structure. We should also mention docker and friends which changed the way we deploy and run applications now.
Problem We want to combine Spring and Angular use the Angular developing features but also be able to use the Spring IDE, in the end, everything should be build using maven and nicely packed into a JAR.Let’s get started. Overview Create a multi-module project Pack the frontend into an own JAR Include the frontend JAR…
IDE & Plugins Angular/ Text: https://code.visualstudio.com/ Plugins GitLens Angular v7 Snippets Angular Language Service Java: https://spring.io/tools Tools for Windows Command Line: http://cmder.net/ Text Editor: https://notepad-plus-plus.org/ Database Graphical DB client for Eclipse https://dbeaver.io/ Local PostgreSQL DB for Mac OS https://postgresapp.com/ Eclipse Increase icon size for large screens Eclipse autoscale comes with some examples. Basically quarter means leave it…
Problem Nowadays we have a screen with a resolution of 2560×1440 or 3440×1440 4K. The problem with Eclipse is, that all the icons and buttons stay very tiny and are hard to interact with. Solution The easiest solution is to adjust the eclipse.ini or STS.ini with the following parameters at the end: Fixed 200% scale…
Overview To enable Activiti in our JEE project the following steps are needed: Add the maven dependencies — include spring-context Add log4j configuration Add the activiti configuration for CDI integration activiti.cfg.xml Add your first activiti workflow Add an activiti compatible data source to your container Deploy and run it Git Project. Eclipse Plugin To install the…
The problem Sometimes we want to register a default Entity Listeners which are called as soon an entity is persisted, without adding the @EntityListeners annotation to our classes, as in most cases we anyway provide interfaces so we can access data on the entity itself. The problem is, that we cannot annotate our entity listener with…