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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T15:55:16+00:00 2026-06-15T15:55:16+00:00

I have created two separate projects in Eclipse. The first project is JPA and

  • 0

I have created two separate projects in Eclipse.
The first project is JPA and the second JSF.
The problem I’m facing is how to access JPA’s DAO classes from JSF Bean while still keeping these projects separate.

I was reading about using Ant but I could not find an example that reflects my problem.

I’m using JPA EclipseLink 2.1 with GlassFish Server 3.1 and JSF 2.0

Thanks a lot

  • 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-15T15:55:17+00:00Added an answer on June 15, 2026 at 3:55 pm

    Rightclick the JSF project, go to Deployment Assembly property and add the JPA project in there. This way it transparently ends up as JAR in /WEB-INF/lib of the built WAR.

    Note that you should not fiddle with the Build Path property as others may suggest. This way it won’t end up as JAR in the /WEB-INF/lib of the built WAR at all. It would make the JPA project a compile time dependency only.

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

Sidebar

Related Questions

I have two CVS projects, which I maintain in Eclipse. I check out first
I have successfully created my first django project. I have two apps in my
I have created two DbContexts, one is for application configuration, the second is for
I have two projects written in C++. Suppose that the projects are named first
I have created two separate static libraries in Xcode for usage on iOS, A
Let's say you have 2 totally separate projects: Project 1 and Project 2. One
I have created two separate web applications as well as a Restful API Server.
I have two separate projects ( comclient and comserver ), with some very simple
I have created two imageViews promatically as shown below: public void createImageViews(Integer count){ ImageView[]
I have created two WindowSurface (WPF), and I want to navigate betwen them. I've

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.