www.devoxx.com
Web Fundamental




      www.devoxx.com   Basem Elsherbeny
After this presentation




          www.devoxx.com
Agenda
• Internet

• HTTP,DNS

• HTML

• Client/Server

• Server and Client side coding

• Servlet

• JSP

• JSF,Struts

 ...
Each pattern describes a problem which occurs
over and over again in our environment,


and then describes the core of the...
6
    www.devoxx.com
7
    www.devoxx.com
DNS
• it translates domain names meaningful to humans into the
  numerical (binary) identifiers associated with networking...
server
• a server is any combination
  of hardware or software designed to
  provide services to clients. When
  used alon...
Server/Client Side
• Server-side refers to operations that are performed by
  the server in a client-server relationship i...
Server/Client Side
● Server-side coding                           ●Client-side coding

 ● PHP                             ...
HTML
• HTML stands for Hyper Text Markup Language

• HTML is not a programming language, it is a markup
  language
• A mar...
Note

•   HTML is Not Programming Language.
• HTML is a view Language.




                         www.devoxx.com
www.devoxx.com
HTML
• Static Not Dynamic




                       www.devoxx.com
Servlet
• A Servlet is a Java class which conforms to the Java
  Servlet API, a protocol by which a Java class may respond...
Life Cycle of Servlet




              www.devoxx.com
www.devoxx.com
www.devoxx.com
www.devoxx.com
www.devoxx.com
www.devoxx.com
•     public class NewServlet extends HttpServlet {

•      protected void doPost(HttpServletRequest request,
      HttpSe...
JSP
• JSP simplifies the development process, allowing
  programmers to input Java code directly into the HTML
  file or J...
www.devoxx.com
Life Cycle of JSP




      www.devoxx.com
url




www.devoxx.com
JSP Demo




  www.devoxx.com
output




         www.devoxx.com
Demo 1




 www.devoxx.com
Demo




       www.devoxx.com
Demo
• int x = 2,z = 2;

•       System.out.println(x+z+"");
•       System.out.println(""+x+z);
•       System.out.printl...
You must Know
• Web application:

• JSF

• Struts

• Hibernate

• EJB 3.0

• Mobile application:

• j2ME:

• Symbian


   ...
Questions




            www.devoxx.com
Upcoming SlideShare
Loading in...5
×

Web Fundamental

2,602

Published on

Published in: Education
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
2,602
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
52
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Transcript of "Web Fundamental"

  1. 1. www.devoxx.com
  2. 2. Web Fundamental www.devoxx.com Basem Elsherbeny
  3. 3. After this presentation www.devoxx.com
  4. 4. Agenda • Internet • HTTP,DNS • HTML • Client/Server • Server and Client side coding • Servlet • JSP • JSF,Struts 4 www.devoxx.com
  5. 5. Each pattern describes a problem which occurs over and over again in our environment, and then describes the core of the solution to that problem, in such a way that you can use this solution a million times over 5 www.devoxx.com
  6. 6. 6 www.devoxx.com
  7. 7. 7 www.devoxx.com
  8. 8. DNS • it translates domain names meaningful to humans into the numerical (binary) identifiers associated with networking equipment for the purpose of locating and addressing these devices worldwide. . • For example, www.example.com translates to208.77.188.166. 8 www.devoxx.com
  9. 9. server • a server is any combination of hardware or software designed to provide services to clients. When used alone, the term typically refers to a computer which may be running a server operating system, but is commonly used to refer to any software or dedicated hardware capable of providing services. www.devoxx.com
  10. 10. Server/Client Side • Server-side refers to operations that are performed by the server in a client-server relationship in computer networking • Client-side refers to operations that are performed by the client in a client-server relationship in a computer network. www.devoxx.com
  11. 11. Server/Client Side ● Server-side coding ●Client-side coding ● PHP ●CSS ● ASP ●HTML & DHTML ● CGI and/or Perl ●XHTML ● J2EE ● Python, e.g. Django ●Javascript ● Ruby, e.g. Ruby on Rails ●Flash ●SilverLight www.devoxx.com
  12. 12. HTML • HTML stands for Hyper Text Markup Language • HTML is not a programming language, it is a markup language • A markup language is a set of markup tags • HTML uses markup tags to describe web pages • . www.devoxx.com
  13. 13. Note • HTML is Not Programming Language. • HTML is a view Language. www.devoxx.com
  14. 14. www.devoxx.com
  15. 15. HTML • Static Not Dynamic www.devoxx.com
  16. 16. Servlet • A Servlet is a Java class which conforms to the Java Servlet API, a protocol by which a Java class may respond to http requests. Thus, a software developer may use a servlet to add dynamic content to a Web server using the Java platform. www.devoxx.com
  17. 17. Life Cycle of Servlet www.devoxx.com
  18. 18. www.devoxx.com
  19. 19. www.devoxx.com
  20. 20. www.devoxx.com
  21. 21. www.devoxx.com
  22. 22. www.devoxx.com
  23. 23. • public class NewServlet extends HttpServlet { • protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { • out.println("<html>"); out.println("<head>"); out.println("<title>Servlet NewServlet</title>"); • out.println("</head>"); out.println("<body>"); • out.println("<h1>Servlet NewServlet at " + request.getContextPath () + "</h1>"); out.println("</body>"); • out.println("</html>");} www.devoxx.com
  24. 24. JSP • JSP simplifies the development process, allowing programmers to input Java code directly into the HTML file or JSP file. JSP is a multi-platform, independent and portable language that complies with the Java feature of ‘write once, run anywhere. www.devoxx.com
  25. 25. www.devoxx.com
  26. 26. Life Cycle of JSP www.devoxx.com
  27. 27. url www.devoxx.com
  28. 28. JSP Demo www.devoxx.com
  29. 29. output www.devoxx.com
  30. 30. Demo 1 www.devoxx.com
  31. 31. Demo www.devoxx.com
  32. 32. Demo • int x = 2,z = 2; • System.out.println(x+z+""); • System.out.println(""+x+z); • System.out.println(x+""+z); www.devoxx.com
  33. 33. You must Know • Web application: • JSF • Struts • Hibernate • EJB 3.0 • Mobile application: • j2ME: • Symbian www.devoxx.com
  34. 34. Questions www.devoxx.com
  1. Gostou de algum slide específico?

    Recortar slides é uma maneira fácil de colecionar informações para acessar mais tarde.

×