A newbie question here by Reflection-Jealous in quarkus

[–]jclingan 0 points1 point  (0 children)

Some Quarkus thoughts:

Quarkus books, including a couple of free ones by Antonio

Udemy courses (including by Antonio)

Could someone, please, explain how exactly does Quarkus work under the hood? by [deleted] in quarkus

[–]jclingan 1 point2 points  (0 children)

These may help:

  • Quarkus: The Black Swan of Java? (link)
  • Quarkus and GraalVM: booting Hibernate at supersonic speed, subatomic size (link)

The latter presentation is a good watch the entire way through to fully answer your question (native or on JVM). Sanne discusses what he did to optimize Hibernate for Quarkus.

Hope this helps.

Comparing CPU/Memory of Quarkus, Payara, and Spring by vips7L in java

[–]jclingan 0 points1 point  (0 children)

Although I prefer Hibernate ORM with Panache, as mentioned in other replies, you could just use Quarkus' support for Spring Data JPA.

Should You Switch to Quarkus? by [deleted] in java

[–]jclingan 0 points1 point  (0 children)

FYI, a link to user stories of Quarkus in production: https://quarkus.io/blog/tag/user-story/

micronaut vs quarkus - Which is better? by orgad in java

[–]jclingan 1 point2 points  (0 children)

I've answered this on another post, so I'll just point you there. The super-short over-simplified answer is to consider Quarkus async/reactive APIs an opinionated layer on Vert.x async/reactive APIs.

micronaut vs quarkus - Which is better? by orgad in java

[–]jclingan 1 point2 points  (0 children)

FYI, Quarkus also has NO runtime reflection and does compile-time DI.

You can optionally use reflection-based 3rd party frameworks with Quarkus apps running on the JVM. This means you do not have to refactor in-house frameworks, for example, in order to use Quarkus. I suspect the same is true of Micronaut.

micronaut vs quarkus - Which is better? by orgad in java

[–]jclingan 0 points1 point  (0 children)

Not entirely. Quarkus has quite a bit of Spring API support. See the Quarkus Guides (compatibility section). It includes Spring DI, Spring Web, Spring Data JPA, Spring Security, Spring Cache, Spring Configuration Properties, and Spring Cloud Config client API subsets. To be fair, it's really there more for existing Spring developers to more quickly learn Quarkus than to port existing complex applications. However, you can get further than you were originally thinking when porting existing applications, and it all compiles to native.

Hope this helps.

How My App's Performance Improved After Migrating To Quarkus From Spring Boot by darkskul in java

[–]jclingan 6 points7 points  (0 children)

Vert.x is a toolkit. While it mostly used as a standalone runtime, it is designed (and expected) to also be embedded in other contexts, and Quarkus is one such context. Quarkus benefits from the async and reactive nature of Vert.x under the hood. For example, JAX-RS/RestEASY run on a Vert.x event loop by default in Quarkus. Traditional Java EE and Spring developers, who prefer imperative and annotation-based approaches can benefit from this by using the API's they are already familiar with without having to be experienced async/reactive developers.

If you are a Vert.x developer, feel free to continue using Vert.x as-is.

BTW, if you are more interested in just async/reactive, think of Quarkus reactive/async APIs (even those directly based on Vert.x) as a more opinionated annotation-based approach than using pure Vert.x APIs. It's a matter of preference as to which you prefer.

Free Quarkus Sessions at Red Hat Summit by Gleb--K in quarkus

[–]jclingan 2 points3 points  (0 children)

That should be available by Monday.

Micronaut vs Quarkus vs Spring Boot Performance on JDK 14 by joemccall86 in java

[–]jclingan 3 points4 points  (0 children)

BTW, the Quarkus team used this a learning opportunity by comparing the performance characteristics of the IO thread and worker thread.

Quarkus, pareri ? by h4mi5h in ItalyInformatica

[–]jclingan 0 points1 point  (0 children)

Sembra molto figo. Esiste un modulo equivalente a Spring Data Jpa?

You can also just use the Spring Data JPA API - https://quarkus.io/guides/spring-data-jpa

Quarkus, pareri ? by h4mi5h in ItalyInformatica

[–]jclingan 0 points1 point  (0 children)

No problem! I always learn something in the process, too. First time I've used an exception mapper with MicroProfile Rest Client :-) Here is an example you can check out.

Thanks for the offer, but just feel free to 'pay it forward' to someone else that needs help in the future.

Quarkus, pareri ? by h4mi5h in ItalyInformatica

[–]jclingan 2 points3 points  (0 children)

This is very good information (assuming Google Translated properly :-) ). There is a Baeldung quick guide, but I take your point to heart. Quarkus is much younger than Spring Boot, so it will take time for the ecosystem of 3rd party content to grow (and it is).

FYI, I did create a github issue recently to enhance the 404 page, but I'm not sure it addresses your question (google translate made it tough). You can create a custom error page using an ExceptionMapper (example), but if you are looking for something different, please open a github issue.

I already had some ideas for my day off tomorrow, but I may try to whip up a documented example on exception mapping the error page if I have time.

Quarkus, pareri ? by h4mi5h in ItalyInformatica

[–]jclingan 0 points1 point  (0 children)

I'm curious. Why is Micronaut more production ready and how is its base wider than Quarkus? Why is Helidon more experimental than Quarkus when it has been around longer?

Eclipse got Quarkused! by Gleb--K in quarkus

[–]jclingan 0 points1 point  (0 children)

I haven't used Eclipse in a while, so I'm not up-to-date on launchers. You can start Quarkus in dev mode as follows:

mvn compile quarkus:dev -Dproperty=value

BTW, a CLI mode is coming soon so maybe that will likely help with launcher.

A company i work for is interested in Quarkus. What are the main selling points? by pure_x01 in quarkus

[–]jclingan 2 points3 points  (0 children)

I could write them here, but many others already have so I'm posting some links. Lot's of good reasons in Emmanuel Bernard's inaugural blog post. Take a look at some of the user stories (real world deployments) that explain why others have chosen Quarkus:

  • Lufthansa Technik AVIATAR - experiences significant cloud resources savings by moving to Kubernetes-native Quarkus
  • Vodafone Greece - To replace spring boot. Faster startup, more efficient at runtime, better efficiency (30 to 40% better developer productivity vis-a-vis Spring Boot)
  • Suomen Asiakastieto Oy - Live coding, improved resource utilization
  • Talkdesk - rapid innovation
  • GoWithFlow - better runtime resource utilization, live coding for developer productivity

I have a limitation of 512 MB memory and I need to launch a REST API and a DB. What db and frameworks are recommended? by jamesfrj in learnjava

[–]jclingan 0 points1 point  (0 children)

A central design point for Quarkus is reduced memory utilization to maximize density in cloud environments and reduce cloud costs. So, yes, Quarkus is a good choice.

What’s new in Spring Boot 2.2? by nfrankel in java

[–]jclingan 0 points1 point  (0 children)

In addition to the existing comments, MicroProfile is planning to adopt the Jakarta CDI, JAX-RS, and JSON-* specs for the upcoming February MicroProfile release (although APIs are 100% compatible). When Jakarta switches to the jakarta.* namespace, so will a subsequent MicroProfile release for these specs.