Your SlideShare is downloading. ×
0
Java web programming
Java web programming
Java web programming
Java web programming
Java web programming
Java web programming
Java web programming
Java web programming
Java web programming
Java web programming
Java web programming
Java web programming
Java web programming
Java web programming
Java web programming
Java web programming
Java web programming
Java web programming
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Java web programming

1,083

Published on

Week1 Session1 of first Yarl IT Hub Crash Course on Java Web Programming!

Week1 Session1 of first Yarl IT Hub Crash Course on Java Web Programming!

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

No Downloads
Views
Total Views
1,083
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
9
Comments
0
Likes
1
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Java Web Programming Week 1
  • 2. what is web programming?
  • 3. Why Can’t We Have a Simple Java Main Class? How do I How do you How do the worldtalk to a class? talk to a class? talk to a class?
  • 4. YEAH I KNOW THAT! THAT’S HTTP, XML,(X)HTML(5), WS .. ALL THOSE RUBBISH!BUT..Source:http://onjava.com
  • 5. Some Movie Stars’ Names For Rest Of Your Life To Dream On!Web Server/Servlet Container/ApplicationServerHTTP/HTTPS : All of em’ understand these guys!GET/POST .. again?Browser : a genius!
  • 6. Web/Application Servershttp://www.yarlithub.org:8080/yschool/crash/oops.html Apache IIS Websphere weblogic Jetti! Netti
  • 7. Model View Controller
  • 8. Bite on JSP/Servlet+ Servlet is your controller!+ Container understand which request is for which servlet!+ Servlet can read the request, “call the friend” if doesn’t know the answer! Then write the response. + That friend can be a “Model” Or a “Service”!+ What is written in the response is the “VIEW” .. HTML Servlet is the controller, response is the view & person who knows the answer is the model!
  • 9. Sample ServletSource : http://www.apl.jhu.edu/~hall/java/Servlet-Tutorial/Servlet-Tutorial-First-Servlets.html
  • 10. Result in Browserhttp://www.apl.jhu.edu/~hall/java/Servlet-Tutorial/Servlet-Tutorial-First-Servlets.html
  • 11. Wait A Sec .. Where is this damn JSP? We should have – THINK written the htmlcontent into a file! If files vary then its fine! … But if the content vary?
  • 12. An ultimate web application!
  • 13. --

×