EJB and hierarchy

Maybe it is just my EJB not configured properly, but I'm missing a few
things:
- if I add a method to the remote interface, the Code/ImplementMethods
(Ctrl-I)
in the bean class doesn't offer the method to be implemented.
After I implement it, it sees the interface and shows the arrows
to get to interface/impl.
- Ctrl-H (show hierarchy) doesn't reflect the EJB hierarchy
- Search usages (Alt-F7) works if the method is in the remote interface.
But if the remote interface inherits from another interface, then Alt-F7
doesn't find
implementation (that is in the EJBean class).

To me, this looks like three consequences of one bug.

Thanks

Richard



0

Richard,

- if I add a method to the remote interface, the Code/ImplementMethods
(Ctrl-I)
in the bean class doesn't offer the method to be implemented.
After I implement it, it sees the interface and shows the arrows
to get to interface/impl.


This should work OK. Is it working a new bean created by IDEA?

- Ctrl-H (show hierarchy) doesn't reflect the EJB hierarchy


This is not a bug. It is unimplemented feature. I've entered it to our
request base.

- Search usages (Alt-F7) works if the method is in the remote interface.
But if the remote interface inherits from another interface, then

Alt-F7

doesn't find
implementation (that is in the EJBean class).

>

This is fixed in build #619.

--
Best regards,
Mike Aizatsky.
-


JetBrains, Inc / IntelliJ Software
http://www.intellij.com
"Develop with pleasure!"

"Richard Nemec" <rndzank@attbi.com> wrote in message
news:aa9dc4$c5i$1@is.intellij.net...

Maybe it is just my EJB not configured properly, but I'm missing a few
things:
- if I add a method to the remote interface, the Code/ImplementMethods
(Ctrl-I)
in the bean class doesn't offer the method to be implemented.
After I implement it, it sees the interface and shows the arrows
to get to interface/impl.
- Ctrl-H (show hierarchy) doesn't reflect the EJB hierarchy
- Search usages (Alt-F7) works if the method is in the remote interface.
But if the remote interface inherits from another interface, then

Alt-F7

doesn't find
implementation (that is in the EJBean class).

>

To me, this looks like three consequences of one bug.

>

Thanks

>

Richard

>
>
>


0

- if I add a method to the remote interface, the Code/ImplementMethods
in the bean class doesn't offer the method to be implemented.

>

This should work OK. Is it working a new bean created by IDEA?


Found the situation. I added the method to the base interface that the
remote
interface inherits from. So the situation is:

interface A

interface MyRemote extends A // this is remote interface

class MyBean // this is the bean

...now adding a method to A doesn't offer it in MyBean.
(Adding to MyRemote works as expected - you are right.)


Thanks

r.




0

请先登录再写评论。