Presentation is loading. Please wait.

Presentation is loading. Please wait.

Markus Hjort Reaktor Innovations Java Web Development T-111.4360 WWW-palvelun HUT 4.3.2008.

Similar presentations


Presentation on theme: "Markus Hjort Reaktor Innovations Java Web Development T-111.4360 WWW-palvelun HUT 4.3.2008."— Presentation transcript:

1 Markus Hjort Reaktor Innovations Java Web Development T-111.4360 WWW-palvelun suunnittelu @ HUT 4.3.2008

2 Goals Tonight  I hope you all get  Short introduction to Java Web Development  Understanding how Java tries to solve real world problems within web development!

3 The Big Picture

4 Standards  Java Applets  Java Servlets  Java Server Pages (JSP) ‏  Java Server Faces (JSF) ‏  Java Portlets

5 Open Source Frameworks  Struts  WebWork  GWT (Google Web Toolkit) ‏  Tapestry ‏  Wicket ‏ ...

6 Servlet Containers (Application Servers) ‏  Tomcat  Jetty  Bea WebLogic  IBM WebSphere  Caucho Resin ...

7 Typical applications  Static web sites  Dynamic web sites  Web-based Products

8 The Challenges of Web Development*  Web interfaces change frequently  Web interfaces involve complex markup  Web interfaces use a very different model compared to traditional Uis in languages such as Java * Rod Johnson: J2EE Design and development

9 The Challenges of Web Development  HTTP requests can carry only string parameters  Web interfaces make it difficult to validate user input, as we have limited control over over the client browser  HTML offers a limited choice of UI controls

10 The Challenges of Web Development  Ensuring that a web site looks right and works correctly in all all common browsers can be difficult  There are many efficiency considerations  Web interfaces are relatively hard to test

11 Lessons Learned In Java Web Development

12 Epic fails  The shortcomings of Servlet-only solutions  “JSP Model 1” Architecture

13 OO is important!

14 Reuse

15 Testability

16 Model View Controller (MVC) ‏

17 Front Controller Pattern  Controller uses model for business logic  Controller forwards to view  View shows model values

18 Component Frameworks

19 Html Components  Links  Labels  Images ...  You can easily create your own custom components

20 Thank you!

21 Links  JSP Tutorial: http://www.jsptut.com/http://www.jsptut.com/  Wicket: http://apache.wicket.org/http://apache.wicket.org/  MVC: http://en.wikipedia.org/wiki/Model-view-controllerhttp://en.wikipedia.org/wiki/Model-view-controller  JDBC (for database access): http://java.sun.com/docs/books/tutorial/jdbc/overview/index.html http://java.sun.com/docs/books/tutorial/jdbc/overview/index.html


Download ppt "Markus Hjort Reaktor Innovations Java Web Development T-111.4360 WWW-palvelun HUT 4.3.2008."

Similar presentations


Ads by Google