Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6684613
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T04:57:38+00:00 2026-05-26T04:57:38+00:00

we have a SOA system built on top of EJB 3.0. we are manually

  • 0

we have a SOA system built on top of EJB 3.0. we are manually maintaining a “service overview map” which shows which business services call which domain services. this is tedious, error prone and nobody wants to do it :-/

that’s why i am looking for a way to automate the generation of these diagrams. i think code analysis is the way to go.

does anybody know of a tool that does good code analysis for java? i think of some kind of meta model which i can query to built the graph.

something like:

  1. parse all files from root dir xyz and built the meta model for each class
    a) e.g. which other classes does it use
    b) which classes use this class
    c) which interfaces does it implement
    d) what is it’s filename
    e) and so on, i guess you know what i mean
  2. give me a meta model of all the files you found (java/class)
  3. generate the graph (hand made)
  4. output the graph in “.dot” (directed graph) file format
  5. use the “dot” tool to generate the graph as png, pdf, svg…

we already have a simple solution by “grepping” through the files…. but this is not perfect.

any help would be appreciated

cheers
marcel

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T04:57:39+00:00Added an answer on May 26, 2026 at 4:57 am

    Hah. I wrote this exact system not one month ago for our EJB 2.0 behemoth. Here is what I did:

    • downloaded the Java Parser
    • wrote a recursive directory walker
    • wrote a tree-based data structure that allowed me to store dependencies.
    • wrote a .dot file outputter.

    It took me about a week and it proved very successful when I updated it to output the files as .svg images via the twopi engine; we can now navigate class diagrams in the browser to quickly identify areas of interest for potential refactoring, and are integrating it into our automated build environment.

    Drop me a pm if you need more info.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We have a Data Access service in our SOA WCF system. This service is
We currently have a system with 20 SOA services and having a single master
One of the tenets of SOA is: Services Are Autonomous. I have 2 services.
I'm refactoring legacy C++ system to SOA using gSoap. We have some performance issues
I have a system which is using Spring for dependency injection. I use annotation-based
Suppose I have 2 web services A and B in SOA project. Both web
We currently have a J2EE system implementing most of the OWASP top 10 security
I'm building a system which will have a few channels feeding different clients (MonoDroid,
We have developed SOA architecure for our intranet application, so our web-start java applications
I have been looking a lot at SOA recently. Isn't CORBA exactly the same

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.