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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T16:19:53+00:00 2026-05-17T16:19:53+00:00

What is the best Maven archetype to use on enterprise application in java using

  • 0

What is the best Maven archetype to use on enterprise application in java using EJB and JAX-RS, considering that in a near future i will have to make a front-end in JSF2 using as the backend EJBs used with the JAX-RS?

  • 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-17T16:19:54+00:00Added an answer on May 17, 2026 at 4:19 pm

    First of all, I personally think that there is no perfect archetype, archetypes are only a starting point and this is something important to keep in mind: use them as starting point.

    Then, picking one or the other depends on the targeted packaging structure (and don’t forget you can package EJBs in a WAR), what you plan to use, etc.

    In your case, you might be interested by the following archetypes (from codehaus):

    • the ear-javaee6 (Archetype for creating Java EE 6 EAR)
    • the ejb-javaee6 (Java EE 6 ejb jar archetype)
    • the webapp-javaee6 (Java EE 6 web application archetype)

    Or the following (from the Knappsack project)

    • jee6-basic (Empty application with just a bean that returns a message to a JSF page)
    • jee6-minimal (Includes a sample page to test JPA, JSF and validation)
    • jee6-sandbox (Comes with a JPA model pre-populated with data so you can experiment in a sandbox environment)
    • jee6-sandbox-demo (A working CRUD application project that shows off features of Java EE 6)
    • jee6-servlet-basic (Empty application that verifies that JSF is configured and can be run with an embedded Tomcat or Jetty instance from the command line)
    • jee6-servlet-minimal (Small application that verifies that JSF, JPA, CDI and validation is working and can be run with an embedded Tomcat or Jetty instance from the command line)

    Or even the following JBoss archetypes:

    • jboss-javaee6-webapp (An archetype that generates a starter Java EE 6 webapp project)
    • weld-jsf-jee (Weld archetype for creating a Java EE 6 application using JSF 2.0, CDI 1.0, EJB 3.1 and JPA 2.0 (persistence unit included))
    • weld-jsf-jee-minimal (Weld archetype for creating a minimal Java EE 6 application using JSF 2.0, CDI 1.0 and EJB 3.1 (persistence unit not included))
    • weld-jsf-servlet-minimal (Weld archetype for creating an application using JSF 2.0 and CDI 1.0 for Servlet Containers (Tomcat 6 / Jetty 6))

    Sorry, but without more details on your requirements, I can’t be more precise. But at least, this will give you an overview.

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

Sidebar

Related Questions

What's the best way to setup Maven for a project that has a SmartClient
What do people think is the best way of setting up a Java, maven-2
For best performance, is it better to use a virtual IDE HDD or virtual
The best that I have been able to come up with is: strlen(preg_replace('/^([\\*]*)\s(.+)/',$1,$line)); ^^That
What is the best way to verify/test that a text string is serialized to
I'm attempting to start a fresh project that hopes to use GWT 1.7.1, the
I have a couple of questions about maven best practices and managing repositories. In
I'm confused about the use of maven in development and production environments - I'm
Context We have this application, using about 60 coding projects. We have several products
I have a web application with more than 100 jar files dragged by Maven

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.