![]() |
|||||||||||||||||
|
| |||||||||||||||||
Java University This year the JavaOne conference opens with the Java University program, and it is more exciting than ever. Delivered by Sun certified instructors, experts in Java technology, these full one-day courses are designed for developers seeking down and dirty, in-depth knowledge. Created for the intermediate to advanced developer, the courses are packed with useful information on Java Platform, Enterprise Edition (Java EE) technologies and architecture. These are not lightweight programs, but all-day courses outlined to cover the nitty-gritty details that developers need for their everyday work. Attendees chose from one of the following Java technology courses: In addition, the free bonus course, Exploring Ajax & JavaServer Faces Technology, was added exclusively for Java University attendees this year. Each course requires some knowledge of Java programming, and at least a fundamental understanding of Java EE technologies is helpful. The courses start out by thoroughly defining specific technologies, functions of components, and the lifecycles of various technologies. The courses then go into detail about how those technologies are applied to real world scenarios, down to the details of coding requirements and recommendations. I went to the Exploring the Struts Framework and How it Supports Web Component Development course, taught by Evan Troyka, who has been teaching Java programming since 1997. The room had close to 140 attendees, and the tables accommodated the many laptops that people brought with them. With each course, attendees received a thick booklet covering the course content, diagrams, and example code. At the front of the room, we viewed the slides on two huge screens. Evan began by covering what we would learn throughout the day, and explained that attendees would do follow-up lab work with special passwords the following week. This particular course covered:
The course began with HTTP protocol, and gave examples of GET and POST methods as well as Request and Response format. He then went on to give an overview of the web component model and specific web components, such as servlets and JSP pages, and how they differ and what they have in common. He stressed the importance on not filling JSP pages with code you would normally put in a servlet. Otherwise presentation code and business logic becomes increasingly difficult to manage and troubleshoot. In addition, he went over the pros and cons of using the Java EE platform over, say, a CGI model. The bottom line is performance because of the beauty of threading. This, however, can bring up concurrency issues that you wouldnt have with CGI. Even so, the Java platform suffers less processor load, and CGI systems are far more likely to crash. The other advantages of using the Java EE platform over CGI are the abundant Java APIs, platform independence, and container management. Evan gave code examples for servlets and a JSP page, and compared a bit of code written in ASP, PHP, and JSP: PHP
ASP
JSP
He went on to explain the advantages of JSP pages, such as that JSP pages have all the advantages that servlets do, can contain non-Java elements that are powered by Java components such as custom tags, standard tags, and expression language (EL), and can be developed without Java programming language skills. In addition, he showed diagrams of the Java EE platform, and how all the web components worked together with the HTTP protocol. The rest of the course got down to the details of each web component, and why and when you use each of them. To show how all the components come together, a Soccer League Case Study was detailed, starting with the logical client view, details of the HTML and JSP pages, structure of the web application, and deployment. The last half of the day detailed Struts, what you get with the software, implementation details, and the important ActionServlet, and methods you need to know most. Evan explained lines of code for the Soccer League Case Study and how it all tied together, and areas of simplification. The course was detailed, full of explanation and code samples, so developers could walk away with a thorough understanding of the concepts they would need to get working.
For More Information
| |||||||||||||||||
Comments | About
Sun | Privacy | Terms
of Use | Trademarks | Third
Party Content Disclaimer Conference content is subject to change. Copyright 1996 - 2006 Sun Microsystems, Inc. |
![]() |
|