Coder Social home page Coder Social logo

Comments (10)

glassfishrobot avatar glassfishrobot commented on June 17, 2024

Reported by abien

from ejb-spec.

glassfishrobot avatar glassfishrobot commented on June 17, 2024

mvatkina said:
Adam, does this belong to the Java EE platform list?

from ejb-spec.

glassfishrobot avatar glassfishrobot commented on June 17, 2024

jlmonteiro said:
Adam,

what about dynamic discovery and deployment of MBeans?
Have a look to that example http://openejb.apache.org//examples-trunk/mbean-auto-registration/README.html

In that example, it uses JMX annotations from the JSR 255, but unfortunately, the spec is not yet released (postponed actually).

I should be also possible using naming conventions. In this case, when Mbeans are simple (ie. only pure java beans), it also possible to use a dynamic proxy to avoid implementing the interface and let the container provide us with it when deploying the application.

An example here http://openejb.apache.org///examples-trunk/dynamic-implementation/README.html

Jean-Louis

from ejb-spec.

glassfishrobot avatar glassfishrobot commented on June 17, 2024

abien said:
Hi Jean-Louis,

Its telepathy - yesterday I thought about similar feature and proposed that today.

I like your idea, except I would make all public methods and properties MBean properties as convention.
In your proposal, you have to annotate / configure all properties / methods as managed attributes,

thanks for the hint,

adam

from ejb-spec.

glassfishrobot avatar glassfishrobot commented on June 17, 2024

abien said:

Adam, does this belong to the Java EE platform list?
It could be. It is similar to @resource UserTransaction tx...

from ejb-spec.

glassfishrobot avatar glassfishrobot commented on June 17, 2024

jlmonteiro said:
No problem was also discussing about that this morning.

Either way, let's make it pragmatic in as much simple as possible.
We wanted to use the JSR 255, but as it has been postponed, using such convention also works for me.

Will give a +1 to the target JIRA.

Thanks,
Jean-Louis

from ejb-spec.

glassfishrobot avatar glassfishrobot commented on June 17, 2024

benoitf said:
@resource could be a good idea to inject this resource

from ejb-spec.

glassfishrobot avatar glassfishrobot commented on June 17, 2024

mvatkina said:
This needs to be addressed in Java EE platform. If/when the platform supports such injection, please reopen this issue to add the corresponding note to the EJB spec.

from ejb-spec.

glassfishrobot avatar glassfishrobot commented on June 17, 2024

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

from ejb-spec.

glassfishrobot avatar glassfishrobot commented on June 17, 2024

Marked as won't fix on Wednesday, April 18th 2012, 12:09:17 pm

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.