|
|
|
 Labs |
|
|
|
|
|
The following hands-on labs will be conducted as instructor-led labs during Sun Tech Days. Each instructor-led lab will be started with brief presentation and demos. Hard-copy printouts will be provided for these labs. Please note that the labs are conducted in English.
Please refer to the Lab Download Instructions for a successful hands-on lab experience.
- LAB-4415 Benchmarking and Profiling Web 2.0 Applications For Performance
PDF Instructions
Developers of Web2.0 applications need to accommodate thousands, if not millions of users. Performance characteristics of applications employing Web 2.0 technologies are different from most other Web applications. You'll want to make sure the upcoming application is able to handle the user load with the limited hardware you have.
In this lab, we'll use open source Java tools - the NetBeans IDE, GlassFish application server, and libraries such as jMaki (AJAX based) to build a web application using the Web2.0 concepts. Then we'll build the workload using Faban - an open source benchmarking framework and harness - to simulate real users interacting with the system. You'll be able to test and see your results right at the end of the lab session.
- LAB-4450: Building Ajax-Enabled JavaServer Faces and Web Applications
The application we build in this lab simulates a real world flower store shopping site using AJAX, JavaServer Faces,
Web Services, Hibernate and EJB technology. NetBeans Visual Web Pack is used to demonstrate how to visually develop AJAX and JavaSever Faces standard web application and integrate easily with web services, Hibernate and EJB application. In this lab, you will explore how to develop web applications with AJAX-enabled JavaServer Faces components, jMaki widgets and other third party JavaServer Faces components. jMaki widgets and other third party JSF components has the characteristic of visually appealing and provide rich user interfaces. The JavaScript and complex server-side asynchronous communication within each JavaServer Faces component is encapsulated from the application development. Using the JavaServer faces component is as simple as Drag and drop the component, set properties, and customize server-side event handlers. Also, you will learn how to access databases, web services, and work with Hibernate and EJB application at back end. Major features and functions you will implement in the lab: AJAX rating, paypal services, store locator on maps, data obtained from Hibernate/EJB application and displayed in well formatted table and multiple pages view. By the end of the lab, you will complete a flower store application similar to a real life application.
- LAB-5116: Find Memory Leak using NetBeans Profiler
The NetBeans profiler has powerful capabilities to help you track down memory leaks in Java applications. Using instrumentation, you see allocations on the heap happen as your program runs and the profiler provides statistical values to highlight patterns in your application's memory allocations. This "behavioral" approach can help you quickly identify the most likely memory leak candidates, even in situations where each individual leak is very small. The profiler also has a HeapWalker that can be used to examine the relationships between objects on the heap. This "after the fact" approach can help you quickly identify why a particular object is not being garbage collected by the Java virtual machine. And with its tight integration into the developer work flow, the profiler makes it easy to start/stop profiling sessions and more importantly, to go from profiler results directly into the source code that has the problem.
In this hands-on lab, you are going to use the NetBeans profiler to find out where exactly a memory leak is located, first in a web application (Exercise 1) and then in a stand-alone application (Exercise 2). The latter is based on a real-life story where the NetBeans profiler was used to find a memory leak. In Exercise 3, you are going to use the HeapWalker feature of the profiler to analyze a heap. In Exercise 4, you will learn how to attach the NetBeans profiler to an already-running application.
- LAB-6340: Java ME: Streaming video from Server to device
The Mobile Media API (MMAPI) defined by JSR 135 offers a range of multimedia capabilities for mobile devices including playback and recording of audio and video from a variety of sources. J2ME Web Services API (JSR 172) enables J2ME devices to be web services clients, providing a programming model that is consistent with the standard web services platform. In this hands-on lab session, developers will gain the experience with the successful tools, technologies and the best practices to seamlessly build wireless application consuming web service using the Java ME and Java EE technologies. The result of the hands on lab will be a real world mobile application accessing a server with a video database and playing the selected record on the device.
- LAB-7281: Introduction to JavaFX Programming
The purpose of JavaFX Script is to make GUI programming easier in general that leverages Rapid Prototyping of a dynamic language and the type and code safety of static compilation. JavaFX Script fully supports Swing as well as Java2D.
JavaFX Script is actually a declarative Java scripting language with static typing for good IDE support and compile-time error reporting (unlike JavaScript...), type-inference, declarative syntax, and automatic data-binding with full support for 2D graphics and standard Swing components as well as declarative animation. You can also import java classes, create new Java objects, call their methods, and implement Java interfaces.
The goal for this Hands-on Lab is to give you an introduction to JavaFX Script Language. Here we start to explore the JavaFX environment first with JavaFXPad - a lightweight tool that allows you to interactively create graphical elements. Then we let you get familiar with the basics of using Java 2D in JavaFX Script using the Java2D Tutorial. The tutorial walks through creating different shapes such as Rectangles, Circles and so on and adding 2D and animation effects. Then there are some optional exercises that you can pick based on your interest and work on Swing applications or JavaFX Applications using NetBeans or SVG.
- LAB-9520: Solaris Dynamic Tracing for Java and Other Web 2.0 Technologies
In this lab you will learn the basic concepts in DTrace, some in-depth features of the D-language and concepts on using DTrace to understand system behavior as well as examine programs written in Java, JavaScript and C/C++
As a prerequisite for this Lab your laptop will either need to have Solaris installed or be capable of running Solaris from a Live DVD. Please verify with The Solaris Device Detection Tool. Alternatively you could install Solaris under VMware or Parallels on your Laptop.
For those of you who are interested in setting up your Laptop with Solaris we will have an "Install fest" running in the pavilion during the TechDay event. Here you can find Sun engineers who can help you with installing and configuring Solaris for your Laptop.
- LAB-3410: Metro™: try out simple and interoperable web services
PDF Instructions
Metro™ is a high-performance, extensible, easy-to-use web service stack. You can use it for every type of web service from simple to reliable, secured, and transacted web services that interoperate with .NET services. Metro bundles stable versions of JAX-WS RI and WSIT.
JAX-WS (Java™ API for XML Web Services) is a fundamental technology for developing SOAP based and RESTful Java Web services.
WSIT (Web Services Interoperability Technology) enables secure, reliable, interoperability between Java Web services and Microsoft's Windows Communication Foundation.
This lab will start with developing a simple Metro web service and show how to enhance this web service with Metro features like reliability and security. The next part of the lab will enable a Web Service client with Metro security features and have it interoperate with the previously built service. This lab will show the ease of development that the NetBeans 6.0 provides for achieving this.
NetBeans™ 6.0 will be used in the lab to modify and configure both the web service and the client. Sun's GlassFish™ application server will be used as the container. The lab uses WS-Reliability and WS-Security as examples of Metro secure, reliable features.
- LAB-6400: Create Your Own Mobile Game
PDF Instructions
NetBeans Mobility 6.0.1 introduced various tools for Mobile applications including new Visual Designer as well as Game Builder. Both allows you to visually develop Java ME applications and games for various MIDP-2.0-compliant mobile devices.
In this lab, participants will use the Game Builder to create a mobile game. They will create the menu for managing the application and also the game itself. NetBeans Mobile Pack helps you with connecting your game to an enterprise solution through J2ME Web Services API (JSR 172) for exchanging various data.
In this hands-on lab session, developers will gain an experience with the successful tools, technologies and the best practices to seamlessly build mobile game application using the Java ME and Java EE technologies. The result of the hands on lab will be a real world mobile game which you can take with you in your mobile phone.
- LAB-7350: Rich Clients with JavaFX
PDF Instructions
JavaFX™ technology has taken the Java™ technology world by storm, because its declarative style and compositional programming behavior make it ideal for designing richer GUIs than was possible for a traditional programmer on the Java platform using different layout managers, callbacks, and so on.
Because the JavaFX programming language is evolving, this Hands-on Lab starts with a quick overview of the language, looks at some of the changes since last releases, and covers the newer deployment features. It also looks at how to design some really rich applications by using scenegraphs, animation, media, and other effects.
After attending this lab, attendees will be able to walk away with a very good idea of how to use JavaFX technology for designing compelling rich client applications that incorporate graphics and other effects such as media and animation.
- LAB-8430: Isolating Performance Bottlenecks and Memory Leaks With the NetBeansTM Profiler
PDF Instructions
What do you need to make profiling of a JavaTM application easy? The answer is simple: powerful tools that are well integrated into your development environment. Recent advances in the JDK have increased the power and flexibility of profiling tools for the Java platform. Further advances in integrated development environments (IDEs) have made profiling tools even easier and more convenient to use. Finding performance problems, threading issues, and memory leaks has never been easier.
This lab demonstrates specific advances in the integration of powerful profiling tools into the NetBeans IDE and has exercises that use real-world examples of performance and memory problems that were found in four different open source Java projects: Roller, HttpUnit, Azureus, and OpenMap.
- LAB-1625: Java SE Trouble Shooting Tools in a Nutshell [Available in Chinese only]
Ever confused by the memory leak happening in your applications quietly?
Or not sure why the threads go into deadlock?
Java SE 6 now comes with various tools that can help you trouble shoot your Java applications
This lab introduces the tools bundled in JDK 6 supporting trouble shooting these kind of issues.
In this lab we will use JConsole, jps, jstat, jinfo, jstack, jmap, hprof, jhat, etc.
Also this lab shows cases how to use them to address problems like memory leaks, threads deadlock, etc in your Java program.
Note: sessions vary by conference; use your specific country agenda to build your curriculum.
|
|
|
Tentative 2008-2009 Schedule: |
| New York, United States September, 2008 |
| São Paulo, Brazil September, 2008 |
| Seoul, South Korea October, 2008 |
| Taipei, Taiwan November 17, 2008 |
| Guangzhou, China November 19, 2008 |
| Beijing, China November 21-23, 2008 |
| Tokyo, Japan December, 2008 |
| Singapore, Singapore January, 2009 |
| India February, 2009 |
| Boston, United States February, 2009 |
| United Kingdom March, 2009 |
| St. Petersburg, Russia April, 2009 |
| Madrid, Spain April/May, 2009 |
| Tel Aviv, Israel May, 2009 |
| |
| See the 2007-2008 locations |
| |
|
Sun's Free Product Trial Program - Try and Buy has lots of exciting news to share!
Announcing...Special Discount Pricing of 25-45% off list price to those who buy 'their trial system' before June 30, 2008.
Win a Sun Ultra 20 Workstation!
Attend Sun Tech Days for a chance to win a blazing fast x64 workstation.
|