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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T12:04:36+00:00 2026-05-30T12:04:36+00:00

I have a simple project built with Eclipse 3.4 (aka IBM RAD) on WebSphere

  • 0

I have a simple project built with Eclipse 3.4 (aka IBM RAD) on WebSphere 7.

I have an EAR project, an EJB project, and a JPA project in my workspace.

SHORT VERSION:

An ejb in my EJB project is referencing an EJB in my JPA project, but it gives me an EJBNotFoundException error.

What is the “correct” way of putting an EJB in my JPA project?

UPDATE

A co-worker tells me the EJBs should be in the EJB project, not the JPA project. Is that all I did wrong? Would like a second opinion on this, thanks.

LONG VERSION:

In the JPA project I have my entity/domain objects (ex. Workflow.java) and I have a DAO (ex. WorkflowDAO.java) which is annotated as an EJB with @Stateless.

In the EJB project I have an ejb (ex. WorkflowService.java) which is annotated as an @EJB with @Stateless.

WorkflowService.java references a WorkflowDAO like so:

@Stateless
public class WorkflowService /*...*/
  @EJB
  private WorkflowDAO workflowDAO; /*...*

The problem is, when I deploy to the server I get the following error:

com.ibm.ejs.container.EJBNotFoundException, EJB with interface test.WorkflowDAO not present in application testEAR.

Any help greatly appreciated, thanks!

Rob

  • 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-30T12:04:37+00:00Added an answer on May 30, 2026 at 12:04 pm

    FYI, I have dug deeper and learned more. I added a new question that decribes my problem more specifically:

    why can't my EAR project see the annotated EJBs and Entities in my JPA project?

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

Sidebar

Related Questions

I have a simple Scala project that runs without any problems inside Eclipse, however,
I have a simple Eclipse C project. Is there a way to add a
i have created executable jar file of my project built in eclipse. but when
I am trying to build a very simple java project in Eclipse SDK Version:
I have created simple project from maven-achetype-quickstart under Eclipse Indigo, then I went to
I have a web project built in eclipse using Spring and for Tomcat. Before
We have a simple project where we read data from a socket and we
I'd like to try out the D programming language. I have simple pet project
I have this simple test project just to test the IncludeExceptionDetailInFaults behavior. public class
Let's say I have two simple models project t.string :title vote t.references :project t.integer

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.