Course – LSS – NPI EA (cat=Spring Security)
Yes, Spring Security can be complex, from the more advanced
functionality within the Core to the deep OAuth support in the
framework.
I built the security material as two full courses - Core and
OAuth, to get practical with these more complex scenarios. We
explore when and how to use each feature and code through it on
the backing project.
You can explore the course here:
>>
Learn Spring Security
Partner – DBSchema – NPI EA (tag = SQL)
DbSchema is a super-flexible database designer, which can
take you from designing the DB with your team all the way to
safely deploying the schema.
The way it does all of that is by using a design model, a
database-independent image of the schema, which can be shared in a
team using GIT and compared or deployed on to any database.
And, of course, it can be heavily visual, allowing you to
interact with the database using diagrams, visually compose
queries, explore the data, generate random data, import data or
build HTML5 database reports.
>> Take a look at
DBSchema
Partner – Aegik AB – NPI EA (tag = SQL)
Slow MySQL query performance is all too common. Of course
it is. A good way to go is, naturally, a dedicated profiler that
actually understands the ins and outs of MySQL.
The Jet Profiler was built for MySQL only, so it can do
things like real-time query performance, focus on most used tables
or most frequent queries, quickly identify performance issues and
basically help you optimize your queries.
Critically, it has very minimal impact on your server's
performance, with most of the profiling work done separately - so
it needs no server changes, agents or separate services.
Basically, you install the desktop application, connect to your MySQL
server, hit the record button, and you'll have results
within minutes:
>> Try
out the Profiler
Course – LSD – NPI EA (tag=Spring Data JPA)
Spring Data JPA is a great way to handle the complexity of
JPA with the powerful simplicity of Spring Boot.
Get started with Spring Data JPA through the guided reference
course:
>>
CHECK OUT THE COURSE
Partner – Digma – NPI EA (tag = Debugging)
Repeatedly, code that works in dev breaks down in production.
Java performance issues are difficult to track down or predict.
Simply put, Digma provides immediate code
feedback. As an IDE plugin, it identifies issues with your
code as it is currently running in test and prod.
The feedback is available from the minute you are writing
it.
Imagine being alerted to any regression or code smell as you're
running and debugging locally. Also, identifying weak spots that
need attending to, based on integration testing results.
>>
Enable code feedback in your IDE.
Of course, Digma is free for developers.
Partner – Bellsoft – NPI EA (cat = Spring/DevOps)
30% less RAM and a 30% smaller base image for running a Spring
Boot application? Yes, please.
Alpaquita Linux was designed to efficiently run containerized
Java applications.
It's meant to handle heavy workloads and do it well.
And the Alpaquita Containers incorporates Liberica JDK Lite, a
Java runtime tailored to cloud-based services:
>> Try
Alpaquita Containers now.
Partner – Lightrun – NPI EA (cat=Spring)
We rely on other people’s code in our own work. Every
day.
It might be the language you’re writing in, the framework you’re
building on, or some esoteric piece of software that does one thing
so well you never found the need to implement it yourself.
The problem is, of course, when things fall apart in
production - debugging the implementation of a 3rd party
library you have no intimate knowledge of is, to say the least,
tricky.
Lightrun is a new kind of debugger.
It's one geared specifically towards real-life production
environments. Using Lightrun, you can drill down into running
applications, including 3rd party dependencies, with real-time
logs, snapshots, and metrics.
Learn more in this quick, 5-minute Lightrun tutorial:
>> The
Essential List of Spring Boot Annotations and Their Use
Cases
Here we go…
1. Spring and Java
A quick write-up touching on a few nuances of writing handlers and routes in this exciting new functional approach to Spring Boot.
A solid primer on how garbage collection works in the JVM and a few tricks you can use to improve your application’s performance. Good stuff.
A nice tutorial that gradually builds an optimal solution to this problem, first in a native SQL query, and then in a JPQL criteria-based query. Very cool.
And, an interesting approach that uses a Groovy script to identify all files that have been changed since the last green build.
Also worth reading:
Webinars and presentations:
Time to upgrade:
2. Technical and Musings
If you absolutely can’t afford downtime, here are some great strategies to use when rolling out non-backward-compatible schema updates in conjunction with an application update.
Looks like some essential enhancements are coming soon to this browser-based VM, including reference types, exception handling, and garbage collection.
Also worth reading:
3. Comics
And my favorite Dilberts of the week:
4. Pick of the Week