Servlets vs. JSP vs. Struts vs. JSF v.s ADF

Share

what different between Servlets vs. JSP vs. Struts vs. JSF v.s ADF?
web application technologies
What technology do you use: Servlets, JSP, Struts or JSF? And why? What are the pros and cons?

Dear :

You are requesting alot of info :), any way i will try to be brief and you shall consult the web for more info:

 Servlets:
is web apis from sun used to generate dynamic content, i will give you
a small example if you need to generate certain menus for admin user
and hide them from other users what you will do, you need logic to be
processed before html is generated, static html  is static so you
cann't play with it.

 so to handle this issue servlets are apis,
simple class that you call from the browser the servlet engine will
redirect you to a method called doGet or doPost in the class you
created say called it loginServlet and in it you have access to objects
where you can write html like out.println("<html>Welcome
man</html>");

This is simpley servlets and it was the init of dynamic web for Java

Servlets 
for building dynamic content is hard, so Sun developed JSP, whch is a
script language try to make dynamic web easier by making all the things
you wanna do in servlets a scripts in you .JSP page.

 If you need to know what's struts i recommend you strudy servlets and jsp first in order to well grasp JSF, ADF and struts

Ayman Emam,
B.Sc.Computer Science
Cairo University, Egypt.

THANK U FOR YOUR ANWSER ?
I LIKE TO ASK U
1-WHAT MEAN script language . WHAT THE DIFFERENT BETWEEN IT AND NON SCRIPT LANGUAGE..
2 WHAT DIFFERENT BETWEEN interpreter LANGUAGE AND compiler?
3-what mean for Action based
framework
event based framework,
ORM ?

I see you are too hurry invading Java technology, you have to take it step by step, you are trying to tackle advanced technologies and you are still starting web development so take the ladder step by step or you will come at the end with nothing "this is a small advice for you".

 Any way:

 

1-WHAT MEAN script language . WHAT THE DIFFERENT BETWEEN IT AND NON SCRIPT LANGUAGE..

*Script language are some simple programming language that mayn't contain complex programming constructs like exception handling for example and threading and so on.

Non Scripting language: are the full language like Java C# C++ and so on but no expression called non-scripting

2 WHAT DIFFERENT BETWEEN interpreter LANGUAGE AND compiler?

Interpreter language are language that are executed by an interpreter which is a program that execute the source line by line, if errors are find in language syntax are found on runtime

While compiler based are language that have a program called a complier that cheks the program for syntax errors and other errors that can be cagth at compile time, then it will be converted to binary code "or byte code in java" to be run after that.

 

3-what mean for Action based
framework
event based framework,
ORM ?

I donna know event based i know action based like struts and i think you need to know more on Model View Controller Design Patter.

ORM Object Relation Mapping you can goolge it coz this topic need alot of discuss

 

Again i recommend to move step by step no need to hurry in order to profession what you learn. 

Ayman Emam,
B.Sc. of Computer science
Cairo University, Egypt.

thank u for your replay.... realy i have this problem i cant move step by step

i know this wrong and i try to make the correct thing.....

thank you for your advice

i need another advice can u tell me my step to move.

my background it i end MCIT java track

 

If you are good at java so cancel step 1 else start from it:

1- Pick a good java book or sun java tutorial and go on Java Basics and other section untl you master J2SE. Take your time here this is the basic of every thing

2-  Pick a good book for JSP development and Servlets

3- Pick a good struts book

Make sure every step took it's time no need too hurry, but a good schedule for yourself, and alwasy do alot of practice and programs.

Ayman Emam,
B.Sc. of Computer Science
Cairo University, Egypt.

sl slamo 3lekom i have problem i cant chose the best GUI to be with me in my

teaching travel  "NetBeans,jdeveloper,WebSphere,Eclips"?

why?

Dear darsh2002,

I think what you mean is IDE not GUI, IDE stands for Integrated Development Environment but GUI is Graphical User Interface. For the best IDE IMHO you can use Netbeans or Eclipse. GUI is the graphical interface for your program like AWT, Swing ...etc.

Also I think you are rushing things, take your time, learn the fundamentals and move on step by step till you  reach the level you want :)

thank u for your help and i wish to meet u in conference