[jboss-jira] [JBoss JIRA] (AS7-2887) Disallow deployment of @Clustered EJBs if the type is not valid
David Lloyd (Commented) (JIRA)
jira-events at lists.jboss.org
Sun Dec 4 11:13:40 EST 2011
[ https://issues.jboss.org/browse/AS7-2887?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12647868#comment-12647868 ]
David Lloyd commented on AS7-2887:
----------------------------------
{quote}
The meaning of @Clustered has historically been more than just state replication. It implies automatic client side load balancing and failover.
AS 7.1 may not provide that, but that's what the meaning of the annotation has been since 3.2 at least (probably 3.0).
{quote}
Right. Allowing this annotation on SLSB is all we have to do to simulate this effect. Even non-clustered SLSB have load balancing and failover, as it happens. Later on we may use this information, but for now there aren't any plans to do so, which is why I want to allow this annotation.
{quote}
@Clustered on an MDB has never been a feature and AFAIK never will be a feature. I'm not sure what it would mean. We've never failed a deployment on it though, any more than we fail a deployment due to the presence of some other annotation that isn't understood.
I don't feel strongly about this (at all), as I can see the benefits of consistency in how we treat this annotation.
{quote}
It's negotiable. I'd rather fail unless there are tons of deployments out there which have this annotation on an MDB for whatever reason. Or perhaps a warning is good enough.
> Disallow deployment of @Clustered EJBs if the type is not valid
> ---------------------------------------------------------------
>
> Key: AS7-2887
> URL: https://issues.jboss.org/browse/AS7-2887
> Project: Application Server 7
> Issue Type: Task
> Components: Clustering, EJB
> Reporter: David Lloyd
> Priority: Blocker
> Fix For: 7.1.0.CR1
>
>
> @Clustered can be applied as follows:
> * Entity EJB - Give a "feature unsupported" error, refuse to deploy
> * Stateful Session EJB - Allow
> * Stateless Session EJB - Allow (has no effect though)
> * Singleton EJB - Give a "feature unsupported" error, refuse to deploy
> * MDB - Give a "feature unsupported" error, refuse to deploy
> Note that "feature unsupported" should be worded such that the feature may become available in future releases.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list