Sunday, August 23, 2009

Chapter 02: Before Beginning: The basic skill sets


We just can't jump into J2EE and start learning. There are few basics concepts or skills we need to acquire first., The following skill set are compulsory learnings before beginning J2EE.
  1. Basic knowledge on Java programming
  2. Good understanding of HTML
  3. Client - Server
  4. Working knowledge of HTTP.
  5. Basic knowledge on XML.
However, these are optional learnings but important for JEE mastery.
  1. Java Script
  2. CSS
  3. Good knowledge in java
Java skills
You don't need to be a java guru to learn JEE. It's just an extra edge and absolutely not mandate. So you should have a basic understanding concepts like Class, Objects, Inheritance, Interface, Packages, Constructors, Exception Handling.

HTML skills

Again, You don't need to be a HTML guru to learn JEE. It's just an extra edge and absolutely not mandate. So you should have a basic skills on creating a sample HTML page, creating Forms, Tables, etc. If you don't have much idea, i suggest you to read the below tutorial.

Client - Server
Server - One who process the request. Basically server is like a java program only. It communicates with the clients who speak HTTP. I refer 'speak' to processing a request & sending back a response.HTTP is a network protocol. Client - One who raises the request. It's just YOU. When you type, "google.com" in a browser (like internet explorer) you want to open the google page. This operation is technically termed "HTTP Request". Now the GOOGLE server will accept your request, process it, returns the "google search" page. This returning operation is technically termed a "HTTP Response".

HTTP
HTTP is expanded to Hyper Text Transfer Protocol. Never care about the long confusing abbreviation. It's just a language for communication between a client & server.
If you take humans, I will order, "Tea, please".
This a request. And obviously, there comes a cup of Tea. And Voila, that's the response.
Same way, Client request is HTTP Request & Server response is HTTP Response.
But the problem is the language representation. It's not as explicit as common english.
The following passage is NOT a HTTP request.
"Dear computer Ji, i want to steal a code for my lab assignment. Please give me a working C++ program for generating the fibonacci series".
IF this is not, then what is a valid request. Interested in seeing how a valid HTTP Request will look like ?
Here you go..

The following HTTP request was received from IP address 123.236.74.4 (port 2818) by IP address 91.84.196.2 (port 80):

GET /dumprequest HTTP/1.1
Host: djce.org.uk
Connection: keep-alive
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/530.5 (KHTML, like Gecko) Chrome/2.0.172.39 Safari/530.5
Accept:application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
I know you cannot understand it easily. It's a computer's language & obviously it will be complicated. So to understand clearly,

XML skills

If you know what is XML and if you can create a sample XML document, Fair Enough,. You are ready to go & begin JEE learning. Or else, read the following tutorial.

http://www.w3schools.com/xml

Download Video Source: High-Quality : 10 MB

Click below arrow to download….


6 comments:

  1. I really appreciate your work!!

    ReplyDelete
  2. thanks man . . you must be a teacher. . what a coolest examples while you are taking he classes . . i admire you .. . we are waiting for your upcoming lessons so keep do this job . . thank u very very much. PRASANNA CHANDRAN from MADURAI.

    ReplyDelete
  3. Thanks Prasanna. your words are very motivating. I am planning for the next set of videos. Will be coming soon...

    ReplyDelete
  4. Your way is more understandable than my tutor.Good Job Bro

    ReplyDelete
  5. brother its possible pl upload the advance concept about frameworks also
    by
    vahith

    ReplyDelete
  6. hi anna na 2nd year IT padikren nanum j2ee kathukuten NIIT la but yennaku antha verum SERVELETs la matum than webapp develop panna kathukoduthanga jsp yennaku suthama theriyathu JSP yennaku teach panna mudiyuma plsna

    ReplyDelete

Our Google Group

Our Facebook Group