Skip to main content

[ejb-spec issues] [JIRA] Created: (EJB_SPEC-110) Allow deployment descriptor to list EJB instances without having to be metadata-complete

  • From: "ljnelson (JIRA)" <jira-no-reply@...>
  • To: issues@...
  • Subject: [ejb-spec issues] [JIRA] Created: (EJB_SPEC-110) Allow deployment descriptor to list EJB instances without having to be metadata-complete
  • Date: Wed, 31 Jul 2013 17:16:44 +0000 (UTC)
  • Auto-submitted: auto-generated

Allow deployment descriptor to list EJB instances without having to be 
metadata-complete
----------------------------------------------------------------------------------------

                 Key: EJB_SPEC-110
                 URL: https://java.net/jira/browse/EJB_SPEC-110
             Project: ejb-spec
          Issue Type: Improvement
            Reporter: ljnelson
            Priority: Minor


It would be very useful in large applications to be able to constrain the 
deployment of EJBs within a third-party supplied EJB jar by means of a 
deployment descriptor without also having to fully specify all the metadata 
for each EJB instance in that jar.

Suppose the jar has two EJBs in it, configured with annotations.  Suppose 
further that without deep research I don't know what—say—their default 
{{TransactionAttributeType}} settings are.

Finally, suppose that I wish to include this EJB jar in an {{.ear}} file, but 
only want to have the EJB container deploy one of the beans.

It would be nice if I could use the existing {{alt-dd}} functionality to 
point to an {{ejb-jar.xml}} file that simply lists the session bean I want to 
deploy without specifying any further information.  To my knowledge, this is 
impossible with the current specification, as there is no way to prevent EJB 
discovery without also marking the deployment descriptor as 
{{metadata-complete}}.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://java.net/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[ejb-spec issues] [JIRA] Created: (EJB_SPEC-110) Allow deployment descriptor to list EJB instances without having to be metadata-complete

ljnelson (JIRA) 07/31/2013

[ejb-spec issues] [JIRA] Commented: (EJB_SPEC-110) Allow deployment descriptor to list EJB instances without having to be metadata-complete

ljnelson (JIRA) 07/31/2013
 
 
Close
loading
Please Confirm
Close