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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T09:01:40+00:00 2026-05-14T09:01:40+00:00

The presentation tier will contain 2 web modules (serving different purposes and based on

  • 0

The presentation tier will contain 2 web modules (serving different purposes and based on different technologies), the middle tier will be Spring beans without EJBs and the persistence tier will be JPA on Hibernate. I am wondering what would be the best project setup in this case. The IDE I am planning to use is MyEclipse 8.5. Thanks.

  • 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-14T09:01:41+00:00Added an answer on May 14, 2026 at 9:01 am

    One Java project for the common stuff that’s packaged as a JAR file.

    Two web projects, each packaged in their own WAR file, that accept the common JAR file as a 3rd party dependency.

    Do I need an EAR?

    You can do that if you’re using a Java EE app server like WebLogic, JBOSS, Glassfish, Geronimo, or WebSphere. An EAR won’t be an option if you’re using a servlet/JSP engine like Tomcat or Jetty to deploy.

    Or just 3 separate projects?

    Three projects will have the advantage of looser coupling. Your two web apps are coupled at the common JAR and database levels, but from a deployment point of view you can alter the rest for one and not affect the other.

    What can be put into the common JAR?
    What I can think of is JPA entities,
    DAOs.

    Everything that’s shared except for the web tier stuff.

    What if 2 WARs try to access the same
    data at the same time?

    That has to do with isolation, table locking, and the design of the application.

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

Sidebar

Ask A Question

Stats

  • Questions 501k
  • Answers 501k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer So, what should we be concerned about if we were… May 16, 2026 at 2:09 pm
  • Editorial Team
    Editorial Team added an answer Check the output of :set backspace? It will likely say… May 16, 2026 at 2:09 pm
  • Editorial Team
    Editorial Team added an answer android create avd -n Ev o4G -t 9 -c 8000M… May 16, 2026 at 2:09 pm

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Related Questions

I want to develop an enterprise app that includes a WindowsForms presentation layer, middle-tier
DTO I'm building a Web application I would like to scale to many users.
I have a data tier select method that returns a datatable. It's called from
we are working on a website with three tier architecture. And the content store
I'm trying to get to grips with NHibernate, Fluent NHibernate and Spring. Following domain-driven
In Bloch’s presentation, he said designer should look for good power-to-weight ratio for API.
So, I am doing a presentation using Beamer. In my earlier presentation, I used
I have the understanding that using data access routines directly from presentation code is
After reading ASP.NET MVC 2 in Action and watching Jimmy Bogard's presentation from MvcConf
Considering a hypothetical situation where an old, legacy presentation library has been maintained over

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.