Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Creating a Simple J2EE Servlet Using IRAD for WebSphere

Loading...

Sign in or sign up now!
4,098
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Aug 4, 2008

You can see the full screen, high resolution tutorial, here:


http://www.thebookonhibernate.com/j2e...

Creating a Simple Servlet Using IRAD

This free, multimedia tutorial shows you how to use IBM's Rational Application Developer (IRAD) to create a J2EE project, a Servlet, and a WebSphere Test Server on which you can proudly run your newly birthed Servlet.

If you found something helpful here, please do your part and help support the site. Link to us, buy some books, support our sponsors, tell your developer friends about us, and remember: Happy Java!

package com.examscam.servlet;

import java.io.IOException;
import javax.servlet.Servlet;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public class CountrySnooper extends HttpServlet implements Servlet {

protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
String country = request.getLocale().getCountry();
if (!country.equals("CA")){
response.getWriter().print("Hey, lets go for a Tim Hortons coffee!");
}
else {
response.getWriter().print("Ugh...Guess we settle for Starbucks");
}
}
}



http://www.thebookonhibernate.com/j2e...

Please check out my SCJA Java Certification Mock Exam website:

http://www.scja.com/associate/

And for Hibernate and JPA tutorials, check out: http://www.thebookonhibernate.com
Category: Education
Tags:
IRAD IBM WebSphere Tutorial Java J2EE Rational Application Developer Servlet

Category:

Education

Tags:

License:

Standard YouTube License

  • likes, 4 dislikes

Link to this comment:

Share to:
see all

All Comments (4)

Sign In or Sign Up now to post a comment!
  • mostly sounds like a person trying to steal someones money.. proberly from Thailand, the tutorial is okay.. but the advertising was making me think "is this person legal, and what is he selling".

    but i guess someone needs thouse things... maby 1 of a 1.000.000.000 or something.. well i dont know.. i was just browsing tutorials becasue i was bored.

  • I actually enjoyed the tutorial (and the humor). The typing sound is a little distracting but not unbearable. Good video, thanks for taking the time to make it.

  • most awful video!

  • I may have watched this all the way through if it wasn't for that awful typing sound.

Loading...

0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more