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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T14:45:36+00:00 2026-05-26T14:45:36+00:00

I am learning java ee right now. I have successfully implemented a hello-world style

  • 0

I am learning java ee right now. I have successfully implemented a hello-world style application where a app-client invokes an stateless session bean via a remote interface. (maven3, glassfish3, javaee6).

My question is, where should I package the remote interfaces. The main reason I ask is that netbeans 7.0.1 prompted me to put the remote interface in a different module. Since I only have web, ejb, and client modules, the only option was to put it in the client module. Why does netbeans suggest this?

It generally does not make sense to me to put all the remote interfaces with the client and have the ejb module depend on the client. Shouldn’t the remote interfaces of an ejb modules be coupled relatively tightly with the ejb module itself.

Perhaps a seperate module just for remote interfaces?

I can post code if this is unclear.

Thanks in advance.

  • 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-26T14:45:37+00:00Added an answer on May 26, 2026 at 2:45 pm

    A separate client interface JAR is easiest (see <ejb-client-jar> in ejb-jar.xml). That JAR can be bundled alongside the EJB module and the client module without being specific to either.

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

Sidebar

Related Questions

I am learning java and right now i am stuck at memory allocation of
I'm learning Java programming and right now I'm exploring the use of objects in
I'm learning Java and OOPS and while programming a basic Hello World in eclipse,
So I'm learning java, and I have a question. It seems that the types
I am working on a Java Project for my own learning, what i have
I'm learning C++ right now using Bruce Eckel's Thinking in C++ and I'm in
I have a decent working web application (Java/Servlet/Jsp) that I would like to improve
We're learning file input and output in my programming class right now, but I
I'm developing a fair sized hospital simulation game in java. Right now, my pain
When I was learning Java coming from a background of some 20 years of

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.