SlideShare a Scribd company logo
Beginning in Java Web Application Leng^M[0]
Overview Today Beginning   & Basic of Java web Apps HTML JSP, Servlet MVC Model MVC Framework Make Hi5’s little brother DO NOT COVER TO DAY    Database, More complex details CONDITION   Times and interesting
J2EE Technology Java 2 Enterprise Edition Many services for organization, business with securities, etc.  Web application services More complex than JDK Useful in organization system  or big systems
J2EE Services - Web Application Provide JSP Java Server Page Servlet Container (Tomcat , glassfish) Frameworks Seem like PHP, ASP, CGI Script language
Start! Open Netbean!
HTML All web pages in the world, represent by HTML  (Hyper Text Makeup Language) Use Tag  <name property=“”></name> Static Web pages  (Just texts and pictures) Dynamic Web pages (Interact with users or do some things in  that page)
JSP Use tag too! <%@ … …%> <% … %>  <%! ….%> <%= … %> Still use HTML to represent Should HTML + JSP in one pages Save page by use  .jsp
Interact with User HTML Form Action  the action of that form, when event occured. Method GET  ,  POST More  importance  to understand
Servlet Make dynamic web contents The Servlet  API , contained in the  Java package  hierarchy  javax.servlet . Work on  Server Side . Servlet Container  Apache Tomcat Use to be a controller Request, Responds doGet, doPost, doProcess
MVC Model OO designing concept Useful in many web application Model, View, control Separate main part into sub part for working together  Model     business logic (Java classes, JavaBeans) View     just view (JSP pages) Control     stay between View and Model, it ‘s  controller (Serlvet)
MVC Framework Framework completely structure for programmer to implement into application (Just know How to use? Don’t worry about codes of the framework) MVC Framework - Struts, Spring MVC -  Today, We talk about Struts with Netbean.
Struts 1.x.x implement model-view-controller MVC design pattern. Apache Jakarta project   Open Source ^^ Convenience. Netbean provided.
Struts 1.x.x (cont.) Struts Config (XML)    mapping Action path - *.do (just default) - *.a, *.cs, *.mep, *.love (up to goo) ActionForm    get data + validating (control) Action     Do process (concerning with Bussiness logic) Action Forward    to JSP pages
Hi5 use Struts  Let try!

More Related Content

What's hot (20)

PDF
Spring Mvc
ifnu bima
 
PDF
Asp.net mvc basic introduction
Bhagath Gopinath
 
PPTX
ASP .Net MVC 5
Nilachal sethi
 
PPTX
MVC & backbone.js
Mohammed Arif
 
PPT
Asp.net mvc
Naga Harish M
 
PPT
Silver Light By Nyros Developer
Nyros Technologies
 
PPTX
Introduction to ASP.NET MVC
Joe Wilson
 
PPTX
Aurelia and .NET
Sean Hunter
 
PPT
ASP.NET MVC Presentation
ivpol
 
PPTX
Introduction to ASP.NET MVC
Emad Alashi
 
PPTX
Asp.net mvc 5 course module 1 overview
Sergey Seletsky
 
PPTX
Mortal Kombat! ASP.NET MVC vs ASP.NET Webforms – ASP.NET MVC is amazing
Tom Walker
 
PPTX
Build amazing apps with Aurelia - Webinar Slides
Belatrix Software
 
PPT
MVC Architecture in ASP.Net By Nyros Developer
Nyros Technologies
 
PPTX
Mvc framework
Dhurham Fahem
 
PPTX
Asp.net mvc presentation by Nitin Sawant
Nitin S
 
ODP
Mvc
abhigad
 
PDF
Mvc3 crash
Melick Baranasooriya
 
PDF
Aurelia intro
Ats Uiboupin
 
PPTX
Lightweight webdev
damianofusco
 
Spring Mvc
ifnu bima
 
Asp.net mvc basic introduction
Bhagath Gopinath
 
ASP .Net MVC 5
Nilachal sethi
 
MVC & backbone.js
Mohammed Arif
 
Asp.net mvc
Naga Harish M
 
Silver Light By Nyros Developer
Nyros Technologies
 
Introduction to ASP.NET MVC
Joe Wilson
 
Aurelia and .NET
Sean Hunter
 
ASP.NET MVC Presentation
ivpol
 
Introduction to ASP.NET MVC
Emad Alashi
 
Asp.net mvc 5 course module 1 overview
Sergey Seletsky
 
Mortal Kombat! ASP.NET MVC vs ASP.NET Webforms – ASP.NET MVC is amazing
Tom Walker
 
Build amazing apps with Aurelia - Webinar Slides
Belatrix Software
 
MVC Architecture in ASP.Net By Nyros Developer
Nyros Technologies
 
Mvc framework
Dhurham Fahem
 
Asp.net mvc presentation by Nitin Sawant
Nitin S
 
Mvc
abhigad
 
Aurelia intro
Ats Uiboupin
 
Lightweight webdev
damianofusco
 

Viewers also liked (12)

PPT
Websrc~1
Ram Dutt Shukla
 
PDF
How Internet Serch Engins Work
manami motegi
 
PPTX
Androidwear
Raja Kiran
 
PPTX
Problem-based Learning at 2014 CSE IPSG sharing
Lester Lim
 
PPT
Android Seminar
Ganesh Waghmare
 
PPTX
CND magnétoscopie
Layla Zerhoun
 
PPT
Java Server Faces (JSF) - Basics
BG Java EE Course
 
PPT
Java Persistence API (JPA) Step By Step
Guo Albert
 
DOC
How a search engine works report
Sovan Misra
 
PPTX
Ppt on seminar
Madhuri Bind
 
PPTX
Search Engine Powerpoint
201014161
 
PDF
Build Features, Not Apps
Natasha Murashev
 
Websrc~1
Ram Dutt Shukla
 
How Internet Serch Engins Work
manami motegi
 
Androidwear
Raja Kiran
 
Problem-based Learning at 2014 CSE IPSG sharing
Lester Lim
 
Android Seminar
Ganesh Waghmare
 
CND magnétoscopie
Layla Zerhoun
 
Java Server Faces (JSF) - Basics
BG Java EE Course
 
Java Persistence API (JPA) Step By Step
Guo Albert
 
How a search engine works report
Sovan Misra
 
Ppt on seminar
Madhuri Bind
 
Search Engine Powerpoint
201014161
 
Build Features, Not Apps
Natasha Murashev
 
Ad

Similar to Beginning In J2EE (20)

PPT
Ppt for Online music store
ADEEBANADEEM
 
PPTX
Advance Java Topics (J2EE)
slire
 
PPTX
BITM3730Week12.pptx
MattMarino13
 
PPTX
AJppt.pptx
SachinSingh217687
 
PDF
Build Java Web Application Using Apache Struts
weili_at_slideshare
 
PDF
Jsf Framework
Marimuthu Udayakumar
 
PPTX
Java web programming
jkumaranc
 
PPTX
Integrating Servlets and JSP (The MVC Architecture)
Amit Ranjan
 
PPTX
Java web application development
RitikRathaur
 
PPTX
Jsp (java server page)
Chitrank Dixit
 
PDF
14 mvc
snopteck
 
PPT
Lecture 19 dynamic web - java - part 1
Д. Ганаа
 
PDF
Java Server Pages
Eleonora Ciceri
 
PDF
Developing Java Servlets 2nd Edition James Goodwill
attaibagnep3
 
PDF
Java Edge.2008.Web.Frameworks.Catagorized
roialdaag
 
PDF
Struts An Open-source Architecture for Web Applications
elliando dias
 
PPT
MVC
akshin
 
PPT
Developing Java Web Applications
hchen1
 
PPTX
JSP APP DEVLOPMENT.pptx Related to Android App Development
BhawnaSaini45
 
PPT
Introduction to the Servlet / JSP course
JavaEE Trainers
 
Ppt for Online music store
ADEEBANADEEM
 
Advance Java Topics (J2EE)
slire
 
BITM3730Week12.pptx
MattMarino13
 
AJppt.pptx
SachinSingh217687
 
Build Java Web Application Using Apache Struts
weili_at_slideshare
 
Jsf Framework
Marimuthu Udayakumar
 
Java web programming
jkumaranc
 
Integrating Servlets and JSP (The MVC Architecture)
Amit Ranjan
 
Java web application development
RitikRathaur
 
Jsp (java server page)
Chitrank Dixit
 
14 mvc
snopteck
 
Lecture 19 dynamic web - java - part 1
Д. Ганаа
 
Java Server Pages
Eleonora Ciceri
 
Developing Java Servlets 2nd Edition James Goodwill
attaibagnep3
 
Java Edge.2008.Web.Frameworks.Catagorized
roialdaag
 
Struts An Open-source Architecture for Web Applications
elliando dias
 
MVC
akshin
 
Developing Java Web Applications
hchen1
 
JSP APP DEVLOPMENT.pptx Related to Android App Development
BhawnaSaini45
 
Introduction to the Servlet / JSP course
JavaEE Trainers
 
Ad

Recently uploaded (20)

PPTX
UiPath Academic Alliance Educator Panels: Session 2 - Business Analyst Content
DianaGray10
 
PDF
Complete Network Protection with Real-Time Security
L4RGINDIA
 
PDF
July Patch Tuesday
Ivanti
 
PDF
Building Resilience with Digital Twins : Lessons from Korea
SANGHEE SHIN
 
PDF
Empower Inclusion Through Accessible Java Applications
Ana-Maria Mihalceanu
 
PDF
Blockchain Transactions Explained For Everyone
CIFDAQ
 
PDF
The Builder’s Playbook - 2025 State of AI Report.pdf
jeroen339954
 
PDF
Chris Elwell Woburn, MA - Passionate About IT Innovation
Chris Elwell Woburn, MA
 
PDF
Exolore The Essential AI Tools in 2025.pdf
Srinivasan M
 
PDF
SWEBOK Guide and Software Services Engineering Education
Hironori Washizaki
 
PDF
Wojciech Ciemski for Top Cyber News MAGAZINE. June 2025
Dr. Ludmila Morozova-Buss
 
PPTX
Top iOS App Development Company in the USA for Innovative Apps
SynapseIndia
 
PDF
CIFDAQ Token Spotlight for 9th July 2025
CIFDAQ
 
PPTX
✨Unleashing Collaboration: Salesforce Channels & Community Power in Patna!✨
SanjeetMishra29
 
PDF
Presentation - Vibe Coding The Future of Tech
yanuarsinggih1
 
PDF
HubSpot Main Hub: A Unified Growth Platform
Jaswinder Singh
 
PDF
New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
PPTX
Building a Production-Ready Barts Health Secure Data Environment Tooling, Acc...
Barts Health
 
PDF
Using FME to Develop Self-Service CAD Applications for a Major UK Police Force
Safe Software
 
PDF
Impact of IEEE Computer Society in Advancing Emerging Technologies including ...
Hironori Washizaki
 
UiPath Academic Alliance Educator Panels: Session 2 - Business Analyst Content
DianaGray10
 
Complete Network Protection with Real-Time Security
L4RGINDIA
 
July Patch Tuesday
Ivanti
 
Building Resilience with Digital Twins : Lessons from Korea
SANGHEE SHIN
 
Empower Inclusion Through Accessible Java Applications
Ana-Maria Mihalceanu
 
Blockchain Transactions Explained For Everyone
CIFDAQ
 
The Builder’s Playbook - 2025 State of AI Report.pdf
jeroen339954
 
Chris Elwell Woburn, MA - Passionate About IT Innovation
Chris Elwell Woburn, MA
 
Exolore The Essential AI Tools in 2025.pdf
Srinivasan M
 
SWEBOK Guide and Software Services Engineering Education
Hironori Washizaki
 
Wojciech Ciemski for Top Cyber News MAGAZINE. June 2025
Dr. Ludmila Morozova-Buss
 
Top iOS App Development Company in the USA for Innovative Apps
SynapseIndia
 
CIFDAQ Token Spotlight for 9th July 2025
CIFDAQ
 
✨Unleashing Collaboration: Salesforce Channels & Community Power in Patna!✨
SanjeetMishra29
 
Presentation - Vibe Coding The Future of Tech
yanuarsinggih1
 
HubSpot Main Hub: A Unified Growth Platform
Jaswinder Singh
 
New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
Building a Production-Ready Barts Health Secure Data Environment Tooling, Acc...
Barts Health
 
Using FME to Develop Self-Service CAD Applications for a Major UK Police Force
Safe Software
 
Impact of IEEE Computer Society in Advancing Emerging Technologies including ...
Hironori Washizaki
 

Beginning In J2EE

  • 1. Beginning in Java Web Application Leng^M[0]
  • 2. Overview Today Beginning & Basic of Java web Apps HTML JSP, Servlet MVC Model MVC Framework Make Hi5’s little brother DO NOT COVER TO DAY  Database, More complex details CONDITION  Times and interesting
  • 3. J2EE Technology Java 2 Enterprise Edition Many services for organization, business with securities, etc. Web application services More complex than JDK Useful in organization system or big systems
  • 4. J2EE Services - Web Application Provide JSP Java Server Page Servlet Container (Tomcat , glassfish) Frameworks Seem like PHP, ASP, CGI Script language
  • 6. HTML All web pages in the world, represent by HTML (Hyper Text Makeup Language) Use Tag <name property=“”></name> Static Web pages (Just texts and pictures) Dynamic Web pages (Interact with users or do some things in that page)
  • 7. JSP Use tag too! <%@ … …%> <% … %> <%! ….%> <%= … %> Still use HTML to represent Should HTML + JSP in one pages Save page by use .jsp
  • 8. Interact with User HTML Form Action the action of that form, when event occured. Method GET , POST More importance to understand
  • 9. Servlet Make dynamic web contents The Servlet API , contained in the Java package hierarchy javax.servlet . Work on Server Side . Servlet Container Apache Tomcat Use to be a controller Request, Responds doGet, doPost, doProcess
  • 10. MVC Model OO designing concept Useful in many web application Model, View, control Separate main part into sub part for working together Model  business logic (Java classes, JavaBeans) View  just view (JSP pages) Control  stay between View and Model, it ‘s controller (Serlvet)
  • 11. MVC Framework Framework completely structure for programmer to implement into application (Just know How to use? Don’t worry about codes of the framework) MVC Framework - Struts, Spring MVC - Today, We talk about Struts with Netbean.
  • 12. Struts 1.x.x implement model-view-controller MVC design pattern. Apache Jakarta project Open Source ^^ Convenience. Netbean provided.
  • 13. Struts 1.x.x (cont.) Struts Config (XML)  mapping Action path - *.do (just default) - *.a, *.cs, *.mep, *.love (up to goo) ActionForm  get data + validating (control) Action  Do process (concerning with Bussiness logic) Action Forward  to JSP pages
  • 14. Hi5 use Struts Let try!