EJB awareness - associate remote intf to impl
Tools for the Eclipse Platform
Brought to you by:
linnet
Hi,
do you see a possibility to somehow associate the call
of an EJB remote interface method to the actual EJB
implementation method. Something like
+ Client.run()
+ getRemote()
+ Remote.doBusiness()
+ Impl.doBusiness() <-- same level
+ Dummy.call()
The names and signatures have to match anyway.
That would be a cool thing to have!
Nice work, though!
Cheers,
Horst Dehmer.
Logged In: YES
user_id=87661
Hi Horst,
Have you tried the Implementors plugin. When using that in
conjunction with the Call Hierarchy plugin, it does what you
request (as I understand it).
When you have installed the Implementors plugin (actually,
it's a feature consisting of three plugins), you'll have to
associate your ejb-jar.xml file(s) with the projects where
the EJB classes are located. In addition, you'll have to go
to the Call Hierarchy preference page and check the "Search
for ..." boxes (I know the caption is the same; the bottom
one should say "Search for callees...".
When you have done this, showing calls from a method will
replace the call to your remote interface with a call to the
implementation class. In addition, showing calls to an
implementation method (i.e. Impl.doBusiness()) will also
include calls which are made to Remote.doBusiness().
Let me know if that's not what you meant.
Best regards,
Jesper
Logged In: YES
user_id=494505
Hi Jesper!
Many thanks for the quick reply! I'll check your suggestion
out and let you know how it worked.
Again, thanx!
Horst.