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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T18:36:29+00:00 2026-05-27T18:36:29+00:00

I need to build java project. The project should include two modules: domain and

  • 0

I need to build java project. The project should include two modules: domain and web.
The domain module contains all the entities, the business logic and hibernate integration.
The web module should be depend on the domain module and contains web application using apache wicket.
I wonder about the maven usage.
Should I create a project and modules using maven? If so, how?
What kind of archetype are relevant for my project and modules?
What is better experience – create the project myself or use maven?

I am using intellij.

  • 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-27T18:36:30+00:00Added an answer on May 27, 2026 at 6:36 pm

    I’m assuming you don’t need a server for others to access your code,
    but rather, you want to use maven/ant for internal project
    organization/dependency resolution/source organization.

    Should I create a project and modules using maven?

    Yes, either maven or ant will be useful for any non-trivial Java or Java EE project with external dependencies, and build/testing requirements.

    If so, how?

    Either ant/maven will allow you to easily setup a platform independent “build” file, so that you can easily resolve dependencies, build your jar executables, and run unit tests in order by issuing a single command, rather than multiple clicks to different plugins in whatver the ide-of-the-month is. You can do this in eclipse using the maven plugin to create a new maven project, or , as you suggest, by creating an artifact by running the regular mvn install.

    What kind of archetype are relevant for my project and modules?

    To learn use maven-archetype-quickstart.
    For a regular (simple) j2ee app, try maven-archetype-webapp.
    There is also a j2ee archetype as well.

    What is better experience – create the project myself or use maven?

    A simple, 3-step, robust method for setting up a maven project :

    1) Use maven archetypes to create and setup your “hello world” project.

    2) Import the maven project into your ide as a java project.

    3) Edit/refine/fix code in your IDE, but use maven to build and test the whole application.

    Update: external web frameworks

    Creating a wicket (or gwt or any other framework) oriented web app will
    Be best done following specific tutorials related to the framework itself. In order to add theframework libs, just paste the maven info in your pom.xml like thus, and run a “mvn install” command :

    <dependency>
        <groupId>org.apache.wicket</groupId>
        <artifactId>wicket-core</artifactId>
        <version>1.5.3</version>
    </dependency>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

For homework, I need to build a small java application.The main goal is to
(java 1.5) I have a need to build up a String, in pieces. I'm
Are there any VNC Libraries for Java, I need to build a JSP/Servlet based
I received an java project, and I need to open it in Eclipse. I
I will be hosting a java project on SVN which will need to be
I have a java project consisting of three modules project-common project-a project-b Project a
I have a maven-java project (say Project A) with a parent defining modules in
I need to build a simple, single user database application for Windows. Main requirements
I need to build a managed DLL, targeted for x64, and expose it via
I need to build something that starts serving a H.264 encoded video to a

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.