"emuckenhuber" wrote : But shouldn't metadata validate and fail when parsing
the example above?
No, why would it fail?
"emuckenhuber" wrote : Which would be ok as the return type of the RemoteHome
extends EJBObject - it would just set MyStateful as Remote interface - and @Remote will be
more or less ignored.
| Is that ok / the expected behaviour?
I think we should introduce another fail-fast and validate @Remote as the spec intends -
for use in business remotes only. To allow EJB2.x Remotes in there is redundant and
confusing. For this we'll need consensus from the other devs.
Also note that the IllegalArgumentException you show should reference the spec and give a
more clear error message than that given. Can't add x because of y says Spec z. :)
S,
ALR
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4152674#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...