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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T23:19:04+00:00 2026-06-17T23:19:04+00:00

I have a custom web application project, where project and webapp are Eclipse projects.

  • 0

I have a custom web application project, where project and webapp are Eclipse projects. Assume a structure like the following

/project
    /webapp
        /_src
            /com.webapp.servlets
            /com.webapp.domain
            /com.webapp.services

Now I want to create java command line based tool to simulate the operations of a servlet. It’s going to require classes from my domain package. I also need to split this command line application from the web application project. I would also need to extract those shared classes into another project as well.

I would like to have this type of structure

    /project
        /webapp
            /_src
                /com.webapp.servlets                 
                /com.webapp.services
        /commandline
             /_src
                 /com.commandline.simulation
        /shared
             /_src
                /com.webapp.domain

How can I achieve this nested project structure with shared resources in Eclipse (Indigo)?

  • 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-06-17T23:19:05+00:00Added an answer on June 17, 2026 at 11:19 pm

    This was pretty simple. Create a new folder in your root project project. Then Create a Java Project but don’t use default location, use the new folder you created. This will create a new entry in your project explorer, but on the file system you will have nested projects.

    In projects that require resources from other projects just configure the build path by adding the projects you need,

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

Sidebar

Related Questions

I have a custom HttpModule rewrite engine in an existing web application project that
We have a .net 3.5 Web Application Project. It has a custom http handler
I have a web application with 2 projects: the website itself and a project
I have three web application projects that share a common library of custom server
I have created a custom grid module MySQLGrid using Web Application Project, assembly file
We have a custom PHP/MySQL web application that gets updated and copied (using SFTP)
I have a custom navigation menu for my SharePoint intranet web application which is
I'm working on a web application that will have a custom UI for the
We have a web application that has custom errors turned on so that users
has anybody tried using a custom classloader with BlazeDS? We have a web application

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.