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

  • Home
  • SEARCH
  • 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 6191075
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T02:42:01+00:00 2026-05-24T02:42:01+00:00

I read some articles about how to set up eclipse and maven to create

  • 0

I read some articles about how to set up eclipse and maven to create a new empty ear project but all solutions weren’t complete or are to old.

I believe that I need to create three pom.xml files / or three projects:

  1. client project with the WEB-APP structure (like a regular dynamic web project).
    This should result in a WAR file.
  2. server project with the ejbs. This should be a JAR file.
  3. ear project which joins both projects together.

I tried that with help of the integrated maven plugin in eclipse. Since (I believe Helios) maven is already integrated in eclipse. So I go to

file -> new -> maven -> maven project

and leave the “create a simple project” checkbox unchecked. On the next side I got the archetype catalog. To create the client project I looked for maven-archetype-webapp Version 1.0.
But all the folders like WebContent\META-INF etc. are missing.

So how can I create all three projects are build them together?

Thanks a lot,
Hauke

PS.: I read in question 5668710 about creating the project without maven and activate the dependency management. But is that the right way? I don’t think so.

  • 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-24T02:42:03+00:00Added an answer on May 24, 2026 at 2:42 am

    Creating the projects via console and importing them via m2eclipse would be the best way, as you can read it in the comments of your question.

    Start off with this line in your console

    mvn archetype:generate
    

    Then use the archetype maven-archetype-j2ee-simple

    This will generate you a project structure for ejb, ear and web projects. Otherwise you can create 3 simple projects maven-archetype-quickstart on your own and add the concering plugins

    • maven-ear-plugin
    • maven-ejb-plugin
    • maven-war-plugin

    Here is another post, handling your problem: Maven2: Best practice for Enterprise Project (EAR file)

    Another nice example you can find here

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

Sidebar

Related Questions

I just got Delphi 2009 and have previously read some articles about modifications that
So far I've read some blog articles about cloud computing and services for hosting
I've read some articles about writing composite components in JSF 2 and even about
I did some timing tests and also read some articles like this one (last
I read some source code of ZenTest but didn't find where it is implemented.
I've read some about .egg files and I've noticed them in my lib directory
I read some of the answers on here re: testing views and controllers, and
I read some properties from an xml file, amongst which is a string that
I need to read some large files (from 50k to 100k lines), structured in
I've read some MVC advice in the past regarding models stating that you should

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.