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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T03:50:11+00:00 2026-06-13T03:50:11+00:00

I have an EJB accessed remotely from a Swing client as well as locally

  • 0

I have an EJB accessed remotely from a Swing client as well as locally by servlet/JSP. I want to switch the packaging for my EJB from a EJB/WAR/EAR to a EJB/WAR since it is simpler to work with.

What do I mean by simpler? In Eclipse, for example, I can have a single project with my EJB/web classes rather than having a EJB + WAR + EAR project (My client is a separate project in Eclipse).

Is it possible to package a EJB in a WAR and have it be accessible remotely?

  • 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-13T03:50:12+00:00Added an answer on June 13, 2026 at 3:50 am

    According to the web profile and EJB 3.1 specs, Java EE web profile products are only required to provide EJB Lite, which doesn’t support remote clients to EJBs.

    But they can provide remote ejb client connection as a product optional component.

    So if you want to package remote EJBs in a WAR you’ll have to look for a Java EE web server that provides this service and be aware that the same behaviour isn’t required in other Java EE 6 web servers.

    Useful links:
    http://download.oracle.com/otndocs/jcp/javaee_web_profile-6.0-fr-eval-oth-JSpec/

    http://download.oracle.com/otndocs/jcp/ejb-3.1-fr-eval-oth-JSpec/

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

Sidebar

Related Questions

I have ejb + JPA app on GF3 server and remote swing client. I
I have an EJB which I don't want anyone to be able to instantiate
I have an application (CC) containing two modules: CC-ejb and CC-war. CC-ejb contains JPA
I have a EJB module in remote Glassfish server and application client in my
I know that a Stateful EJB can be accessed concurrently by a particular client.
Friends, Previously I have worked with EJB-WEBSTART CLIENT project, and Now i have joined
I have an EJB JAR + JSF WAR that runs fine on local GlassFish
I have an EJB 3.0 client and server with JBoss AS 7.1.1. I'm trying
I have an EAR file (JEE6) containing one ejb-jar (sample-ejb) file and one war
I have an EJB which I want to unit test its public methods. I

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.