Foojay Today

Jenkins Cluster for Continuous Integration and Delivery (CI/CD) inside Jelastic PaaS

In this article, we’ll describe how to install Jenkins cluster with slave nodes auto-discovering and self-registering inside a master node.

Jelastic PaaS implemented this solution in Jenkins DevOps Pack that can be installed from the Marketplace or through environment setup wizard as a New Environment.

In this tutorial we’ll cover both. Also, you will find out how to build a simple Java project hosted on GitHub using Jelastic Maven plugin.

Tetiana Fydorenchyk
Read more
  • Creating a JavaFX World Clock from Scratch (Part 4)

    Hello and welcome to Part 4 of a series of blog entries on how I created a “sci-fi” looking world clock using JavaFX. If you are new to this series you can visit Part 1, 2, & 3.

    If you’ve been following me to this point take a moment to stand up, breath, take a bow and then pat yourself on the back. You are more than half way through the series.

    In Part 4 I will be fast forwarding my progress of the JFX World Clock and jump right into how to build and create an installer that you can distribute. I will be using a new Java build tool called Bach by Christian Stein @sormuras. Later on, I will also show you my original build approach using the Maven build tool.

    Read more
  • Changing a Field’s Type in Recent JDKs

    A couple of years ago, I attended a talk by my former colleague (but still friend) Volker Simonis. It gave me the idea to dig a bit into the subject of how to secure the JVM. From the material, I created a series of blog posts as well as a talk.

    From that point on, I submitted the talk at meetups and conferences, where it was well-received. Because I like to explore different areas, I stopped to submit other proposals. Still, the talk is in my portfolio, and it was requested again in 2021. I have already presented it twice since the beginning of the year at the time of this writing.

    It allowed me to update the demo with version 16 of the JDK. In this blog post, I want to share some findings regarding the security changes regarding changing a field’s type across JDK versions.

    Read more
  • Getting Started with Jakarta EE 9: Hello World

    The release of Jakarta EE 9, at the end of 2020, was in many ways a historic event. The Java Enterprise framework is already 20 years old, having its first release in 1999. It has changed names a few times but the main concepts of the first release can still be found in this new release. During all those years, it has adapted itself to keep it up to date but has always adhered to its main principle of stability and backward compatibility.

    Regarding backward compatibility, this release was also historic as the namespaces changed (like package names that changed from ‘javax’ to ‘jakarta’). The change is straightforward, no other changes are introduced between Jakarta EE 8 and EE 9.  This to make the migration as easy as possible.

    Jadon Ortlepp
    Rudy De Busscher
    Read more
  • Java 16 and IntelliJ IDEA

    If you are still working with Java 8, you might have mixed feelings about the news of the release of Java 16. However, you’ll see these numbers are going to increment at a much faster and predictable rate with Java’s six-month release cadence.

    I’m personally excited about Java 16! It adds Records and Pattern Matching for instanceof as standard language features with Sealed classes continuing to be a preview feature (in the second preview).

    Fun fact – Records was voted the most popular Java 16 language feature by 1158 developers in this Twitter poll, with Pattern Matching for instanceof second.

    In this blog post, I will limit coverage of Java 16 to its language features, why you need them, and how you can start using them in IntelliJ IDEA. You can use this link for a comprehensive list of the new Java 16 features. Let’s get started.

    Mala Gupta
    Read more
  • Creating a JavaFX World Clock from Scratch (Part 3)

    Do you ever get bored of the plain old UI Forms? Often, UI forms will have nice visual cues and validation icons as feedback when the user has typed something incorrectly.

    In Part 3, I’ll be discussing the UI form section of the JavaFX World Clock that allows the user to add and modify timezone locations. While building Java apps using the new module system can be a bit of a challenge, here I will show you how I was able to successfully build a modern MVC based JavaFX UI!

    Read more
  • Java Ecosystem Survey 2021

    Just like in 2020, Snyk is creating a comprehensive Java 2021 report that reflects the state of the JVM ecosystem.

    Together with our partner Azul, we would like your input on how you use Java and the JVM ecosystem.

    By submitting your answers to this survey, you are not only helping the community by sharing your data, but you can also help our charity goal for this year.

    Read more
  • Java Records: Data Carrier Classes

    Professional Java developers need immutable data carrier-classes for communication with databases and web Services. We need to write a lot of boilerplate code to create a simple data carrier-class, we typically implement constructor, accessors, equals(), hashCode(), and toString(). This process is repetitive and error-prone. Developers also complain “Java is too verbose”.

    Record classes provide a way to model data in Java. An example of data is a row in a database table. This feature simplifies coding, makes Java code more concise and readable, increasing productivity for professional Java developers. Java14 introduced Records as a preview feature, Java15 brings in some updates as a second preview, and Java16 makes it a final feature, no changes will be needed for Records after this.

    Vipin Sharma
    Read more
  • Keeping Pace with Java Using Eclipse IDE

    The Java language has been evolving at a fast pace with a six month release cadence and preview features.

    With faster Java releases, it’s an exciting time to be a Java developer. Every new release of Java promises interesting features and updates.

    To give them a spin, you have the tooling support in Eclipse Java IDE ready at your disposal.

    Read more
  • A (Definitive?) Guide to LazyInitializationException

    Posts that have been written about Hibernate’s LazyInitializationException could probably fill whole books.

    Yet, I believe each of them focuses on a particular aspect of it: some on a specific solution, some on how to solve it with Spring Boot, etc.

    I’d like this post to be the definitive guide on the subject, even though I’m pretty sure it won’t.

    At least, I’ll be able to point others to it!

    Read more
  • Fabiane Bizinella Nardon Talks about Machine Learning and Disruptive Data Science

    I atttended sessions and spoke with Java Champion Fabiane Bizinella Nardon at many JavaOne conferences.

    I remember, in our conversations in the hallways, discussing various entrepreneurial ventures she was working on.

    One of the ideas was Tail Target. Fast forward almost a decade, and Tail Target has truly come to fruition.

    Read more

Subscribe to foojay updates:
Copied to the clipboard