Project Amber: Smaller, Productivity-Oriented Java Language Features

Brian Goetz‘s recent message Welcome to Amber! introduces Project Amber (part of OpenJDK and proposed originally in January). Goetz opens the message with the introduction, “Welcome to Project Amber, our incubation ground for selected productivity-oriented Java language JEPs.” Goetz reiterates that Project Amber is not for discussing ideas for arbitrary potential new language features, but rather is for collecting new ...

Read More »

What craftsmanship means to me

Over a decade ago now I got my first team lead role. It was a reasonably unexpected promotion when the existing team lead left shortly after I joined. This baptism of fire introduced me to line management, but also made me question my career choice. But it was, in hindsight, the beginning of a new journey: of becoming a software ...

Read More »

What do you mean… Done?

The Monday status meeting is drawing a close. Doris the development manager was keen to start working through a file of resumes on her desk, Sarah the lead developer knew her pair Jo had started coding without her, Peter the product manager was on a flight to Madrid in a couple of hours, but Pat… Pat the Project Manager was ...

Read More »

Distributing Election Volunteers In Polling Stations

There’s an upcoming election in my country, and I’m a member of the governing body of one of the new parties. As we have a lot of focus on technology (and e-governance), our internal operations are also benefiting from some IT skills. The particular task at hand these days was to distribute a number of election day volunteers (that help ...

Read More »

How to Set Up a Secure REST API with Spring

spring-interview-questions-answers

As you all know, Spring Boot is a toolkit that makes it super easy to quickly develop powerful web services. It is very modular and made to play well with other frameworks and tools. In this tutorial I am going to show you how easy it is to set up a RESTful API towards an existing SQL database by using ...

Read More »

The History and Future of Java Programming Language

Solve App Problems 10x Faster with AppDynamics – Monitor production apps at code-level depth with minimal overhead. Start a FREE Trial! As the internet’s renowned programming language, Java has had a profound impact on how people navigate the digital world. Much of what users expect in terms of performance from their devices that access the internet has been set by ...

Read More »

“Infinity” is a Bad Default Timeout

Many libraries wrap some external communication. Be it a REST-like API, a message queue, a database, a mail server or something else. And therefore you have to have some timeout – for connecting, for reading, writing or idling. And sadly, many libraries have their default timeouts set to “0” or “-1” which means “infinity”. And that is a very useless ...

Read More »

Spring Boot and Security Events with Actuator

spring-interview-questions-answers

Spring Boot Actuator provides auditing capabilities for publishing and listening to security related events in a Spring Boot application with Spring Security enabled. The default events are authentication success, authentication failure and access denied, but they can be extended with custom events. Make sure you have Spring Boot Security and Actuator enabled in your project <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-security</artifactId> </dependency> <dependency> ...

Read More »

Microservices Series: MicroProfile and Apache TomEE

java-interview-questions-answers

Introduction MicroProfile is an initiative started in September 2016 by group of prominent vendors to build a Microservices architecture based on JEE platform. The mission is to optimize Enterprise Java for a Microservices architecture. The developers can make use of this architecture to build and develop Microservices applications in a standardized way using Enterprise Java platform. The API building will ...

Read More »