Friday May 03, 2013

Are You Ready to Start Java Embedded Programming?

Oracle has produced some excellent demonstrations and documentation that show you how to get started programming embedded devices using the Java language. The two devices highlighted are the Keil ARM evaluation board and the Raspberry Pi board.

Check out Working with Java ME Embedded and Raspberry Pi - Series and Working with Java ME Embedded on the Keil ARM Evaluation Board - Series.

You will learn how to install the Java binaries on the boards and run sample Java application on the board. Have fun.

Monday Apr 08, 2013

Java SE 8 Lambda Quick Start

Are you interested in taking a peek at the new lambda expressions feature in Java 8?  If so, this OBE is for you:

Java SE 8 Lambda Quick Start

The OBE covers the basic topics related to lambda expressions including:

  •  A review of anonymous inner classes
  • Lambda expression syntax
  • Functional interfaces
  • Using lambda expressions to replace anonymous inner classes
  • Using prebuilt functional interfaces included in java.util.function to pass behavior to your methods
  • Enhancements to the Collections API for lambda expressions

There are a number of examples for each topic and the full source code and NetBeans 8 projects are included for you. So if you are interested, check it out at the link above.

Thursday Mar 21, 2013

Oracle Cloud Development with NetBeans and Eclipse (OEPE)

Continuing the Oracle Cloud development series, I have posted 5 new tutorials that illustrate how to develop and deploy Java EE applications to Oracle Cloud using NetBeans and Oracle Enterprise Pack for Eclipse (OEPE). The tutorials introduce you to application development using of one these two fine IDEs with  Oracle Java Cloud Service and Oracle Database Cloud Service.

In the NetBeans series, you will learn how to configure NetBeans to use Oracle Cloud through a plugin, then create and deploy a JSF/JPA application and the data it uses to Oracle Cloud. Finally, there is a tutorial that illustrates using Maven projects with Oracle Cloud.

In the OEPE series, you will learn how to configure OEPE (Eclipse Juno with extensions), then modify an ADF application built using OEPE to Oracle Cloud.

Check out all of the free tutorials and other resources for Oracle Cloud on the Oracle Learning Library!

Thursday Mar 07, 2013

New OBE Series: Oracle Cloud and JDeveloper/ADF

OBE of the Month: Oracle Cloud and JDeveloper/ADF

In this Oracle By Example (OBE) series, you will learn how to develop and deploy Oracle ADF applications to Oracle Cloud by using Oracle JDeveloper. The tutorial series covers using both Oracle Java Cloud Service and Oracle Database Cloud Service, and introduces you to securing applications using Oracle Identity Management built into Oracle Cloud.

Oracle JDeveloper 11g (11.1.1.6.0) is nicely integrated with Oracle Cloud, providing a single tool to manage both your database and Java services. In Part 1 of the tutorial, you will create create and populate your database tables directly from JDeveloper. In Part 2, you will deploy and run a simple HR management application that uses the database you created in part 1.

In part 3, you will secure an application in Oracle Cloud and demonstrate how to restrict access to ADF components and flows based on authentication and authorization using Oracle Identity Management features.

Sign up for a free 30-day trial of Oracle Java Cloud Service and Oracle Database Cloud Service and use these OBE's to learn more about Oracle Cloud and practice your skills with JDeveloper and ADF.

Check out all of the free tutorials and other resources for Oracle Cloud on the Oracle Learning Library, and look for additional OBE's using NetBeans and Oracle Enterprise Pack for Eclipse with Oracle Cloud coming soon!

Friday Mar 01, 2013

Oracle Secure Java Coding Guidelines Self-study

We have recently published a self-study that covers the Secure Java Coding Guidelines. The self-study is 89 minutes long and includes an overview of Java Security, a discussion of software vulnerabilities, and refers to the Secure Coding Guidelines for the Java Programming Language document. In addition, we describe some recommendations for secure JNI coding. Along the way, you can test your knowledge with word games, quizzes, and tic tac toe games. The self-study is in the Oracle Learning Library. We welcome your feedback.

Wednesday Feb 06, 2013

JavaOne 2012 Videos Posted on OracleLearning YouTube Channel

Did you miss the 201OracleLearning YouTube Channel JavaOne Playlists2 JavaOne? Well, now you can catch up on many of the sessions, including conference presentations, birds-of-a-feather events, and tutorials. We posted most of the recorded sessions on the Oracle Learning Library's YouTube channel. The videos are sorted in playlists by the session tracks, and there are a total of 7 tracks. We have over 450 JavaOne videos for you to view!


Thursday Jan 24, 2013

New OBE Series: Contexts and Dependency Injection (CDI)

OBE of the Month: CDI Series

This Oracle By Example (OBE) series covers three features of Contexts and Dependency Injection (CDI) introduced in Java EE 6: Stereotypes, Interceptors and Events. CDI was introduced with Java Platform, Enterprise Edition (Java EE) 6 as JSR-299.

The Contexts part of CDI allows beans to share and participate in the life cycle of another bean, while the Dependency Injection part of CDI allows beans to get a reference to an instance of another bean simply by injecting it. CDI power is the ability to loosely-couple classes by removing the instantiation process and simultaneously enforcing strong-type checking.

Check out all of the great free content on the Oracle Learning Library and our new cool look-and-feel!

Thursday Dec 20, 2012

New OBE Series: EJB 3.1 New Features

OBE of the Month: EJB 3.1 New Features (Series)

This Oracle By Example (OBE) series covers many of the new features of EJB 3.1. The latest release of the EJB technology, based on JSR-318: Enterprise JavaBeans 3.1, EJB 3.1 further simplifies the technology and makes many improvements. EJB 3.1 is available in the Java EE 6 platform.

There are 5 OBE's mapped in the series:

Check out all of the great free content at the Oracle Learning Library!

This article contributed by Anjana Shenoy.

Monday Nov 26, 2012

Getting started with the G1 Garbage Collector

Just before the Thanksgiving break I finished up my second Oracle by Example (OBE) course on garbage collection. This one is on the new G1 garbage available in Java 7. It provides and introduction and overview of this newly available collector. Here is the link to the course:

Getting Started with the G1 Garbage Collector

This is a follow up to this OBE on the basics of garbage collection.

Garbage Collection Basics

The OBE is based on the presentation given by Charlie Hunt and Monica Beckwith at this years Java One. Hopefully I have done justice to their most excellent session. As always, feedback and comments are welcome.

Friday Nov 16, 2012

Garbage Collection Basics

Duke WavingJava Is an awesome programming language and platform. One of its better features is automatic garbage collection. Ever wondered how that works?

I have written an online web course outlining the basics. Much of what is included has been published before in various white papers and such. However, this is updated for JDK 7 and includes some nice illustrations of the steps involved. Hope you like it.

Garbage Collection Basics

.

A follow-on web course on the G1 garbage collector should follow in a week or so.

Wednesday Oct 31, 2012

Create .exe and .msi Installers for your JavaFX Apps

Well I wanted to figure out how the new JavaFX native packaging worked, so with a little work, I have written up my findings.

Create a Windows Native Installer and EXE with JavaFX and NetBeans 7.2

All the information is in the articles I have linked to at the end of the page. However, I hopefully have pulled together all the key facts in one place. In addition, I tried to document all the problems I ran into in the troubleshooting section.

So what is the end result?  With everything installed, building an application in NetBeans creates an EXE installer, an MSI installer, and an EXE file to execute your application. Really slick professional stuff. This is a great addition to the whole Java platform.

Tuesday Sep 18, 2012

Creating Asynchronous Methods in EJB 3.1

OBE of the Month: Creating Asynchronous Methods
in EJB 3.1


This OBE covers creating an EJB 3.1 application that demonstrates the use of the @Asynchronous annotation in an Enterprise Java Bean (EJB) class or specific method.

In this tutorial, you will create a Java EE 6 Web Application and add the following components to it - a Stateless Session Bean with two asynchronous methods. You define a Servlet to call the asynchronous methods and to keep track of the invocation and completion times to demonstrate the asynchronous nature of the method calls. The index.jsp will contain a form with a submit button, Run allowing you to execute the application. The form will submit to the Servlet which invokes the asynchronous methods defined in the session bean and the response is re-directed to response.jsp. Information about the asynchronous handling procedure is displayed to users. From this information, users will notice that the invoker thread and the called asynchronous thread are working concurrently.

Check out this new OBE on the Oracle Learning Library: Creating Asynchronous Methods in EJB 3.1. This OBE is part of the new EJB 3.1 New Features Series.

Related OBE’s that might interest you:

Creating a No-Interface View Session Bean and Packaging in a WAR File

Creating and Accessing a Session Bean in a  Web Application

Wednesday Sep 05, 2012

Come see us at JavaU at JavaOne!

In just a little under a month, JavaOne will be in full swing (no pun intended) and thousands of Java developers will gather to hear the latest Java news, immerse themselves in Java technology and learn some new things. This year, I am fortunate enough to be able to attend, along with my Java curriculum development colleagues Matt Heimer and Mike Williams. We start our week at JavaOne teaching a one-day session at JavaU on Sunday morning. If you have never attended a training session through JavaU, you should check it out. There are some terrific sessions this year, and it might help to justify your trip to JavaOne if you can say it was for training!

This year I am teaching a one day session on Java SE 7 New Features - a great session for anyone interested in the specific details of what is new in Java SE 7. Matt is teaching a one-day session on Developing Portable Java EE applications with the Enterprise JavaBeans 3.1 API and Java Persistence 2.0 API  EJB, and Mike is doing a one-day session on developing Rich Client applications with Java SE 7 using Java FX 2. I asked Matt and Mike to tell me what developers can expect from their sessions.

Matt: "My session will get you up to speed on everything you need to know to create portable Java EE 6 applications using EJB 3.1 and JPA 2. I am going to cover why everyone can benefit from using EJBs (and why developers should relearn them if they haven't looked at them for years). Students who attend my session will see JPA examples showcasing how to use relational databases in an enterprise applications without programming to JDBC and without writing SQL statements. EJB and JPA benefit from being paired together, so I will also show how transaction management is easier in a container. I encourage students to bring a laptop and code as they learn!"

Mike: "My session covers how to develop a rich client application using Java FX 2. Starting with the basic concepts of JavaFX, students will see how a JavaFX application is built from its layout, to its controls, to its data structures. In addition, more advanced controls like charts, smart tables, and transitions will be added to the application. Finally, a quick review of JavaFX concurrency and data binding is included. Blended with the core concepts the session will include some of the latest JavaFX technology. This includes using Scene Builder to create a JavaFX UI and connecting your XML UI definition to Java code.  In addition, packaging of the JavaFX application will be covered with some examples of the new native packaging features."

As I mentioned, my session covers the changes in the Java for SE 7, including the  language changes that were voted into Java SE 7 from Project Coin. I will also look at how you can take advantage if the the new I/O library (NIO.2) for writing applications that work with files, directories and file systems. We will also look at the changes in Asynchronous I/O that are a part of the changes in NIO/2. We will spend some time looking at the changes to the Java Virtual Machine as well, including support for dynamically typed languages (JSR-292). We will spend some time looking at the Java Concurrency enhancements (JSR-166), including the new Fork/Join framework. And we'll round out the day with a look at changes in Swing, XML and a number of smaller changes in the API's.

And, if these topics aren't grabbing your interest, take a look at the other 10 sessions that range from topics on architecture to how to pass the Oracle Certified Programmer I and II exams.

See you soon!


Monday Aug 13, 2012

Ten Time-Savers in NetBeans


[Read More]

Friday Jul 20, 2012

New and Updated Java Courses

The Java Curriculum team has developed several courses that are available through Oracle University.  The courses are available as instructor-led training (ILT), live virtual classrooms (LVC), and training on demand. Our titles include:

Java SE 7 Fundamentals - The Java SE 7 Fundamentals teaches students who have little or no programming experience about the Java programming language. The course teaches students the significance of object-oriented programming, the keywords and constructs of the Java programming language, and the steps required to create simple Java technology programs.">

Java SE 7 Programming - The second of two courses that cover the Java Standard Edition 7 (Java SE 7) Platform explores the core Application Programming Interfaces (API) developers use to design and develop object-oriented applications with Java.

Java SE7: Develop Rich Client Applications - The course takes students through the process of designing a rich client application in a case study approach – analysis and design, and development of the key components of the application using the rich set of JavaFX graphics and media API.

Java SE 7 New Features - This new features course delves into the major changes and enhancements in the Oracle Java SE 7 release. This course is meant for the Java professionals who are already proficient with developing Java programs using Java SE 6 or earlier Java SE platforms.

Java ME: Develop Applications for Mobile Phones - This course teaches students how to use Connected Device Limited Configuration (CDLC) and the Mobile, Interface Device Profile (MIDP), and the Lightweight User Interface Toolkit (LWUIT) to develop applications for smart phones. Students get to develop applications that access a mobile database, and leverage the Location and Payment APIs.

Several of our courses support the Java Certification programs, which you can search for on the Oracle University Certification pages

If you are interested in free Java training, we are posting new Java content on the Oracle Learning Library on a regular basis. If you want to stay current, subscribe to the OLL using the RSS feed.

About

Information relating to Java training development and events.

Search

Categories
Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today