|
Grab Ahold Of The Code
Dig deeper into Java technologies with Hands-on Labs.
These days, web applications have to behave like regular desktop apps. Users expect web apps to behave dynamically and don't expect to wait for full page refresh anymore. Technology enabling this dynamic behavior is named AJAX and many software frameworks enable developers to easily integrate AJAX technology into their applications. This LAB will learn you how develop a special kind of web application, a Portlet, with NetBeans and Google Web Kit, a popular AJAX development framework. Google Web Toolkit (GWT) is an open source Java software development framework that makes writing AJAX applications easy for developers who don't speak browser quirks as a second language. You write your front end in the Java programming language, and the GWT compiler converts your Java classes to browser-compliant JavaScript and HTML. This LAB will explain you how to write an AJAX enabled portlet, i.e. a portlet that refreshes itself automatically to reflect data updates on a backend server. GWT will be responsible to generate the HTML and Javascript part of the portlet and to handle the asynchronous communication with the backend server. Our LAB portlet will show financial information : a set of stock quotes, their current price and the variation since the last quotation, in percent. These information will be provided by a backend service, implemented as a Stateless EJB and exposed as a Web Service. We will develop this backend service as part of this lab (but it will return random values and not real financial information :-) ) The portlet will then be deployed on the OpenSource Portlet Container. This lab is entirely build on top of open source products and libraries. At JavaOne, this lab will be presented in Hall E (Room# 132) on Tuesday, 08:20pm Please bring your laptops to this lab as there will be no machines provided in this room.
You need to be a registered Sun Developer Network member to download the lab and view the instructions. If you are a registered SDN member, please click on "Download or Instructions" button to log-in to view the lab. If you wish to join SDN, please click here. |
FREE White Papers on Java SE, Java EE, cloud computing and database technologies.
| |||||||
|
| ||||||||||||