NetBeans
IDE 5.0 One-Day Workshop in SD West 2006 Conference (March 14th, 2006
Tuesday) 
The
NetBeans community is delighted
to offer a one-day workshop as part of the SD
West 2006 conference program.
Take this
opportunity to see *and* learn the cool
features in
NetBeans that can instantly make you more productive. Topics in
all
areas will be covered: J2SE, J2EE, and J2ME, so regardless of the types
of applications you build this workshop is for you!
The workshop is open to all conference attendees on a first-come first-served basis. Attendees are expected to bring their own laptops in order to do the labs (please read the Hardware Requirement and Software Requirement sections below). Please bring a personal headphone if you can since the workshop includes listening to some online multi-media presentations.
The presentation slides and hands-on lab contents are going to be posted on this website. The final version will be posted on this website by March 7th, 2006. Also please feel free to take a look at the resources and play around with NetBeans IDE 5.0 before coming to the workshop.
If you have any further questions, please feel free to send them to the instructors. Please place "SD West 2006 NetBeans Day" in the subject field of your email.
The workshop is open to all conference attendees on a first-come first-served basis. Attendees are expected to bring their own laptops in order to do the labs (please read the Hardware Requirement and Software Requirement sections below). Please bring a personal headphone if you can since the workshop includes listening to some online multi-media presentations.
The presentation slides and hands-on lab contents are going to be posted on this website. The final version will be posted on this website by March 7th, 2006. Also please feel free to take a look at the resources and play around with NetBeans IDE 5.0 before coming to the workshop.
If you have any further questions, please feel free to send them to the instructors. Please place "SD West 2006 NetBeans Day" in the subject field of your email.
- Sang Shin, Java Techology Evangelist, sang.shin@sun.com
- Sridhar Reddy, Java Techology Evangelist, sridhar.reddy@sun.com
- Tim Boudreau, NetBeans Evangelist, tboudreau@sun.com
Agenda
The
following is the agenda of
the workshop. (The agenda and contents are still in "work in
progress".) An attendee is welcome to attend only the topics he
or she is interested. Since the workshop is offered as
first come first service basis, however, the seat is not always
guaranteed. Please be warned
that the workshop will be a bit
fast-paced given that there are a lot of topics to be covered.
The presentation slides and hands-on lab contents can be individually downloaded (click the link under each topic) or collectedly downloaded from here (work in progress).
The presentation slides and hands-on lab contents can be individually downloaded (click the link under each topic) or collectedly downloaded from here (work in progress).
- 08:00am-08:30am (30
minutes): NetBeans
IDE 5.0 Installation as described in Software
Requirement below
- For those people who have not installed NetBeans IDE 5.0, we will use this time to install it. If you have installed NetBeans IDE 5.0 (along with NetBeans Profiler, Mobility Pack from the NetBeans download webste, and collaboration plug-in from the update center) yourself already, you don't have to come during this time.
- A CD-ROM will be provided that contains NetBeans software and the lab contents during this time.
- 08:30am-09:15am (45 minutes): NetBeans 5.0 Introduction - Lecture, Demo, and Hands-on lab
- Abstract:
- Attendees will be exposed to
the
basic features of NetBeans IDE including enhanced code completion,
refactoring capabilities, etc. while building a simple HelloWorld Web
application.
- Presentation slides
- Work to do in this lab
- Do the NetBeans IDE 5.0 Quick Start Guide for Web Applications (15 minutes)
- This tutorial takes you through the basics of using NetBeans IDE 5.0 to develop web applications. This document is designed to get you going as quickly as possible.
- Do the NetBeans
IDE 5.0 Quick Start Guide for Web Applications II (20 minutes) -
The
document will be provided at the event.
- This tutorial will show you how to debug and test the web
application you built above. Also some of the editor features will be
explored as well.
- Watch and listen NetBeans
IDE 5.0 Beta JavaLobby Webcast (20 minutes) if you have time.
- This is an excellent multi-media overview of all the new features of NetBeans 5.0.
- Resources
- 09:15am-10:00am (45 minutes): NetBeans 5.0 GUI Builder (Matisse) - Lecture, Demo, and Hands-on lab
- Abstract:
- Matisse extends the current NetBeans IDE 4.1 Form Editor to provide simple and intuitive layout of GUIs without having to understand the complexities of Swing layout managers. As you drag and drop components into a form, the IDE automatically suggests allignment, spacing, and resizing constraints. Unlike GridBagLayout, the positioning is deteremined by the look and feel of the platform the app runs on. Resize it, localize it, run it on a different platform; with Matisse, your GUIs will always look great.
- Presentation slides
- Work to do in this lab
- Do the GUI Building in NetBeans IDE 5.0 tutorial (30 minutes)
- This tutorial gives you a step-by-step guideline for
building a ContactEditor form.
- Watch and listen Matisse flash demo (10 minutes)
- This is a quick 10 minutes flash demo that shows the power of Matisse.
- Resources
- 10:00am-10:15am (15 minutes): Morning break
- 10:15am-11:15am (60 minutes): NetBeans Modules (Plug-in's) - Lecture, Demo, and Hands-on lab
- Abstract:
- NetBeans IDE offers comprehensive support for building IDE plug-in modules and rich client applications on the NetBeans platform. A lot of support for extending the IDE and creating applications on top of the NetBeans Platform is provided. Using brand new templates in the New Project wizard and New File wizard, you can generate all the basic files and code you need. The Project Properties dialog box lets you configure API dependencies, MANIFEST.MF entries, and other project metadata. Code completion and other standard support provided by the Source Editor is available for plug-in modules too.
- Presentation slides
- Work to do in this lab
- Read Basic
Terms for NetBeans Plug-in Module Development (5 minutes)
- Do the NetBeans IDE 5.0 Plug-in Module Quick Start Guide tutorial (20 minutes)
- Do the NetBeans
Google Toolbar Module Tutorial (20 minutes)
- Resources
- 11:15am-noon (45 minutes): Building NetBeans Platform Applications - Lecture, Demo, and Hands-on lab
- Abstract:
- In this part of the work, we will use Tom Wheeler's tutorial on how you can create your own application based on the NetBeans platform. Among other things, he discusses the source and configuration files common to all modules, how to separate interface from implementation for greater flexibility, and how to "brand" the NetBeans platform to use your own menus, labels and graphics.
- Presentation slides
- Work to do in this lab
- Do the NetBeans IDE 5.0 HTML Editor Tutorial (15 minutes)
- Do the NetBeans
IDE 5.0 Rich-Client Application Quick Start Guide (15 minutes)
- Resources
- noon-01:30pm (90 minutes): Lunch break
- 01:30pm-02:15pm (45 minutes): Web App, JavaServer Faces(JSF) and Struts, AJAX Blueprint - Lecture, Demo, and Hands-on lab
- Abstract:
- Although you've always been able to use JavaServer Faces (JSF) and Struts in the IDE, it's never been easy. In NetBeans IDE 5.0, the New Project wizard has been extended so that while you create a web application, you can specify that you want to use JSF, Struts, or both. When you make this selection, the IDE adds all the JSF and Struts libraries to your application, as well as all their configuration files. While using the configuration files, you have code completion to support you as well as the ability to have menu items create all the tags the configuration files need. The New File wizard has also been enhanced -- you can choose templates for the creation of JSF Managed Beans, Struts Actions, and Struts Form Beans. And what if you have existing web applications? Can you add JSF and Struts support to them? Yes, of course. Use the new "Frameworks" panel in the Project Properties dialog box.
- Presentation slides
- Web App, JSF, Struts, AJAX Blueprint (PDF file)
- Web App, JSF,
Struts, AJAX Blueprint (StarOffice file)
- Work to do in this lab
- Do the NetBeans
IDE 5.0 Quick Start Guide for the Struts Web Framework tutorial (20
minutes)
- Do the Basic
Struts Programming using NetBeans hands-on lab (20 minutes)
- Download and unzip the file in the C:\ of Windows or $HOME directory for Solaris and Linux and read the ./basicstruts/index.html to proceed
- Build and run the sample AJAX applications that come with
NetBeans 5.0 (10 minutes) - if you have time
- Resources
- Tutorials on Web Application Development
- Tutorials on Struts and JavaServer Faces
- AJAX,
RIA, Web 2.0 Technologies
- 02:15pm-03:15pm (60 minutes): NetBeans Profiler - Lecture, Demo, and Hands-on lab
- Abstract:
- NetBeans Profiler is a powerful tool that provides a full-featured profiling functionality for the NetBeans IDE. The profiling functions include CPU, memory and threads profiling as well as basic JVM monitoring, allowing developers to be more productive in solving memory or performance-related issues.
- Presentation slides
- Work to do in this lab
- Resources
- 03:15pm-03:30pm (15 minutes): Afternoon break 1
- 03:30pm-04:30pm (60 minutes): JMX Monitoring with NetBeans - Lecture, Demo, and Hands-on lab
- Abstract
- The NetBeans JMX Module integrates JMX technology right into your workflow in the NetBeans IDE. This module allows you to quickly develop management applications, add management to exisiting applications, develop manager applications, and monitor the state of the Virtual Machine. The module is available for NetBeans IDE version 4.0 and higher.
- Presentation slides
- Work to do in this lab
- Do the Getting
Started with JMX Monitoring in NetBeans 5.0 IDE (10 minutes)
- Do the Adding
Java Management Extensions (JMX) Instrumentation to a Java Application
(40 minutes)
- Resources
- 04:30pm-05:00pm (30 minutes): NetBeans Collaboration - Lecture, Demo, and Hands-on lab
- Abstract:
- Need to discuss code with other developers remotely? Want to conduct a code review but your team is distributed across continents? With Developer Collaboration, you can do both and intuitively at that! The Developer Collaboration feature in NetBeans IDE allows you to connect to a collaboration server or our collaboration service on java.net. With this feature, you can engage with other developers, in either private or public conversations, whether they are located in the next room or across the continent using the familiar chat capabilities that you are used to. The chat capabilities provide the added benefit of being able to "talk" code, which is sent and received with all appropriate formatting in place. As the figure to the right shows, you can send messages in plain text, XML, HTML, or Java code format. The message composition window is a full-fledged source editor with all of the code-completion features in place. Share projects and files in real time, allowing others in the conversation to make changes, which are represented to the rest of the group in visual cues.
- Presentation slides
- Work to do in this lab
- Resources
- 05:00pm-05:15pm (15 minutes): Afternoon break 2 - The labs after this break are optional
- 05:15pm-06:00pm (45 minutes): Web Services Development - Lecture, Demo, and Hands-on lab
- Abstract:
- (work in progress)
- Presentation slides
- Work to do in this lab
- Do the NetBeans
IDE 5.0 Quick Start Guide for Web Services tutorial (20 minutes)
- Do the NetBeans
IDE 5.0 Quick Start Guide for Web Services Client tutorial (20 minutes)
- Resources
Hareware Requirement
Please make sure
your laptop
meets the following requirement.
- Microsoft Windows, Linux and SolarisTM x86 operating systems
- Processor: 500 MHz Intel Pentium III workstation or equivalent
- Memory: 384 megabytes minimum
- Disk space: 125 megabytes of free disk
space
- Macintosh OS X operating system
- Processor: PowerPC G4
- Memory: 512 megabytes
- Disk space: 125 megabytes of free disk space
Software Requirement
Please install
the following
software before coming to the workshop. Please install these
software in the order mentioned below.
- JDK
5.0 Update 4 or after
- NetBeans IDE 5.0
- Choose an Operating System and a Localization Language, and click next button.
- Download and install NetBeans IDE 5.0 + Application Server 8.2
Bundle Installer. (Or you can download Sun Application
Server 8.2 and NetBeans IDE 5.0 separately.)
- Download and install NetBeans Profiler 5.0 Installer after you finished the installation of the NetBeans IDE.
- Developer Collaboration
- Follow the instruction to install the
Developer Collaboration plug-in through the update center
If You Have Any Questions...
If you have any
questions on this
workshop including installation of the software, please
feel free to send them to the instructors. Please place "SD West
NetBeans" in the subject field of your email.
- Sang Shin, Java Techology Evangelist, sang.shin@sun.com
- Sridhar Reddy, Java Techology Evangelist, sridhar.reddy@sun.com
- Tim Boudreau, NetBeans Evangelist, tboudreau@sun.com







