This week's book giveaway is in the General Computing forum.
We're giving away four copies of Learning Regular Expressions and have Ben Forta on-line!
See this thread for details.
Win a copy of Learning Regular Expressions this week in the General Computing forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Ganesh Patekar
  • Stephan van Hulst
  • Pete Letkeman
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Ron McLeod
  • Vijitha Kumara

USE in the J2EE API navigation bar  RSS feed

 
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
 
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/
 
Rancher
Posts: 42975
76
  • 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: 42975
76
  • 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: 42975
76
  • 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!