• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

j2ee.jar

 
Hanna Habashy
Ranch Hand
Posts: 532
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all:
How can I get a j2ee.jar. Does SUN provide one. I have been using the one provided by my application server. But I wonder if SUN provides one. I looked at thier download site, and I couldn't find it. here is the site I was looking at http://java.sun.com/j2ee/1.4/download.html#sdk
can any one tell me what do I need to download to get it
thanks
 
Maulin Vasavada
Ranch Hand
Posts: 1873
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi Hanna
I don't think we have j2ee.jar by sun...why do you want to use sun's j2ee jar? AFAIK we have to use what comes with the appserver we are using..
Regards
Maulin
 
Hanna Habashy
Ranch Hand
Posts: 532
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi Maulin
I am developing a utility package that uses the J2EE, such as javax.mail package. I am using Eclipse as an IDE. In order for me to compile this package, I need to add the J2ee.jar in the classpath. but I don't have this jar. I know I can get the mail.jar from sun, but how about other packages??
thanks
 
Maulin Vasavada
Ranch Hand
Posts: 1873
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Hanna,
I guess you have to identify which appserver's JAR has this APIs in there and put that JAR in the Eclipse classpath...
For e.g. in,
1. Sun ONE app server there are two files,
appserv-ext.jar
appserv-rt.jar that has content expected from j2ee.jar
2. JBoss, its jboss-j2ee.jar found in <<Jboss home>>/server/all/lib
Hope you get the ugly picture
Regards
Maulin
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic