Profile cover photo
Profile photo
Simon Martinelli
111 followers -
The Programming Architect
The Programming Architect

111 followers
About
Posts

Post has attachment
I decided to move my technical blog to my companies blog: https://72.services/blog/ Please update your bookmarks.
Add a comment...

Post has attachment
With JPA it’s possible to map Java enums to columns in a database table using the Enumerated annotation: @Enumerated private Color color; An enum can be mapped as an integer or a string but mapping of enums that contain state is not supported.…
Add a comment...

Post has attachment
Relational databases have tables and columns and object-oriented programming languages have classes and fields but they also provide inheritance. A concept that is not known in relational databases. JPA provides solutions to map inheritance to database…
Add a comment...

Post has attachment
I’m currently moving one of my Spring Boot applications from 1.5.9 to 2.0.0. The Application is written in Kotlin and after upgrading I’ve got java.lang.NoClassDefFoundError: kotlin/reflect/full/KClasses and java.lang.ClassNotFoundException:…
Add a comment...

Post has attachment
Often you don’t want to map all relationships in an entity model (a blog post about this topic in detail will follow). Let’s have a look at this class diagram: There is no mapping between PurchaseOrder and PurchaseOrderItem because there is no use case…
Add a comment...

Post has attachment
How to use URL Query Parameters in JSF
I had to access query parameters from a GET request in a JSF page. The URL looks like http://localhost:8080/tel/person=Martinelli and this should trigger a search. With ViewParam this is very easy to achieve: < f :metadata > < f:viewParam name ="person" val...
Add a comment...

Post has attachment
Apache Camel REST Endpoint and Servlet Name
Apache Camel provides a way to expose routes as REST endpoints: restConfiguration().component( "servlet" );

rest( "start" )
.get()
.route().routeId( "esb-parisbridge rest" )
.to( "direct:start" )
.setHeader(Exchange. HTTP_RE...
Add a comment...

Post has attachment
AWS EC2 Container Services: denied: Your Authorization Token has expired. Please run 'aws ecr get-login' to fetch a new one.
Today I tried to push my docker image to AWS but constantly get the error: denied: Your Authorization Token has expired. Please run 'aws ecr get-login' to fetch a new one. There seems to be a bug because when I looked at the generated key I saw docker login...
Add a comment...

Post has attachment
Vue.js and Spring Boot - A Perfect Combination
Last week while working for my client I had the problem that after a deployment not all services were running. We don't have a monitoring in place because the system isn't in production right now. So what to do? After looking at several monitoring tools I c...
Add a comment...

Post has attachment
How to Send Mails in ASP .NET 5 on Azure
Unfortunately neither SendGrid nor System.Net.Mail is supported in the actual version of ASP .NET 5 (RC). So how to send mails then? One solution is to use MailKit  https://github.com/jstedfast/MailKit To use MailKit just add "MailKit": "1.3.0-beta5" to you...
Add a comment...
Wait while more posts are being loaded