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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T19:03:36+00:00 2026-05-12T19:03:36+00:00

I can look up the remote interface of an EJB3 from a Glassfish 2.1

  • 0

I can look up the remote interface of an EJB3 from a Glassfish 2.1 using the global jndi name. However, as I understand, if this were not a LC module but an EJB (Servlet), I would have an ejb-local-ref entry in its ejb-jar.xml (web.xml).

Is there a place to define Local references for an LC module?
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-12T19:03:37+00:00Added an answer on May 12, 2026 at 7:03 pm

    Quoting from the Glassfish EJB FAQ :

    The EJB spec only requires local ejb access from within the same application in the same JVM.

    and

    The EJB Local view is an optimized EJB
    invocation path that uses
    call-by-reference semantics. It is
    only available to web components and
    ejb components that are part of the
    same application as the target EJB. That’s why ejb-local-ref is not even
    part of the schema for
    application-client.xml. To access
    EJBs from an Application Client or
    stand-alone java client, you’ll need
    to use either a Remote 3.0 Business
    interface, a 2.x Home interface, or
    web services.

    The LCM lives outside the application containing the EJB, by definition, so, the answer is no.

    When I discovered them, I saw all kinds of interesting applications for LCM’s, but as I discovered more and more limitations (the fact that they are GF-specific included) that enthusiasm mostly disappeared.

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

Sidebar

Related Questions

I'm using this http://jqueryui.com/demos/autocomplete/#multiple-remote on my website, I can see this code 'searches' search.php
This topic can look similar to others but I haven't found any usable answer
When I run the debugger I can look that ContextMenuInfo menuInfo variable from the
I need to sort an array that can look like this: $array[4][0] = array('id'
I have a loop that can look like this: For Each article In artAll
I'm using simplexml to recover xml from a remote server, and I get values
Is there anyway I can look at the size of a file the application
So far I know that FileSystemWatcher can look into a folder and if any
Are there any tools that can look at a database, and generate the basic
I have a webpage where users can look for clients and select them. After

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.