schmonz.com is a Fediverse instance that uses the ActivityPub protocol. In other words, users at this host can communicate with people that use software like Mastodon, Pleroma, Friendica, etc. all around the world.

This server runs the snac software and there is no automatic sign-up process.

Search results for tag #Java

Ted M. Young »
@jitterted@sfba.social

_Event-Sourcing Example App_

Join me in 1 hour (18:00 UTC) as I continue work on JitterTix, an example app demonstrating how to do in (and ) without ES libraries, but with .

jitterted.stream

Source code is at github.com/jitterted/jittertic

    Ted M. Young »
    @jitterted@sfba.social

    _Event-Sourcing Example App_

    I've been having a lot of fun working on JitterTix, an example app demonstrating how to do in (and ) without ES libraries.

    Join me at 18:00 UTC today, at jitterted.stream. Repo is github.com/jitterted/jittertic

      Ted M. Young »
      @jitterted@sfba.social

      _Event-Sourcing Example App_

      I've been having a lot of fun working on JitterTix, an example app demonstrating how to do in (and ) without ES libraries.

      Join me at 18:00 UTC Wed & Thur, at jitterted.stream. Repo is github.com/jitterted/jittertic

        Leanpub »
        @leanpub@mastodon.social

        Big Kotlin pack leanpub.com/b/kotlin_mm by Marcin Moskała is the featured bundle of ebooks 📚 on the Leanpub homepage! leanpub.com

          Michael Simons »
          @rotnroll666@mastodon.social

          24, avoid import like a pro with 458, 476 and 477…

          openjdk.org/jeps/458
          openjdk.org/jeps/476
          openjdk.org/jeps/477

          A screenshot of a Java program that uses the Neo4j JDBC driver to read records from a database, 3 panes, left to right:
* On the class path, listing individual imports
* On the module path, using preview feature module import declaration (JEP 476), omitting individual imports
* On the module path, as implicit declared class, omitting the the java.base import (there by default), and java.sql (required by neo4j jdby anyway)

          Alt...A screenshot of a Java program that uses the Neo4j JDBC driver to read records from a database, 3 panes, left to right: * On the class path, listing individual imports * On the module path, using preview feature module import declaration (JEP 476), omitting individual imports * On the module path, as implicit declared class, omitting the the java.base import (there by default), and java.sql (required by neo4j jdby anyway)

            Ted M. Young »
            @jitterted@sfba.social

            _JitterTix Event-Sourcing Example_

            This week I'll continue working on my JitterTix, an example app for demonstrating how to do in without any ES libraries.

            Join me at 18:00 UTC Mon-Thurs, at jitterted.stream. The repo is github.com/jitterted/jittertic

              Programming Quotes » 🤖
              @programming_quotes@mastodon.social

              If Java had true garbage collection, most programs would delete themselves upon execution.

              — Robert Sewell

                Ted M. Young »
                @jitterted@sfba.social

                1. Example code for my "TDDing Event-Sourcing" talk (hope it gets accepted at some future conferences!)

                2. A platform for experimenting with different ways of implementing event-sourcing in (w/o libraries)

                3. Folks in my community asked for an example! (❤️ my community)

                  Ted M. Young »
                  @jitterted@sfba.social

                  _JitterTix Concert Ticketing System_

                  On my live coding stream this week I've been working on a simple concert event ticketing system that is based on . I have several reasons I've been doing this (putting my Game on hold).

                    Oliver Drotbohm »
                    @odrotbohm@chaos.social

                    People: “Don't use ’s (At)Data on entities! equals(…) and hashCode() will be wrong!” (For the record: I agree.)

                    Also people: “Here's how you use records to implement entities.”

                    🤷‍♂️

                      Tim »
                      @javahippie@freiburg.social

                      Gerade nach einer Diskussion getestet: Wenn man ChatGPT nach einer JPA Entity mit Lombok Support fragt, erzeugt es exakt die Code-Konstellation vor der alle Blogs zu dem Thema warnen – eine @Data Annotation an der Entity. Damit ist es ungefähr so gut wie Junior Developer die kein Google benutzen.

                      import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.*;
import java.util.List;

@Entity
@Table(name = "person")
@Data  // Lombok generiert Getter, Setter, toString, equals und hashCode
@NoArgsConstructor  // NoArgsConstructor für JPA (Standardkonstruktor)
public class Person {

    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name = "id")
    private Long id;

                      Alt...import lombok.Data; import lombok.NoArgsConstructor; import javax.persistence.*; import java.util.List; @Entity @Table(name = "person") @Data // Lombok generiert Getter, Setter, toString, equals und hashCode @NoArgsConstructor // NoArgsConstructor für JPA (Standardkonstruktor) public class Person { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) @Column(name = "id") private Long id;