Comments (10)
Reported by abien
from ejb-spec.
mvatkina said:
Adam, does this belong to the Java EE platform list?
from ejb-spec.
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.
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.
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.
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.
benoitf said:
@resource could be a good idea to inject this resource
from ejb-spec.
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.
This issue was imported from java.net JIRA EJB_SPEC-7
from ejb-spec.
Marked as won't fix on Wednesday, April 18th 2012, 12:09:17 pm
from ejb-spec.
Related Issues (20)
- Add pause() and resume() to TimerService HOT 2
- Spec bug regarding tx attributes for timeout methods HOT 2
- Allowing business interface inheritance HOT 2
- Update project lead in JIRA HOT 13
- Clarification whether persistent timers have to survive redeployment / undeployment HOT 7
- AccessTimeout(0) changes locking behaviour in a non intuitive manner HOT 8
- clarify ThreadLocal usage in ejb environment HOT 12
- Explicitly allow Java 8 default methods as business methods HOT 3
- Incorrect description/examples for interceptor-binding DD element HOT 3
- Allow listener method to always be determined at runtime by resource adapter HOT 6
- Define a standard way to specify the resource adapter used by a JMS MDB HOT 4
- Annotation-based Bean-Pool Configuration HOT 2
- Annotation-based Transaction Timeout Configuration HOT 5
- Identity scheduled for removal HOT 3
- Typo in bind of interceptors HOT 2
- EJB RMI-IIOP over HTIOP(Http2 or WebSocket) HOT 2
- clarify ManagedExecutorService task execution allowance in @PostConstruct method for @Startup Singleton Session Bean HOT 9
- EJB 3.2 spec section 14.2 Enterprise bean's name needs clarification HOT 1
- evaluate Java EE 7 spec section 5.2.2 for possible clarification in relation to EJB 3.2 spec portable JNDI lookup
- EJBContext.getCallerIdentity should be removed HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ejb-spec.