Programming Brain

Articles, tutorials, and thoughts on software development

How to start a web server using Java

How to start a web server using Java

Do you want to start a basic HTTP server to serve the files in a directory on your machine using Java? If so, here's how. Available sinc...
What is JPA?

What is JPA?

JPA stands for Jakarta Persistence API (previously, Java Persistence API). It's an API specification for database connectivity in Java a...
What is a database connection pool?

What is a database connection pool?

A database connection pool stores ready-to-use database connections that threads can borrow when they need them, and return when they fin...
How to execute SQL queries from Java (and prevent SQL injections)

How to execute SQL queries from Java (and prevent SQL injections)

You need a Connection object. See the previous post to learn how to get one. With this object, simply build a new PreparedStatement , set ...
How to open and close JDBC connections

How to open and close JDBC connections

Get a JDBC driver for your database. For example, in the case of MariaDB databases, you can add the following to the pom.xml file (or down...
New YouTube channel on Programming (mostly Java)

New YouTube channel on Programming (mostly Java)

Recently, I joined MariaDB Corporation as a Developer Advocate. My job is to help software developers by creating useful content and enabli...
I'm joining MariaDB!

I'm joining MariaDB!

Some weeks ago I decided to accept a position as a Developer Advocate at MariaDB Corporation . As one of the public faces in the Vaadin com...
Testing MariaDB ColumnStore performance

Testing MariaDB ColumnStore performance

MariaDB 's ColumnStore is an engine that stores data in a columnar fashion. Although it shines in distributed architectures where you h...
Using Vaadin web components in HTML documents without frameworks

Using Vaadin web components in HTML documents without frameworks

Vaadin is a development platform for building web applications in Java. Although it includes a Java API ( Vaadin Flow ) that you can use to ...
New book - Practical Vaadin: Developing Web Applications in Java

New book - Practical Vaadin: Developing Web Applications in Java

I'm glad to announce the availability of my most recent book, Practical Vaadin: Developing Web Applications in Java  published by  Apres...

Designing an open-source Community Award

I had the pleasure to announce the Vaadin Community Award during Vaadin Dev Day Spring 2021 . This award is a way to recognize members of ...

Search

Popular Posts

Testing MariaDB ColumnStore performance

MariaDB 's ColumnStore is an engine that stores data in a columnar fashion…

How to call a Java method from a JavaScript function in the browser

In this video I demonstrate how to call a Java method that runs in the server f…

New book - Practical Vaadin: Developing Web Applications in Java

I'm glad to announce the availability of my most recent book, Practical Vaa…

Recent Comments

Contact Me