Re: Please Answer Newbie Question
- From: aaronhirshberg@xxxxxxxxx
- Date: 24 Oct 2005 07:25:46 -0700
Bjorn Abelli wrote:
> <aaronhirshberg@xxxxxxxxx> wrote...
> > I have J2SE 5 installed on my PC and am using it.
> > I went to install J2EE, but the "bundle" at the sun
> > website included J2SE 5 and a web server and some
> > documentation.
> If you don't want all of it, just choose another bundle!
> On the right side of page
> ...the packages you mentioned can be downloaded separately.
> > So that implies that the J2SE JDK has
> > servlet and JSP class files in the class libs already
> > on my PC.
> Why would you come to that conclusion?
> Servlet and JSP classes are not in the J2SE, they're in the J2EE.
> The reason to why they "offer" you to download a "full" download, including
> J2SE, is simply because J2EE is built on top of J2SE, and needs it to work.
> That's often the case when you want to install the application from scratch
> on a different machine.
> > But I get compile errors related to these classes
> > not being found. So I should just uninstall the
> > J2SE 5 and install the J2EE and get it over with?
> You could do that... ;-)
> > Or is there a separate package of class libs I can
> > add to the J2SE?
> As I said, look on the right side of the download page. There you'll find
> the application server as a separate download.
> However, you're not telling what you're using it for, other than implying
> that you're going to develop servlets and JSP.
Yes. I am working out the exercises in some Java books.
> If you're doing it just to learn how to make servlets and JSP, and using a
> tutorial that examplifies with the Sun implementation, then that could be
> the safest way to go ahead.
The tutorial uses Tomcat. Which I have already installed. So I will
look for those libraries in the Tomcat installation, and modify my env
vars accordingly, or write a *.bat file to compile that brings in the
libs in the Tomcat installation.
> But there are other implementations of servers able to run Servlets and JSP,
> than the application server from Sun. If you intend to use any of those, you
> don't need the full kit from Sun. Just install *that* server, and use the
> libraries provided with it. In most cases they use "scaled down" versions of
> the libraries which are often more easy to handle.
Or I will do as the other person suggested and download the Sun server
stuff and find the libs in there.
- Prev by Date: Java ServerFaces - new Implementation
- Next by Date: Re: Please Answer Newbie Question
- Previous by thread: Re: Please Answer Newbie Question
- Next by thread: Re: Please Answer Newbie Question