my dog learned polymorphism*
The moose likes EJB and other Java EE Technologies and the fly likes Where can I find the Java EE 5.0 source code? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Where can I find the Java EE 5.0 source code?" Watch "Where can I find the Java EE 5.0 source code?" New topic
Author

Where can I find the Java EE 5.0 source code?

Jiafan Zhou
Ranch Hand

Joined: Sep 28, 2005
Posts: 192

Studying along with the EJB 3.0 in action and I wonder where can I find the Java EE5.0 source code? Or is JavaEE 5.0 open source at all? Downloaded the JavaEE SDK from the sun website and I am not able to find the source code like Java SE does.

Regards,
Jiafan


SCJP, SCJD, SCWCD, SCBCD, SCEA
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 30580
    
154

Jiafan,
Java EE is a specification. It is implemented by application server vendors. For example, JBoss is an open source application server. You could go to their site for the implementation.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Jiafan Zhou
Ranch Hand

Joined: Sep 28, 2005
Posts: 192

What I use is the GlassFish Sun Java System Application Server 9.1, implemented by Sun microsystems. I wonder where can I find the source code?

Thanks,
Jiafan
Freddy Wong
Ranch Hand

Joined: Sep 11, 2006
Posts: 959

Go and check it out from their website:
https://glassfish.dev.java.net//


SCJP 5.0, SCWCD 1.4, SCBCD 1.3, SCDJWS 1.4
My Blog
Jiafan Zhou
Ranch Hand

Joined: Sep 28, 2005
Posts: 192

I am particularly looking for *javaee.jar* source ode located in /opt/SDK/lib directory. (my linux j2ee install directory) This jar seems a common J2EE jar file which might be commonly used.

I have check the sun website again (where I downloaded the Java EE 5 SDK), however cannot find its source code.

Anybody can help me out here?

Regards,
Jiafan
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42024
    
  64
As Jeanne pointed out before, JEE is a specification, so the file contains mostly interfaces (which do not include code). For actual code, study JBoss or GlassFish.


Ping & DNS - my free Android networking tools app
Jiafan Zhou
Ranch Hand

Joined: Sep 28, 2005
Posts: 192

Ok, I see what you mean here, guys. Downloaded the source code for the glassfish and actually I found the source code I meant to be looking for.

Thanks,
Jiafan
Inewie Green
Greenhorn

Joined: Jul 04, 2009
Posts: 5
Hello

I downloaded glassfish, but i did not find the source code. In which directroy is it located? and what archive? I only see JARs with .class files

Thank you.
peng lv
Greenhorn

Joined: Sep 03, 2009
Posts: 3
Inewie Green wrote:Hello

I downloaded glassfish, but i did not find the source code. In which directroy is it located? and what archive? I only see JARs with .class files

Thank you.



Hey ! You can find it in Tomcat source code version .
peng lv
Greenhorn

Joined: Sep 03, 2009
Posts: 3
You can find at Apache Tomcat source code version
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42024
    
  64
Please DontWakeTheZombies.

You can find at Apache Tomcat source code version

Tomcat only contains code that implements the interfaces of the Servlet specification, not of the JEE specification in general.
peng lv
Greenhorn

Joined: Sep 03, 2009
Posts: 3
Ulf Dittmer wrote:Please DontWakeTheZombies.

You can find at Apache Tomcat source code version

Tomcat only contains code that implements the interfaces of the Servlet specification, not of the JEE specification in general.

Hey, have you checked the path "$TOMCAT_HOME/java" ?

If you want to see the jee source such as jsp,servlet api ,you must download the source code version tomcat from apache ,ok?


the download url: http://apache.freelamp.com/tomcat/tomcat-6/v6.0.20/src/apache-tomcat-6.0.20-src.tar.gz
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61298
    
  66

"peng lv", please check your private messages for an important administrative matter.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
GeeCON Prague 2014
 
subject: Where can I find the Java EE 5.0 source code?