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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T02:26:43+00:00 2026-05-16T02:26:43+00:00

There are few open source projects/APIs/libraries that we use in our project ( Spring,

  • 0

There are few open source projects/APIs/libraries that we use in our project (Spring, Struts, iBatis etc.) and I want to understand their design and how they work internally.

What is the best way to understand these projects? Note that I am already using these libraries in my project. And I know the input-output interaction/configurations for these libraries. What I don’t understand is how these APIs/libraries work internally.

The problems I face is:

  1. Finding the entry class of the library. Is there any way I can know the entry class for the library – something which is kicking the whole API?
  2. Tools/Plugins to use in Eclipse to get an overview of the design of the library. Going through each and every class of the library, can be a very daunting task. Is there any tool you would like to recommend which can generate the class diagrams of the API in Eclipse.

Thanks in advance!!


UPDATE: I need some inputs on eclipse plugins which can help me in getting an overview/class diagram of the library

  • 1 1 Answer
  • 3 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-16T02:26:44+00:00Added an answer on May 16, 2026 at 2:26 am

    I always use the same strategy for this: I never try to “understand” the code base as a whole, and I usually try to follow the request flow. I read enough of the documentation to determine what is necessary to use the application, and I read that code (Keep all source code loaded in your IDE).

    For example, in struts you’ll be installing a servlet filter in web.xml. Start reading the filter and follow the path a single request takes through your stack.

    Likewise for spring, there are two main entry points, the filter and “getBean”, both of which are mentioned real early in the documentation. Read those two.

    For both of these cases you’ll find one or two classes that represent the “core” of the framework real quickly. Read those really well and let actual use cases & needs drive your further exploration.

    Approaching “understanding” of an open source library (or any other code base for that matter) by trying to find all the pieces is usually not a very good way of approaching these things, it will usually just lead nowhere because a lot of these things contain too much code. When following the request flow I find making diagrams can also be quite distracting, it tends to draw attention/focus away from understanding (and since my understanding increases rapidly most of them are out-of-date even before they reach the printer).

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

Sidebar

Related Questions

There are a few various open source projects that I'm not particularly happy with,
Is there an open-source toolkit out there that has a few simple canvas drawing
There are a few windows service projects in our codebase that follow this model,
I downloaded a few open source c++ projects from the internet, which makes use
I'm finding a few open source projects, mostly older, that lack an .xcodeproj directory
Within my Subversion project I have a few directories that contain other open source
I have a project that is an open source application for a specific type
I have been looking round for an open-source CMS framework that I can use
I have tried to test a few Open source codes. The problem is that
I'm working with open source project (axil) that implements a scripting engine inside of

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.