Monday Nov 03, 2014

Building a 3-tiered Application with Java EE

Do you want an expert to walk you through the key features of Java EE 7? At the next OTN Virtual Technology Summit (VTS), Java expert and author Josh Juneau will walk you through building a 3-tiered application with Java EE. He will take you step-by-step through the development of an application using Maven. You will learn how to add project dependencies via Maven, and perform various development tasks leveraging some new features of Java EE 7.  

During the development of this application, Juneau will touch upon a handful of the Java EE technologies:

  • creation of views using JSF and PrimeFaces
  • binding to managed bean controllers via CDI
  • utilization of the Batch Processing API
  • JMS
  • WebSockets

At the end of this VTS session, you will have a better understanding of how a typical Java EE application is developed. You will also know how to implement solutions using some of the latest features of Java EE.

Note: This a hands-on lab that requires you to have the following downloaded and installed *before* the session:

  1. Java EE 7 SDK Update 1 with GlassFish 4.1: Oracle Technology Network  
  2. NetBeans IDE 8.0.1:
  3. GlassFish Hand-on-Lab:
  4. MoviePlex Starting Sources: 

The Virtual Technology Summit (VTS) are interactive, online events, sponsored by the Oracle Technology Network (OTN). VTSs are free, but you must register:

Each VTS features four technical tracks, each with a unique focus on specific tools, technologies, and tips: Java, Database, Middleware and Systems. Registration allows you to attend any session on any track. We'll kick off the VTS with Java Community Update by Tori Wieldt. There will be places to hang out and meet other attendees between sessions. View the full agenda, abstracts, and participation instructions on the VTS Event Resources Community Space.

Tuesday Aug 13, 2013

Java EE 7: JSRs That Make You Powerful

You've heard that Java EE 7 makes it easier to code, to create scalable, dynamic HTML 5 web apps, and much more. What does that mean, really? Here's how you can dig into details:  

1) Download the Java EE 7 SDK.

2) Watch these 15 - 20 minute technical overviews of the new JSRs. They are available on the Java EE 7 Launch Technical Breakouts playlist.

We hope this makes you feel ready to take advantage of all power that Java EE 7 provides.

Scalable, Dynamic HTML5
JSON JSON is a lightweight data exchange format used increasingly in RESTful Web services by highly visible Websites (Facebook, Twitter, Amazon, and the like). This webinar shows how JSR 353, Java API for JSON Processing, can be used to process JSON.
WebSocket 1.0 The Java API for WebSocket is a wholly new technology for the Java EE platform. This webinar looks at two core example applications - a simple Echo application with both annotated and programmatic WebSocket endpoints, and a chat application with both a browser and a Java client.
JAX-RS 2 JAX-RS is the Java API for building RESTful web services. This webinar focuses on the new and exciting features introduced in JAX-RS 2.0 including the client API, filters and entity interceptors, asynchronous processing, and hypermedia. These new features increase ease of use, reduce application development time, and increase application portability.
JSF 2.2 HTML5 and "ease of development" are two key themes of JavaEE 7. This 20 minute webinar shows how JSF 2.2 contributes to these themes. Among other things, we'll look at how HTML5 Friendly Markup allows authoring 100% compatible JSF pages that are also 100% HTML5. And how Resource Library Contracts and Faces Flows enable modularizing the appearance and functionality of the views in your JSF web application.
Servlet 3.1 Servlet technology is used to build web applications. This webinar demonstrates new features in Servlet 3.1 (JSR 340). It covers non-blocking IO, the upgrade mechanism for Web Socket, security enhancements, and other miscellaneous features.
Expression Language 3.0 JSR 341: EL 3.0 includes features that makes EL easier to user and more expressive. It supports EL in stand-alone environments, outside JavaEE. It add operators (e.g. assignment operator) and new syntax (e.g. lambda expression). It also provides good supports for collections. This session briefly describes the new features with examples.

Meeting Enterprise Demands
Batch 1.0 JSR 352, Batch Applications for the Java Platform, ushers in the world's first Java standard for building batch applications. In this short webinar you will gain a basic understanding of JSR 352, including its motivation, feature highlights, selected API overview, job scheduling language introduction, and key use cases.
Concurrency 1.0 Concurrency Utilities for Java EE is a new addition to Java EE 7 platform. It enables Java EE application developers to add asynchronous capabilities to their applications. This webinar provides an overview of what is provided in this JSR.
JMS 2 This presentation introduces the new productivity enhancing features of JMS 2.0. JMS 2.0 features a completely new "simplified" API which means fewer objects to manage, simpler methods to call and less code to write. We'll also cover some of the new messaging features which have been added to tackle real-world issues such as scalability and error handling.
JPA 2.1 The Java Persistence API is the standard API for the management of persistence and object/relational mapping for Java applications. This webinar provides an overview of new functionality added in JPA 2.1, including new query language features, converters, entity graphs, unsynchronized persistence contexts, and support for schema generation.
Admin Console GlassFish Administration Console is one of the most popular tools for managing the application server. This Webinar highlights the new features added to support new Java EE 7 components, such as Concurrency Utilities API (JSR 236) and Batch Application (JSR 352). Other enhancements covered in the webinar include "masking confidential properties,� new logger attributes, and displaying logically jndi name for resources.
EL 3.0 JSR 341, EL 3.0, includes features that makes EL easier to use and more expressive. It supports EL in stand-alone environments outside JavaEE. It adds operators (e.g. assignment operator) and new syntax (e.g. lambda expression).  It also provides good supports for collections. This webinar briefly describes the new features with examples.

Increasing Productivity
EJB 3.2 Enterprise JavaBeans is an architecture for the development and deployment of component-based business applications. This webinar provides an overview of the new features and improvements in the EJB 3.2, including changes to the stateful session and managed-driven beans, security, TimerService API, optional features, and more.
CDI 1.1 Contexts and Dependency Injection for Java EE (CDI) 1.1 focuses on improving CDI. CDI 1.0 was introduced as part of the Java EE 6 platform, and has quickly become one of the most important and popular components of the platform. In this short webinar, we introduce the major changes in CDI 1.1.
BV 1.1 Bean Validation standardizes constraint declarations and validation for the Java platform. In this webinar we explore what version 1.1 brings to the table. We will discuss via examples method-level validation, Context and Dependency Injection (CDI) integration and more.
JTA 1.2 This webinar describes and demonstrates the new features in JTA 1.2 (JSR 907). It covers the new @Transactional annotation used for transaction demarcation as well as the new @TransactionScoped annotation used to scope a CDI managed bean to the currently active transaction.
Interceptors 1.2 Interceptors are used to interpose on business method invocations and specific events, such as timeout events or lifecycle events, which occur on instances of Java EE components and other managed classes. This webinar covers changes to the Interceptor specification 1.2, including AroundConstruct interceptor, ordering interceptors using @Priority annotation, and changes to the document structure and content.

Tuesday Jul 09, 2013

Servlet 3.1 in Java EE 7

Java EE 7 is live, and it includes many changes in 14 active JSRs. One of them is Servlet 3.1. Java Servlets extend and enhance Web servers. They are a provide a component-based, platform-independent method for building Web-based applications, without the performance limitations of CGI programs. And unlike proprietary server extension mechanisms, servlets are server- and platform-independent. 

Several of the new features in Servlet 3.1 are in the area of security. Spec Lead Shing Wai Chan told OTN "the changes in Servlet 3.1 will make development much easier, especially in the areas of role mapping." He has written some blogs about the new functionality in Servlet 3.1:

Security Constraint by Role
Prior to Servlet 3.1, web containers use proprietary mechanisms to add security-constraints for any authenticated user. See how you can create security constraints for authenticated users. 

One of the new security features is deny-uncovered-http-methods.

Protocol Upgrade 
Servlet 3.1 now provides support for protocol upgrade.

For more information

Follow Shing Wai Chan's blog

Visit the JSR-340 page, where you can download the Servlet 3.1 spec.

Monday Jul 01, 2013

Java EE 7 Launch Videos

You asked for it, and you got it! Here are the many technical videos from the Java EE 7 launch:

Java EE 7 Launch Webinar Technical Breakouts

See the YouTube/GlassFish channel for all the latest.

Wednesday Jun 12, 2013

Java EE 7: Moving Java Forward for the Enterprise

Oracle and the Java Community Process (JCP) members today announced the availability of Java Platform, Enterprise Edition 7 (Java EE 7) and the Java EE 7 Software Development Kit (SDK). You can join the Java EE 7 launch webcasts today, June 12, 2013 at 9:00 a.m. PT and 9:00 p.m. PT.

Java EE 7 includes

  • A scalable infrastructure that facilitates building HTML5 applications by reducing response times through low-latency, bi-directional communication with WebSockets; simplifying data parsing and exchange using industry-standard JSON processing and supporting many more concurrent users through asynchronous RESTful Web Services with JAX-RS 2.0.
  • A simplified application architecture with a cohesive, integrated platform; reduces boiler-plate code using dependency injection and default resources; broadens the use of annotations to increase efficiency; and enhances application portability with standard RESTful Web Services client support.
  • New features that meet the most demanding enterprise requirements, such as breaking down batch jobs into manageable chunks for uninterrupted OLTP performance; defining multithreaded concurrent tasks easily for improved scalability; improving Managed Beans alignment (including transactional interceptors) and delivering transactional applications with choice and flexibility.
  • Updates to Java Message Service (JMS) 2.0 improve usability through annotations and Contexts and Dependency Injection (CDI) Beans support; significantly reduce the code required to send and receive messages.
  • Hands-on a tutorials, sample code and API documentation are part of the Java EE 7 SDK.

A complete list of all the new features and capabilities of Java EE 7 is available here.

The standard in community-driven enterprise software, Java EE 7 is the result of industry-wide development involving open review, ongoing builds and extensive collaboration between hundreds of engineers from more than 30 companies within the Java Community Process (JCP). Java user groups around the world have taken part in the “Adopt a JSR” program, providing valuable feedback and code samples to validate Java Specification Request (JSR) APIs. 

Java EE 7 makes it easier to code, support HTML 5, and meet the most demanding enterprise requirements. The Java EE 7 SDK is ready to download today. 

Monday Jun 10, 2013

Java EE 7 Launch Wednesday!

java ee 7 launch

The Java EE 7 launch webinar is scheduled for this Wednesday, June 12. It will run in two different timezones to allow participation from all around the world: Webinar #1: 9am PT, Webinar #2: 9pm PT. In the webinar, Oracle executives and technical experts will present the ins and outs of Java EE 7 in a live webcast -- Register Now! It is free! 

The webinar consists of:

  • Strategy keynote
  • Technical keynote
  • Technical breakout sessions and scheduled chat sessions with JSR specification leads

Thousands have already registered and everyone is very welcome to attend. Join us for the live webcast on Wednesday: Introducing Java EE 7

Monday May 20, 2013

Introducing Java EE 7: June 12 Kickoff

Java EE 7 has been approved, and the final bits with be available soon. We'll have a live webcast on June 12 to kickoff Java EE 7in style. The Java EE team will provide an overview of the release, and lots of technical details from the experts. 

Register here to join us for a live webcast introducing Java EE 7! The Java EE 7 platform JSR has been approved, and we are now counting down the days to begin developing with many new Java EE features.

The online web event, hosted by Java EE evangelist and expert Arun Gupta, includes:

  • Business Keynote (Hasan Rizvi and Cameron Purdy)
  • Technical Keynote (Linda DeMichiel)
  • Java EE partner and community member interviews
  • Fifteen 20-minute technical breakout sessions
    • Technical overview of features in new and updated JSRs
    • Delivered by the JSR specification leads
    • Live Chat
    • Split into three tracks
      • Scalable, dynamic HTML 5
      • Increasing developer productivity
      • Meeting enterprise demands
    • Demonstrations on developing with Java EE 7

The event will run with live chat at two times:

      Wednesday, June 12, 2013 / Thursday, June 13, 2013

  • 9 a.m. PT / 12 p.m. ET / 5 p.m. London
  • 9 p.m. PT / 12 a.m. ET (Thursday) / 2 p.m. Sydney (Thursday) 

Register now for the best seats. ;-)


Insider News from the Java Team at Oracle!



« August 2015