Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / October 2007

Tip: Looking for answers? Try searching our database.

Servlets: Getting Started

Thread view: 
HugeBob - 03 Oct 2007 17:29 GMT
Hi All,

I'm studying for the SCWCD 1.4 exam and I'd like to get started with
servlets.  Where can I get a hold of the J2EE 1.4 SDK for free?
Everytime I try to download it from Sun, I get the following:

   * This Catalog lists only the for sale products on the Download
Center. For a complete listing of the free products available, please
see the Download Center home page.

This leads me to believe that the J2EE 1.4 SDK is not free which
doesn't seem correct.  When I click on the Download Center link, it
sends me right back where I started from!

Thanks.
Manish Pandit - 03 Oct 2007 17:54 GMT
> Hi All,
>
[quoted text clipped - 11 lines]
>
> Thanks.

Download Tomcat 5+ and you will have the Servlet Container. It will
also contain the web-component side of the API - the one that is
needed for SCWCD. J2EE 1.4 SDK is free along with the reference
implementation (Sun Java System Application Server). If you wish, you
can download Netbeans IDE with J2EE 1.4 bundled.

I passed SCWCD (1.4) by reading up on the Servlet and JSP Specs,
diving into the generated code in Tomcat (JSP->Servlet) and taking up
several mock exams (freebies) listed on Javaranch. If you are new to
Servlet/JSP, you might want to buy 'Head First Servlets and JSP' which
is a good certification guide for a rush-preparation. I did not read
it but it has some raving reviews on Amazon.

-cheers,
Manish
HugeBob - 03 Oct 2007 19:15 GMT
> > Hi All,
>
[quoted text clipped - 27 lines]
> -cheers,
> Manish

I'm using the SCWCD Study Guide by David Bridgewater as well as Core
Servlets and JSP by Marty Hall.  I took a JSP course from Hall.  But,
in studying, I'm finding that there's more to the exam than just being
able to code Servlets, JSP's, Beans, EJB's, etc.  LOL, I've always
sort of ignored the web.xml file.  Well, now, I can't.
Manish Pandit - 03 Oct 2007 21:18 GMT
> I'm using the SCWCD Study Guide by David Bridgewater as well as Core
> Servlets and JSP by Marty Hall.  I took a JSP course from Hall.  But,
> in studying, I'm finding that there's more to the exam than just being
> able to code Servlets, JSP's, Beans, EJB's, etc.  LOL, I've always
> sort of ignored the web.xml file.  Well, now, I can't.

Yeah - web.xml is one of the key files and you'll get a lot of
questions along the lines of deployment. It is the file that binds
everything together - listeners, servlets, mappings, filters,
references, error pages...and the list goes on. Also, you'd need to
know the structure of this file (like which elements comes after/
before which one). I think the Head First book might be worth a try as
it is very much focused on the exam and should give you an idea of the
nature of questions you should expect.

Best of luck!

-cheers,
Manish
Lew - 03 Oct 2007 17:57 GMT
> Hi All,
>
[quoted text clipped - 9 lines]
> doesn't seem correct.  When I click on the Download Center link, it
> sends me right back where I started from!

<http://java.sun.com/javaee/downloads/index.jsp>
specifically
<http://java.sun.com/javaee/downloads/previous/index.jsp>

What URL were you using?

You can instead get
<http://tomcat.apache.org/>
specifically
<http://tomcat.apache.org/download-60.cgi>
or the link for an earlier version, if you prefer.

You might find Tomcat easier to manage.

Signature

Lew

HugeBob - 03 Oct 2007 19:05 GMT
> > Hi All,
>
[quoted text clipped - 26 lines]
> --
> Lew

Thanks for your response.  I tried these very URL's.  When I click on
the download links there in, I get a page with the message I
mentioned.  I downloaded Tomcat 6+.  Would that have the servlet.jar I
need?  I've searched my system for it, but came up with nothing.
Lew - 03 Oct 2007 21:53 GMT
Lew wrote:
>> <http://java.sun.com/javaee/downloads/index.jsp>
>> specifically
>> <http://java.sun.com/javaee/downloads/previous/index.jsp>
>>
>> What URL were you using?

> Thanks for your response.  I tried these very URL's.  

What was the exact link you clicked for download?  Note that I provided links
to the download page, not the download links themselves.  Note further that
you haven't yet answered my question:

Which of the download links did you use?  Copy and paste, please.

> When I click on the download links there in [sic], I get a page with the message I

Precisely what does the message say?  Copy and paste.

When I click on a download link from the URLs I cited, I get a download, no
obstructive message of any kind.

> mentioned.  I downloaded Tomcat 6+.  Would that have the servlet.jar I
> need?

Yes.

>   I've searched my system for it, but came up with nothing.

Follow the instructions at the Tomcat web site for deployment of your web app.

Signature

Lew



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.