Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

USE in the J2EE API navigation bar  RSS feed

 
vu lee
Ranch Hand
Posts: 208
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Unlike J2SE, there is no USE item in the J2EE navigation bar. How do I find where an instance of a class being used? Thanks

Overview Package Class Tree Deprecated Index Help
 
Darya Akbari
Ranch Hand
Posts: 1855
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
 
vu lee
Ranch Hand
Posts: 208
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Since my previous post is not clear, I'll try to explain it again.
Point to this site http://java.sun.com/j2se/1.5.0/docs/api/, you'll see this navigation bar on top of the page.
Overview Package Class Use Tree Deprecated Index Help
'Use' is not available on this site http://java.sun.com/j2ee/1.5.0/docs/api/
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The Use link points to a page that lists where a particular class is used, so it's linked only on pages about specific pages, not the start page.
 
vu lee
Ranch Hand
Posts: 208
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The Use link points to a page that lists where a particular class is used, so it's linked only on pages about specific pages, not the start page.

For J2EE API, I have a feeling that 'Use' link is not available for any classes. I tried a few, but could not find the 'Use' link. e.g Browsing to javax.servlet.http.HttpServletRequestWrapper, one cannot see the 'Use' link.
Could you provide a link from J2EE API where 'Use' is available?
Why the metadatas of J2EE API were treated differently from those of J2SE API?
[ February 26, 2007: Message edited by: vu lee ]
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Interesting. Some of the javadocs I have use this, some don't, with no clear pattern when it's there.
 
vu lee
Ranch Hand
Posts: 208
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Knowing that 'Use' link is not supported on J2EE API, what are the alternative methods to find how an abstract class/interface is used from other classes? One of the naive method is to click on the index and search for the abstract class, but it is a quite time-consumption method. Are there any other methods?
[ February 27, 2007: Message edited by: vu lee ]
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Each javadoc page for an interface has a section labelled "All Known Implementing Classes:" right underneath the class name. That lists all classes that implement this interface. Is that what you're looking for?
 
vu lee
Ranch Hand
Posts: 208
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That I know but I mainly look for all classes that contain methods which return an instance of this class or use this class as parameter.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!