<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/migrating-an-application-to-quarkus-a-graph-driven-approach-with-rgctl-m9ydyypwb" -->

---
title: Migrating an application to Quarkus: A Graph-Driven...
description: A detailed walkthrough demonstrates migrating a Java EE 7 CoolStore monolith from WebLogic to Quarkus using rgctl, a call-graph analysis tool. It covers...
canonical: https://daily.dev/posts/migrating-an-application-to-quarkus-a-graph-driven-approach-with-rgctl-m9ydyypwb
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Migrating an application to Quarkus: A Graph-Driven Approach with rgctl | daily.dev
og:description: A detailed walkthrough demonstrates migrating a Java EE 7 CoolStore monolith from WebLogic to Quarkus using rgctl, a call-graph analysis tool. It covers...
og:url: https://daily.dev/posts/migrating-an-application-to-quarkus-a-graph-driven-approach-with-rgctl-m9ydyypwb
og:image: https://api.daily.dev/og/posts/M9YdyYpwB.png
og:image:alt: Migrating an application to Quarkus: A Graph-Driven Approach with rgctl
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Migrating an application to Quarkus: A Graph-Driven Approach with rgctl

**[Shaaf](https://daily.dev/sources/shaaf)** · 17 min read · 0 upvotes · 0 comments

## Summary

A detailed walkthrough demonstrates migrating a Java EE 7 CoolStore monolith from WebLogic to Quarkus using rgctl, a call-graph analysis tool. It covers indexing the codebase, computing blast radius scores to identify risky classes, and generating a priority-ranked migration plan based on PageRank, harmonic centrality, and blast radius. The post then executes the migration step by step: converting javax to jakarta namespaces, replacing EJBs (@Stateless, @Stateful, @MessageDriven) with CDI equivalents, swapping JMS for SmallRye Reactive Messaging, and removing WebLogic-specific descriptors. It concludes with CI policy checks that fail builds when blast radius thresholds are exceeded.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://shaaf.dev/post/migrating-coolstore-monolith-to-quarkus-with-rgctl>

## Questions this post answers

### How do I migrate EJB @Stateful session beans to Quarkus since Quarkus has no EJB container?

Replace @Stateful EJBs with an @ApplicationScoped CDI bean backed by a ConcurrentHashMap keyed by session or cart ID, since Quarkus has no EJB container and @Stateful does not exist there. For production use, back the map with Redis or a database instead of in-memory storage, but the in-memory map preserves behavior for a straightforward migration.

_Teams planning a Quarkus migration can track stateful-bean replacement patterns like this on daily.dev._

### How do I replace JMS message-driven beans (@MessageDriven) when moving from WebLogic to Quarkus?

Replace @MessageDriven beans and the MessageListener interface with SmallRye Reactive Messaging using @Incoming annotated methods that accept the payload type directly (such as String) instead of unwrapping a JMS Message. The ActivationConfigProperty array and manual message parsing are removed entirely, with configuration handled through application.properties connectors like smallrye-kafka or smallrye-in-memory.

_Developers modernizing JMS-based EJBs toward reactive messaging can follow discussions like this on daily.dev._

### How can I determine which classes are safest to migrate first in a large Java EE monolith?

Use blast radius analysis, which computes an impact score from 0 to 100 based on strongly connected component decomposition of the call graph, showing direct callers and the full transitive impact zone for a given function. Classes invoked only through JNDI or JMS runtime dispatch, like a ShippingService reached via InitialContext.lookup, can score 0.0 since static analysis can't resolve those calls, making them ideal low-risk starting points.

_Engineers ordering monolith migrations by risk can follow blast-radius driven approaches like this on daily.dev._

## Similar posts on daily.dev

- [Automating application migration with MigIQ](https://daily.dev/posts/automating-application-migration-with-migiq-bmmgwjxu1) · Red Hat Developer · 1 upvotes · 0 comments
- [Java News Roundup: GraalVM, Jakarta Data, JNoSQL, Azul Payara, WildFly, Quarkus, Atmosphere](https://daily.dev/posts/java-news-roundup-graalvm-jakarta-data-jnosql-azul-payara-wildfly-quarkus-atmosphere-pwl21ckxq) · InfoQ · 10 upvotes · 0 comments

---

Tags: [#java](https://daily.dev/tags/java), [#quarkus](https://daily.dev/tags/quarkus), [#jakarta-ee](https://daily.dev/tags/jakarta-ee)

[View this post on daily.dev](https://daily.dev/posts/migrating-an-application-to-quarkus-a-graph-driven-approach-with-rgctl-m9ydyypwb)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Migrating an application to Quarkus: A Graph-Driven Approach with rgctl","url":"https://daily.dev/posts/migrating-an-application-to-quarkus-a-graph-driven-approach-with-rgctl-m9ydyypwb","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/migrating-an-application-to-quarkus-a-graph-driven-approach-with-rgctl-m9ydyypwb"},"datePublished":"2026-08-31T19:26:40.262Z","dateModified":"2026-08-31T20:03:02.205Z","description":"A detailed walkthrough demonstrates migrating a Java EE 7 CoolStore monolith from WebLogic to Quarkus using rgctl, a call-graph analysis tool. It covers...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/39747a4d1a4c00a4cca4800235ef61c5?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/39747a4d1a4c00a4cca4800235ef61c5?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Shaaf","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Shaaf","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/0b296c189bd840d99decdb5078460675","url":"https://daily.dev/sources/shaaf"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/migrating-an-application-to-quarkus-a-graph-driven-approach-with-rgctl-m9ydyypwb","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"java,quarkus,jakarta-ee","timeRequired":"PT17M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Shaaf","item":"https://daily.dev/sources/shaaf"},{"@type":"ListItem","position":3,"name":"Migrating an application to Quarkus: A Graph-Driven Approach with rgctl"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/migrating-an-application-to-quarkus-a-graph-driven-approach-with-rgctl-m9ydyypwb#faq","mainEntity":[{"@type":"Question","name":"How do I migrate EJB @Stateful session beans to Quarkus since Quarkus has no EJB container?","acceptedAnswer":{"@type":"Answer","text":"Replace @Stateful EJBs with an @ApplicationScoped CDI bean backed by a ConcurrentHashMap keyed by session or cart ID, since Quarkus has no EJB container and @Stateful does not exist there. For production use, back the map with Redis or a database instead of in-memory storage, but the in-memory map preserves behavior for a straightforward migration. Teams planning a Quarkus migration can track stateful-bean replacement patterns like this on daily.dev."}},{"@type":"Question","name":"How do I replace JMS message-driven beans (@MessageDriven) when moving from WebLogic to Quarkus?","acceptedAnswer":{"@type":"Answer","text":"Replace @MessageDriven beans and the MessageListener interface with SmallRye Reactive Messaging using @Incoming annotated methods that accept the payload type directly (such as String) instead of unwrapping a JMS Message. The ActivationConfigProperty array and manual message parsing are removed entirely, with configuration handled through application.properties connectors like smallrye-kafka or smallrye-in-memory. Developers modernizing JMS-based EJBs toward reactive messaging can follow discussions like this on daily.dev."}},{"@type":"Question","name":"How can I determine which classes are safest to migrate first in a large Java EE monolith?","acceptedAnswer":{"@type":"Answer","text":"Use blast radius analysis, which computes an impact score from 0 to 100 based on strongly connected component decomposition of the call graph, showing direct callers and the full transitive impact zone for a given function. Classes invoked only through JNDI or JMS runtime dispatch, like a ShippingService reached via InitialContext.lookup, can score 0.0 since static analysis can't resolve those calls, making them ideal low-risk starting points. Engineers ordering monolith migrations by risk can follow blast-radius driven approaches like this on daily.dev."}}]}
```

