• 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

Register J2EE sources in Netbeans

 
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'd like to CTRL-left click on J2EE classes and get the source code for the class in a new tab. I did this for J2SE registering src.zip in Tools -> Java Platform Manager, but I don't know the name of the corresponding source file for J2EE and where to download it. Actually the problem is that if I ctrl-left click on e.g. HttpServletResponse Netbeans says "Cannot open HttpServletResponse (missing source?)"

Can you help?

Thanks

 
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Each vendor implements Java EE in their own way. What you will have to do is download the source code for an application server (or just Tomcat, for the HTTP classes) and use those.

Also, Java EE is a conglomeration of many specs. Each spec is described on the JCP web site as a JSR. Some of the JSRs provide source code for the reference implementation.
 
Paolo Dina
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks, very clear.

Just for future reference this is the procedure I have followed:

1. download tomcat source code distribution
2. unzip/untar. This will create something like


3. from netbeans open Tools -> Servers -> Apache Tomcat -> Sources and add the directory java
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic