Coder Social home page Coder Social logo

Comments (7)

glassfishrobot avatar glassfishrobot commented on September 24, 2024

Reported by reza_rahman

from ejb-spec.

glassfishrobot avatar glassfishrobot commented on September 24, 2024

paulusbenedictus said:
I don't know how this feature could work properly. When dealing with local beans, the client holds onto the actual bean instance – unlike a proxy for remote interfaces. If a local bean is shared across applications, how can the hosting application ever undeploy/redeploy it?

from ejb-spec.

glassfishrobot avatar glassfishrobot commented on September 24, 2024

@arjantijms said:
Paul, for local beans the client gets a proxy as well and not the actual bean reference. This is needed so the container can do things like start a transaction and call an interceptor. A major difference between a local and remote proxy is that the former doesn't serialize method arguments and return values, while the latter does, but they are thus both proxies.

Or did you mean something else?

from ejb-spec.

glassfishrobot avatar glassfishrobot commented on September 24, 2024

paulusbenedictus said:
My apologies! Arjan, I didn't know local beans were proxied; thought that was exclusive to remote beans. Thanks for the information.

from ejb-spec.

glassfishrobot avatar glassfishrobot commented on September 24, 2024

wolfc said:
How would you want to deal with class loading? Especially the arguments of methods.

To keep pass-by-reference semantics they must come from the the same class loader.

This becomes especially interesting once you undeploy (/ redeploy) the app containing those classes.

from ejb-spec.

glassfishrobot avatar glassfishrobot commented on September 24, 2024

Was assigned to mvatkina

from ejb-spec.

glassfishrobot avatar glassfishrobot commented on September 24, 2024

This issue was imported from java.net JIRA EJB_SPEC-22

from ejb-spec.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.