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 6055101
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T08:13:36+00:00 2026-05-23T08:13:36+00:00

I am designing an application, which executes a series of plugins. A plugin’s execution

  • 0

I am designing an application, which executes a series of plugins. A plugin’s execution might/might not be dependent on another/other plugins execution. i.e some (not all) of the plugins expect other plugin(s) to be executed before it begins its execution.

I need to derive the correct order of execution such that no plugin gets executed before the plugin it’s depending on.

I believe graph theory can be used to solve this (plugins as vertex, dependency as edge, and derive execution order using some sort of traversal).

I am planning to use JGraphT since the application is being developed in Java.

Any help or pointers to solve the case ??? i am not expecting whole java code, any pointers about graph theory (algorithms to use) will be equally helpfull ….

Thanks !!!

[solution:] @Artium lead to the solution, this link shows a very similar implementation.

  • 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-23T08:13:37+00:00Added an answer on May 23, 2026 at 8:13 am

    I would suggest a topological sort.

    And after a quick check, it is easy to do with JGraphT.
    Also notice:

    For this iterator to work correctly the graph must be acyclic, and must not be modified during iteration. Currently there are no means to ensure that, nor to fail-fast; the results with cyclic input (including self-loops) or concurrent modifications are undefined. To precheck a graph for cycles, consider using CycleDetector or StrongConnectivityInspector.

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

Sidebar

Related Questions

I am designing an Android application which will be displaying some news that will
I'm designing a Java application using SWT. I have some tables which will display
I'm currently designing an application which I will ultimately want to move to Windows
I'm designing an application which will have a network interface for feeding out large
I am in the middle of designing a highly-scalable application which must store a
We are designing an online application (college admission form) which mandates the user to
I am designing a Client Server Chat application in Java which uses TCP connection
I am designing a web application using GWT currently, which is also the first
I'm designing an application that supports plugin development. Its more of a learning exercise.
I was just designing this application and made many .aspx files which have my

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.