Welcome to the Oracle Technology Network Developer Day - Enterprise Java Development Hands on Lab installation instructions. This document describes how to install a virtual guest appliance that provides pre-configured Oracle software for your use while working on the HOLs. Oracle VM VirtualBox images will be based on Oracle Linux – and this image requires 3.8GB of disk, (11.6GB if you keep the source appliance). The downloadable appliance (OVA file), about 3.8 GB, contains all the software you need for the following labs:
Total Oracle WebLogic Server Development with Eclipse, Maven, and Hudson
In this hands-on lab for professional Eclipse Java developers, Oracle product experts discuss the rich set of plug-ins and tooling available in the latest version of Oracle Enterprise Pack for Eclipse to simplify and speed up enterprise Java development with Oracle WebLogic Server 12c. The lab shows you how to configure and use powerful Maven plug-ins from Oracle to develop, build, and deploy with Maven and Hudson for continuous build integration.
Hands on with an end-to-end Java EE6 Application
This hands-on lab builds a typical 3-tier Java EE 6 Web application that retrieves customer information from a database and displays it in a Web page. The application also allows new customers to be added to the database as well. The string-based and type-safe queries are used to query and add rows to the database. Each row in the database table is published as a RESTful resource and is then accessed programmatically. typical design patterns required by a Web application like validation, caching, observer, partial page rendering, and cross-cutting concerns like logging are explained and implemented using different Java EE 6 technologies The development, deployment, and debugging of the application will be performed using NetBeans on WebLogic Server 12c.
A Step-By-Step Guide to Oracle Coherence
Develop a simple Java console-based application to access, update and removing simple types of information from a Coherence clustered cache. Then create a simple domain object that can be placed into a Coherence Cache.
Running the Coherence Examples Project in Eclipse
This lab will teach you to setup and work with Coherence projects in Oracle Enterprise Pack for Eclipse, using the coherence examples project as an example. You will learn how to use the Eclipse plug-in create and configure projects, define coherence cache servers, run cache servers, and use overrides and understand security basics. The lab will then walk you coherence specifics from their basic feature examples: data access/loading, the query language, parallel querying, cache event monitoring, operations on cached data. There is also bonus content with take-home exercises on security.
*New 2/3/2012! -- LAB: JPA 2.0 and Object Relational Mapping Basics
This lab will guide you through using Oracle Enterprise Pack for Eclipse (OEPE) 12c and JPA 2.0/ORM. You will create the data model for a Trouble Ticket Tracking System -- a web-based application that manages and maintains lists of tickets submitted for the products of an organization. You will learn to Generate JPA entities from an existing database Schema, generate Entities from Java Classes, define custom associations, use the entity editor, understand persistence.xml configuration and tools, create and implement DAO classes, and finally run some JUNIT tests to ensure they are working correctly.
Please note that this appliance is for testing purposes only, as such it is unsupported and should not to be used in production environment. This virtual machine contains:
Step 1. Download and install Oracle VM VirtualBox on your host system.
Step 2. Right-click and use your browser's Save As... to download the files (OTN Login required):
The image has been split into ~700MB chunks for your download convenience:
http://download.oracle.com/otn/other/virtualbox/VDD/assemble.cmd (windows users may need to rename downloaded file from assemble.cmd.txt)
MD5 sum: e975042002f8ab56ae95142fee55ef31
MD5 sum: 5736f52d71b9aa76ad94dee36b3567ee
MD5 sum: 0f9900fb1c0a00e2b7a880a0d17a277a
MD5 sum: 007cfeb66e9ce78f7c8cb7a61ea5a33c
MD5 sum: b2180b488b55aafbb0178ed7e627648c
MD5 sum: e1198ddc91249fb8b73c81df8b09ee5c
MD5 of assembled file:
VDD_WLS_labs_2012.ova = c50bfdabdafc7e1f7ebf85422663655f
Step 3. Use your Terminal, command prompt, or shell to assemble these files using the provided scripts. We highly recommend checking MD5 sums on all parts, and on the assembled files before attempting an import.
* For Windows use the script assemble.cmd
* For Linux/Unix use the script assemble.sh
Step 4. Launch VirtualBox and import your VM: File > Import Appliance to launch Appliance Import Wizard. Click Choose... to browse to the directory you re-assembled all the files in and select the VDD_WLS_labs_2012.ova then click Next> to begin importing the virtual machine. It will prompt you to agree to the appropriate developer licenses while importing. You will see 'VDD_WLS_labs_2012' (Powered Off)' when it is finished importing.
Step 5. Test your VM: Once the import has completed, double-click the OTN Developer Days VM. Click OK to close the VirtualBox dialogs. When you get to the Linux 5 screen you can now login. The username and password is oracle/welcome1. Allow the import process to complete; it is ready when you see a terminal window, which you can close. Once you are finished working in the guest VM you can shut it down via System > Shut Down; this will return the guest VM to the Powered Off state.
While in the shut shown state, review the default memory setting and optimize it for your machine. To do this, right-click your imported VBOX image and choose Settings > System as shown below. Then change the memory setting to be "in the green". This will obviously vary on your system, the Windows machine shown in the screen shot has 4GB RAM.
Step 6. Test your VM: Once the import has completed, double-click the VM to begin. Lab documents are located in folders on the desktop.
Once you are finished working in the guest VM you can shut it down via System > Shut Down; this will return the guest VM to the Powered Off state.