• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

USE in the J2EE API navigation bar

 
Ranch Hand
Posts: 208
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 1855
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
 
vu lee
Ranch Hand
Posts: 208
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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/
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
That feels good. Thanks. Here's a tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic