Alternatives to Java 8 logo

Alternatives to Java 8

Scala, guava, RxJava, Thymeleaf, and Quarkus are the most popular alternatives and competitors to Java 8.
525
437
+ 1
0

What is Java 8 and what are its top alternatives?

It is a revolutionary release of the world’s no 1 development platform. It includes a huge upgrade to the Java programming model and a coordinated evolution of the JVM, Java language, and libraries. Java 8 includes features for productivity, ease of use, improved polyglot programming, security and improved performance.
Java 8 is a tool in the Java Tools category of a tech stack.

Top Alternatives to Java 8

  • Scala

    Scala

    Scala is an acronym for “Scalable Language”. This means that Scala grows with you. You can play with it by typing one-line expressions and observing the results. But you can also rely on it for large mission critical systems, as many companies, including Twitter, LinkedIn, or Intel do. To some, Scala feels like a scripting language. Its syntax is concise and low ceremony; its types get out of the way because the compiler can infer them. ...

  • guava

    guava

    The Guava project contains several of Google's core libraries that we rely on in our Java-based projects: collections, caching, primitives support, concurrency libraries, common annotations, string processing, I/O, and so forth. ...

  • RxJava

    RxJava

    A library for composing asynchronous and event-based programs by using observable sequences for the Java VM. ...

  • Thymeleaf

    Thymeleaf

    It is a modern server-side Java template engine for both web and standalone environments. It is aimed at creating elegant web code while adding powerful features and retaining prototyping abilities. ...

  • Quarkus

    Quarkus

    It tailors your application for GraalVM and HotSpot. Amazingly fast boot time, incredibly low RSS memory (not just heap size!) offering near instant scale up and high density memory utilization in container orchestration platforms like Kubernetes. We use a technique we call compile time boot. ...

  • Lombok

    Lombok

    It is a java library that automatically plugs into your editor and build tools, spicing up your java. Never write another getter or equals method again, with one annotation your class has a fully featured builder, Automate your logging variables, and much more. ...

  • JSF

    JSF

    It is used for building component-based user interfaces for web applications and was formalized as a standard through the Java Community ...

  • MyBatis

    MyBatis

    It is a first class persistence framework with support for custom SQL, stored procedures and advanced mappings. It eliminates almost all of the JDBC code and manual setting of parameters and retrieval of results. It can use simple XML or Annotations for configuration and map primitives, Map interfaces and Java POJOs (Plain Old Java Objects) to database records. ...

Java 8 alternatives & related posts

Scala logo

Scala

6.5K
4.9K
1.5K
A pure-bred object-oriented language that runs on the JVM
6.5K
4.9K
+ 1
1.5K
PROS OF SCALA
  • 187
    Static typing
  • 177
    Pattern-matching
  • 177
    Jvm
  • 170
    Scala is fun
  • 137
    Types
  • 93
    Concurrency
  • 88
    Actor library
  • 84
    Solve functional problems
  • 83
    Open source
  • 80
    Solve concurrency in a safer way
  • 42
    Functional
  • 22
    Generics
  • 22
    Fast
  • 17
    It makes me a better engineer
  • 15
    Syntactic sugar
  • 12
    Scalable
  • 10
    Type safety
  • 10
    First-class functions
  • 9
    Interactive REPL
  • 8
    Expressive
  • 7
    SBT
  • 6
    Implicit parameters
  • 6
    Case classes
  • 4
    Rapid and Safe Development using Functional Programming
  • 4
    Object-oriented
  • 4
    JVM, OOP and Functional programming, and static typing
  • 4
    Used by Twitter
  • 3
    Functional Proframming
  • 2
    Beautiful Code
  • 2
    Safety
  • 2
    Spark
  • 2
    Growing Community
  • 1
    DSL
  • 1
    Rich Static Types System and great Concurrency support
  • 1
    Naturally enforce high code quality
  • 1
    Mill build tool
  • 1
    Akka Streams
  • 1
    Akka
  • 1
    Reactive Streams
  • 1
    Easy embedded DSLs
  • 0
    Freedom to choose the right tools for a job
CONS OF SCALA
  • 9
    Slow compilation time
  • 5
    Multiple ropes and styles to hang your self
  • 3
    Too few developers available
  • 3
    Complicated subtyping
  • 1
    My coworkers using scala are racist against other stuff

related Scala posts

Shared insights
on
JavaJavaScalaScalaApache SparkApache Spark

I am new to Apache Spark and Scala both. I am basically a Java developer and have around 10 years of experience in Java.

I wish to work on some Machine learning or AI tech stacks. Please assist me in the tech stack and help make a clear Road Map. Any feedback is welcome.

Technologies apart from Scala and Spark are also welcome. Please note that the tools should be relevant to Machine Learning or Artificial Intelligence.

See more
Marc Bollinger
Infra & Data Eng Manager at Thumbtack · | 5 upvotes · 380.5K views

Lumosity is home to the world's largest cognitive training database, a responsibility we take seriously. For most of the company's history, our analysis of user behavior and training data has been powered by an event stream--first a simple Node.js pub/sub app, then a heavyweight Ruby app with stronger durability. Both supported decent throughput and latency, but they lacked some major features supported by existing open-source alternatives: replaying existing messages (also lacking in most message queue-based solutions), scaling out many different readers for the same stream, the ability to leverage existing solutions for reading and writing, and possibly most importantly: the ability to hire someone externally who already had expertise.

We ultimately migrated to Kafka in early- to mid-2016, citing both industry trends in companies we'd talked to with similar durability and throughput needs, the extremely strong documentation and community. We pored over Kyle Kingsbury's Jepsen post (https://aphyr.com/posts/293-jepsen-Kafka), as well as Jay Kreps' follow-up (http://blog.empathybox.com/post/62279088548/a-few-notes-on-kafka-and-jepsen), talked at length with Confluent folks and community members, and still wound up running parallel systems for quite a long time, but ultimately, we've been very, very happy. Understanding the internals and proper levers takes some commitment, but it's taken very little maintenance once configured. Since then, the Confluent Platform community has grown and grown; we've gone from doing most development using custom Scala consumers and producers to being 60/40 Kafka Streams/Connects.

We originally looked into Storm / Heron , and we'd moved on from Redis pub/sub. Heron looks great, but we already had a programming model across services that was more akin to consuming a message consumers than required a topology of bolts, etc. Heron also had just come out while we were starting to migrate things, and the community momentum and direction of Kafka felt more substantial than the older Storm. If we were to start the process over again today, we might check out Pulsar , although the ecosystem is much younger.

To find out more, read our 2017 engineering blog post about the migration!

See more
guava logo

guava

314
145
6
Google Core Libraries for Java 6+
314
145
+ 1
6
PROS OF GUAVA
  • 5
    Interface Driven API
  • 1
    Easy to setup
CONS OF GUAVA
    Be the first to leave a con

    related guava posts

    RxJava logo

    RxJava

    225
    125
    1
    Reactive Extensions for the JVM
    225
    125
    + 1
    1
    PROS OF RXJAVA
    • 1
      Reactive Libraries as per Reactive Manifesto
    CONS OF RXJAVA
      Be the first to leave a con

      related RxJava posts

      Thymeleaf logo

      Thymeleaf

      120
      164
      1
      A template engine for Java
      120
      164
      + 1
      1
      PROS OF THYMELEAF
      • 1
        Its delicous
      CONS OF THYMELEAF
        Be the first to leave a con

        related Thymeleaf posts

        I am consulting for a company that wants to move its current CubeCart e-commerce site to another PHP based platform like PrestaShop or Magento. I was interested in alternatives that utilize Node.js as the primary platform. I currently don't know PHP, but I have done full stack dev with Java, Spring, Thymeleaf, etc.. I am just unsure that learning a set of technologies not commonly used makes sense. For example, in PrestaShop, I would need to work with JavaScript better and learn PHP, Twig, and Bootstrap. It seems more cumbersome than a Node JS system, where the language syntax stays the same for the full stack. I am looking for thoughts and advice on the relevance of PHP skillset into the future AND whether the Node based e-commerce open source options can compete with Magento or Prestashop.

        See more
        Остап Комплікевич

        I need some advice to choose an engine for generation web pages from the Spring Boot app. Which technology is the best solution today? 1) JSP + JSTL 2) Apache FreeMarker 3) Thymeleaf Or you can suggest even other perspective tools. I am using Spring Boot, Spring Web, Spring Data, Spring Security, PostgreSQL, Apache Tomcat in my project. I have already tried to generate pages using jsp, jstl, and it went well. However, I had huge problems via carrying already created static pages, to jsp format, because of syntax. Thanks.

        See more
        Quarkus logo

        Quarkus

        108
        145
        39
        A Kubernetes Native Java stack tailored for OpenJDK HotSpot and GraalVM, crafted from the best of breed Java...
        108
        145
        + 1
        39
        PROS OF QUARKUS
        • 7
          Open source
        • 7
          Integrated with GraalVM
        • 6
          Fast startup
        • 6
          Low memory footprint
        • 5
          Produce native code
        • 4
          AOT compilation
        • 3
          Hot Reload
        • 1
          Reactive
        CONS OF QUARKUS
        • 1
          Boilerplate code when using Reflection

        related Quarkus posts

        Joshua Dean Küpper
        CEO at Scrayos UG (haftungsbeschränkt) · | 3 upvotes · 30.9K views

        We use Quarkus with native compilation in GraalVM for our global REST-API "Charon", that can be used by every developer to request user, server and game-data (protected through OAuth2). Quarkus offers a reliable framework, library and stack for high-quality APIs and integrates Vert.x into its core.

        GraalVM pushes the performance boundaries even further with the ability to perform ahead-of-time native compilation so we can reach an incredible small memory-footprint and fast bootup-times that we need for our microservices architecture.

        See more
        Lombok logo

        Lombok

        105
        48
        0
        Get rid of boilerplate code, Spice up your java
        105
        48
        + 1
        0
        PROS OF LOMBOK
          Be the first to leave a pro
          CONS OF LOMBOK
            Be the first to leave a con

            related Lombok posts

            JSF logo

            JSF

            102
            122
            3
            It is used for building component-based web interfaces
            102
            122
            + 1
            3
            PROS OF JSF
            • 1
              Rich and comprehensive Request Life-cycle
            • 1
              Very Mature UI framework
            • 1
              Server Side component
            CONS OF JSF
              Be the first to leave a con

              related JSF posts

              MyBatis logo

              MyBatis

              88
              92
              11
              SQL Mapper Framework for Java
              88
              92
              + 1
              11
              PROS OF MYBATIS
              • 4
                Easy to use
              • 2
                Integrated with Spring
              • 2
                Extensions
              • 2
                Flexible
              • 1
                Data-first support
              CONS OF MYBATIS
                Be the first to leave a con

                related MyBatis posts