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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T06:59:27+00:00 2026-06-05T06:59:27+00:00

I post here because I question myself about the structure of a future project.

  • 0

I post here because I question myself about the structure of a future project.

I will wish to make a Java EE application by following the same model as the major software such as Jenkins / Hudson, which provide a .war/ear deployable and which embeds their own database and plugin management.
The final goal is that the user download and deploy the war/ear “ready-to-use”

My questions are :

  • I want to use EJB, how should I structure my project into my IDE ? core-project + war-project ?

  • When i want to use an embedded database HSQL or Derby style, the tutorials I’ve found indicates that I have to addesome jar / xml in my container which is against the “ready-to-use” idea.

  • Last question, and not least, a plugin that will come in the form of a jar, how it can be used by my application? Some idea/tutorials about this plugins management in my case are welcome.

This project is for educational purposes.

  • 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-05T06:59:28+00:00Added an answer on June 5, 2026 at 6:59 am

    In Java EE there are more or less two schools that advocate different approaches.

    The first school, the traditional school, advocates that Java EE applications should always be incomplete, e.g. having “unresolved dependencies”. A chain of persons (roles), from application packager to deployer then gradually and iteratively prepares the application to be actually runnable.

    This school shuns having embedded data source definitions, security (mainly authentication) and JMS queues (even if those last ones are completely internal to the application) inside an application archive. According to some members of this first school, applications containing these are not Java EE applications anymore (see e.g. https://community.jboss.org/thread/164554)

    But there’s also another school, one that’s of the opinion that there exist use cases where having all of these in a Java EE archive is actually the best way. The fact that @DataSourceDefinition was added to the spec is indicative of this, and Java EE 7 will standardize the embedding of additional types of resources (like JMS queues).

    These two blog posts describes a Java EE example that use an embedded database:

    • http://henk53.wordpress.com/2012/04/15/jsf2-primefaces3-ejb3-jpa2-integration-project
    • http://henk53.wordpress.com/2012/05/01/is-weblogic-12c-a-heavy-weight-enterprise-solution

    In many application servers, the idea of embedded standardized datasources is a bit of an afterthought, and is most likely not covered by the TCK. To sum up, support is currently as follows:

    • WebLogic 12c – Flawless
    • JBoss AS 7.1.1 – Almost, transactional support must be switched off (see https://issues.jboss.org/browse/AS7-4552)
    • GlassFish 3.1.2 – Almost, still requires the JDBC driver to be copied to the server
    • TomEE 1.0 – Currently doesn’t really work, always directs to internal embedded DB (see https://issues.apache.org/jira/browse/TOMEE-171)
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Ok i decided to post the question here because i really don't know what
I've read a post here about password encoder, and saw this syntax: passwordEncoder.isPasswordValid(user.password, params.password,
I've got a question about creating a vertical image sprite menu. Here's my HTML:
[Full disclosure: Cross-post between here and ServerFault, because I believe the audiences (server admins
This is my first post in here and I wouldn't post a question here
I just deleted an earlier post with a similar question because my example was
First post here... I normally develop using PHP and Symfony with Propel and ActionScript
first post here, and probably an easy one. I've got the code from Processing's
first post here, I come in peace :) I've searched but can't quite find
I learnt from this post here to create helper functions in namespace. 'Helper' functions

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.