JavaOne Hands On Labs
- Quickly and Efficiently Build CRUD Applications with Rich Client Platform
- Beginning with the Java EE 6 Platform
- Securing Web Services
- Using OAuth with RESTful Web Services
- Where My Friends Are: Java ME Location API in Practice
- How to Easily Build JavaFX Applications for Desktop and TV with JavaFX Composer
As a Java desktop programmer, you can build applications on existing frameworks just like Web developers have done for years. You can benefit from proven and tested features of the NetBeans platform. At the same time, the cross-platform burden disappears, together with the need to create common desktop features, such as a window system, over and over again for each of your applications.
This hands-on lab will show how you can easily create CRUD (Create, Read, Update, and Delete) applications based on NetBeans. The session will cover four exercises:
- Create a skeleton platform application
- Access your database from the platform via Java Persistence API
- Show data using advanced Swing components
- Manipulate the data from application
This lab will offer an overview of Java EE 6 through a rundown of its key new features. Participants will build an application from scratch via incremental steps and a dozen demos and exercises, each illustrating new features of the platform. The lab is an ideal opportunity to get up to speed with Java EE 6. Attendees will learn about:
- Managed beans, Enterprise JavaBeans (EJB) 3.1 packaging and testing
- Java Persistence API (JPA) improvements
- JavaServer Faces (JSF) with facelets, composite components, Ajax
- RESTful resources
- Contexts and Dependency Injection (CDI) and more
The content was initially created with Antonio Goncalves (Java EE 6 book author and EG member) and is perpetually improving at beginningee6.kenai.com.
This session will provide hands-on experience on using Oracle products to secure different types of Web services: Java API for XML Web Services (JAX-WS), Oracle Service Component Architecture, Oracle Service Bus, and Oracle Application Development Framework Business Components. Developers, architects, and administrators will be able to benefit from this hands-on lab and will learn
- The usage of WS-* standards-based policies through Oracle products
- Dev-Test-Prod lifecycle for WS-Security
- Testing at design time
OAuth is becoming a broadly accepted standard for API authentication and is widely used for securing RESTful web services.
In this session, we'll provide a short introduction to OAuth and the open source technologies you can use to build secure RESTful Web services in Java. The session will include three exercises:
- Building a simple RESTful Web service using Jersey and securing it using OAuth
- Using Jersey client API to create an OAuth-aware client for the service created in the first exercise and exposing it as another Web application
- Implementing a service that talks to a well-known public OAuth-aware Web application (this exercise is optional)
During this hands-on lab, attendees will create a mobile application that uses the Java Platform, Micro Edition (Java ME) Location API to track their friends and then displays them on the map. Additionally, this mobile application will allow the exchange of text messages between friends and show them on the map along with photos and names.
This session is aimed at developers who would like to learn how to bind the content of an application with the current position of an application user. Attendees will learn:
- How to use the Java ME Location API
- How to use Google Maps services in a Java ME application
- How to use Java ME Generic Connection Framework
- How to use visual tools to design the flow and UI of the application
Rich internet applications (RIAs) require a flexible service access and data access layer on the back end, just like traditional or Web-based applications. It is therefore essential to combine JavaFX client technology and server technologies to provide fast, efficient, and secure access to your favorite Web 2.0 services provisioned on your desktop or TV set-top box. This hands-on session teaches Web 2.0 developers and architects how to combine JavaFX technology on different types of devices (desktop, TV) and back-end services, such as RESTful Web services, to build state-of-the-art GUI client applications.