Virtual Box READY FOR DOWNLOAD - UPDATED 2/3/2012: Smaller image download, lab fixes, more bonus content
We recommend you stay logged into the virtual event for chat, so you can see other lab intro sessions and attendee Q&A related to your session. If you are having memory related errors with VirtualBox, scroll down for troubleshooting info. The chat is your primary interaction with the moderators.
Welcome to the Oracle Technology Network Virtual Developer Day - Oracle WebLogic Suite 12c hands-on lab (HOL) installation instructions. This document describes how to install a virtual guest appliance that provides pre-configured Oracle software and hands on lab exercises for your use while working on the HOLs. The one image contains all the software you need for both labs in the advanced track. The step-by-step HOL manuals (Lab Guides) for the sessions will be published on this wiki in PDF format, and will be available inside the virtual conference environment for download.
Virtual Box images will be based on Oracle Enterprise Linux – and this Virtual Box image is 3.8 Gigabytes compressed, so you must download Virtual Box images before the event starts. The uncompressed appliance will be 7.8 GB, for a total of 11.6 GB of disk, assuming you want to keep the original appliance files handy (recommended).
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:
- Oracle Linux 5, JDK 1.6 +
- Oracle WebLogic Server 12.1.1
- Oracle Coherence 3.7
- Oracle TopLink 12.1.1
- Hudson 2.2
- Subversion 1.4.2
- Apache Maven 3.0.1
- NetBeans IDE 7.1 RC2
- Oracle Enterprise Pack for Eclipse 12.1.1 / Eclipse 3.7
- Easter Egg: Introductory Labs for Oracle Coherence 3.7, JPA Tutorial
LAB: 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.
LAB: 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.
LAB: 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.
LAB: 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.
- Operating System: Any supported by VirtualBox
- RAM: 2GB+ RAM
- Disk: About 11.6 GB free (+3.8GB for appliance, which can be deleted after import, 7.8 GB for uncompressed image)
- Required Software: Oracle VM VirtualBox 4.1.8 + (but should work fine on 4.1.x)
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:
(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 the assembled OVA file before attempting an import. If the checksum on the assembled is bad, simply start checking the sums for the part files until you determine which one was a bad download and re-download.
* 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 VDD_WLS_labs_2012. 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. Once you are finished working in the guest VM you can shut it down via Gnome's 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 8GB 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.
- VBOX logon, Operating Sytem User: oracle Password: welcome1
- User Home Directory: /home/oracle
- Root Logon: User: root Password: welcome1
- OS Environment settings: /home/oracle/.bashrc
- Subversion URL: svn://localhost/otnvdd/obay/trunk
- Subversion User: oracle/welcome1
- NetBeans Keyring password: welcome1
- Java Home: /labs/wls1211/jdk160_29
- Coherence Home: /labs/wls2111/coherence_3.7
- Lab-specific resources: /home/oracle/labs/
- WebLogic Home: /labs/wls1211
- WebLogic Administrator: weblogic/welcome1
- WebLogic Console URL: http://localhost:7001/console
- WebLogic Port: 7001