Friday Aug 09, 2013

Comprehensive Free Java EE 6 Video Tutorial!

Reading blogs, articles and books is still the way most of us learn new technologies. However, nothing really beats someone showing you how to use a new technology step-by-step first hand, which is why video tutorials always shine.

Java EE enthusiasts should rejoice that a lone Mumbai based developer, Ashitraj More, took the time and effort to do exactly this for Java EE 6! Ashitraj created an entire comprehensive free online tutorial broken up into a series of very digestible videos covering database design, JPA, EJB 3, JSF, JMS, JAX-RS and CDI. The tutorial starts from the very basics and teaches Java EE, API by API/feature by feature, through a series of progressive code examples that build on the one before it. The tutorial uses GlassFish, NetBeans and MySQL.

Here is what one developer had to say about the tutorial: "Excellent tutorial on Java EE 6. The author(Ashitraj More) leaves nothing to imagination, lots of diagrams for clear explanation. Waiting for his tutorial on Java EE 7..."

Ashitraj plans on beefing up his already excellent JPA coverage and updating the tutorial to cover Java EE 7. If you are a Java EE beginner, you seriously owe it to yourself to check out the tutorial. If you are already a Java EE fan, you can use the tutorial to effectively advocate Java EE. Ashitraj really deserves commendation for his creativity, passion, knowledge and hard work, so please do share a few kind words with him for his invaluable contribution to the community!

The tutorial is completely free, but you can choose to make a small donation to help support the effort.

Friday Jun 21, 2013

JAX-RS 2.0, JTA 1.1, JMS 2.0 Replay: Java EE 7 Launch Webinar Technical Breakouts on YouTube


As stated previously (here) (here), the On-Demand Replay of Java EE 7 Launch Webinar is already available. You can watch the entire Strategy and Technical Keynote there, and all other Technical Breakout sessions as well.

We are releasing the next set of Technical Breakout sessions on GlassFishVideos YouTube channel as well. In this series, we are releasing JAX-RS 2.0, JTA 1.1, and JMS 2.0.

Here's the JAX-RS 2.0 session:



Here's the JTA 1.1 session:



Here's the JMS 2.0 session:



Enjoy watching them over the next few days before we release the next set of videos!

And don't forget to download Java EE 7 SDK and try numerous bundled samples.

Friday Jun 14, 2013

JSON 1.0, EJB 3.2, Batch 1.0 Replay: Java EE 7 Launch Webinar Technical Breakouts on YouTube


On-Demand Replay of Java EE 7 Launch Webinar is already available. You can watch the entire Strategy and Technical Keynote there, and all other Technical Breakout sessions as well.

Today, we will start releasing the Technical Breakout sessions on GlassFishVideos YouTube channel as well. In this series, the first three videos are released:



Enjoy watching them over the weekend!

And don't forget to download Java EE 7 SDK and try numerous bundled samples.

Stay tuned for the next set of three videos ...

FREE Virtual Developer Day: Java SE, Java EE, Java Emebedded on Jun 19th and 25th

Virtual Developer Day:
Java

When ?

Jun 19, 2013, 9am - 1pm PDT
Jun 25, 2013, 8am - 12pm GMT

Where ?

Register online

What ?
  • HTML5 applications, improved developer productivity, and meeting enterprise demands using Java EE 7
  • What's new in Java that helps you begin programming on a wide range of embedded devices
  • Language improvements in Java SE to accelerate application development

Continuing from the recently concluded Java EE 7 launch, this Virtual Developer Day has lots of new and exclusive content showcasing code-intensive deep dive demos of the new Java EE 7 technologies.

Make sure to register and bring all your Java EE 7 questions to engage with the JSR specification leads.

Register Now!

Thursday Jun 13, 2013

View the On-Demand Replay of Java EE 7 Launch Event

Thanks to everyone that participated in the Java EE 7 Online Launch Event yesterday! If you missed the event, then no worries, you can view the event on demand. Watch the keynote with participation from Oracle, IBM, Liferay, and community members.  You can also jump straight to one of the 16 technical overview presentations of Java EE 7 features delivered by specification leads from Oracle, IBM, and Red Hat.

If anything in particular piques your interest, then head on over to the Java EE page, download the Java EE 7 SDK, dig deeper, and start building an application.

Saturday May 18, 2013

Register for Live Webcast Introducing Java EE 7!

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 MC 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) 

Spread the word!

Wednesday Oct 03, 2012

JavaOne: Parleys.com, Spring Vs. Java EE and HTML5 tooling

Parleys.com, a 2012 Duke's Choice Award winner, is an E-Learning platform that host content from different sources (conferences, JUGs meetings, etc.). There is a lot of technical content available for online but also offline consumption, including many sessions on Java EE. Parleys has just released, for free, all the Devoxx 2011 sessions (video and slides sync'ed!).

From a technical point of view, Parleys.com is interesting as they have switched from Spring to Java EE 6 to avoid being locked in a proprietary framework. During the GlassFish Community BoF, Stephan Janssen (Parleys.com and Devoxx founder) also presented how GlassFish is used to support 2000 concurrent Parleys users over a cluster of 2 GlassFish instances.


Talking about Java EE and/or Spring, Harshad Oak has posted an update on the 'Spring Vs. Java EE' panel discussion that took place on Tuesday. As Arun said standards such as Java EE does not necessarily refrain innovation: "JBoss Forge & Arquillian from RedHat are great examples of innovation in the JavaEE community. Standardization is important but innovation does continue even within that framework."


Simplicity, productivity along with HTML5 are the driving themes of Java EE 7. In terms of simplicity and productivity, the developer experience can also be improved by the tooling. Every NetBeans release comes with a large set of improvements, the just released NetBeans 7.3 beta is no exception.
The goal of ‘NB 7.3’s Project Easel’ is to improve HTML5 development, something that will be handy for Java EE 7 developers. Project Easel can, for example, communicate directly to Chrome's WebKit engine, this feature was shown during Sunday's Technical Keynote at the end of the Java EE section. In this beta release, Chrome and the embedded JavaFX browser are the only supported browsers but the NetBeans team plan to add support, over time, for other WebKit based browsers.


Today (i.e. Wednesday 3rd) is also the final exhibition day, so make sure to visit the Java EE and the GlassFish pods on the Java DEMOgrounds (Hilton Grand Ballroom, 9:30 am - 5:00 pm).
Finally, here are some Java EE and GlassFish related activities worth attending today if you are at JavaOne :
Wednesday October 3rd
Time Title Location
8:30-9:30am What's New in Servlet 3.1: An Overview Parc 55 Mission
8:30-9:30am Bean Validation 1.1: What's New Under the Hood Parc 55
Cyril Magnin II/III
10:00-11:00am JSR 353: Java API for JSON Processing Parc 55 Mission
10:00-12:00pm Tutorial : Integrating Your Service into the GlassFish PaaS Platform Parc 55 Devisidero
11:30-12:30pm What's New in JSF: A Complete Tour of JSF 2.2 Parc 55
Cyril Magnin I
11:30-12:30pm Best of Both Worlds: Java Persistence with NoSQL and SQL Parc 55 Mission
1:00-2:00pm Sharding Middleware to Achieve Elasticity and High Availability in the Cloud Parc 55
Market Street
1:00-2:00pm Pimp My RESTful Java Applications Parc 55
Cyril Magnin I
3:00-4:00pm Migrating Spring to Java EE Parc 55
Cyril Magnin II/III
4:30-5:30pm JavaEE.Next(): Java EE 7, 8, and Beyond Parc 55
Cyril Magnin II/III
4:30-5:30pm HTML5 WebSocket and Java Parc 55
Cyril Magnin I
4:30-5:30pm Easy Middleware for Your Embedded Device Nikko Ballroom II/III

Monday Oct 01, 2012

The first day of JavaOne is already over!

In the past Sunday used to be a more relaxing day with ‘just’ some JavaOne activities going on. Sunday used to be a soft day to prepare yourself for an exhausting week. This is now over as JavaOne is expanding; Sunday is now an integral part of the conference. One of the side effect of this extra day is that some activities related to JavaOne and OpenWorld such as MySQL Connect are being push to start a day earlier on Saturday (can you spot the pattern here?).

On the GlassFish front, Sunday was a very busy day! It started at the Moscone Center with the annual GlassFish Community Event where the Java EE 7 and GF 4 roadmaps were presented and discussed. During the event, different GlassFish users such as ZeroTurnaround (the JRebel guys), Grupo RBS and IDR Solutions shared their views on GF, why they like GF but also what could be improved. The event was also a forum for the GF community to exchange with some of the key Java EE / GlassFish Oracle Executives and the different GF team members.

The Java Strategy Keynote and the JavaOne Technical Keynote were held in the Masonic Auditorium later in the after-noon. Oracle executives have presented the plans for Java SE, Java FX and Java EE. Here are some personal takeaways from those keynotes.

Modularity
Modularity is a big deal. We know by now that Project Jigsaw will not be ready for Java SE 8 but in any case, it is already possible (and encouraged) to test Jigsaw today.
In the future, Java EE plan to rely on the modularity features provided by Java SE, so Project Jigsaw is also relevant for Java EE developers.
Shorter term, to cover some of the modular requirements, Java SE will adopt the approach that was used for Java EE 6 and the notion of Profiles. This approach does not define a module system per say; Profiles is a way to clearly define different subsets of Java SE to fulfill different needs (e.g. the full JRE is not required for a headless application). The introduction of different Profiles, from the Base profile (10mb) to the Full Profile (+50mb), has been proposed for Java SE 8.

Embedded
Embedded is a strong theme going forward for the Java Plaform. There is now a dedicated program : Java Embedded @ JavaOne

Java by nature (e.g. platform independence, built-in security, ability easily talks to any back-end systems, large set of skills available on the market, etc.) is probably the most suited platform for the Internet of Things.

You can quickly be up-to-speed and develop services and applications for that space just by using your current Java skills. All you need to start developing on ARM is a 35$ Raspberry Pi ARM board (25$ if you are cheap and can live without an ethernet connection) and the recently released JDK for Linux/ARM. Obviously, GlassFish runs on Raspberry Pi.

If you wan to go further in the embedded space, you should take a look Java SE Embedded, an optimized, low footprint, Java environment that support the major embedded architectures (ARM, PPC and x86).

Finally, Oracle has recently introduced Java Embedded Suite, a new solution that brings modern middleware capabilities to the embedded space. Java Embedded Suite is an optimized solution that leverage Java SE Embedded but also GlassFish, Jersey and JavaDB to deploy advanced value added capabilities (eg. sensor data filtering and) deeper in the network, closer to the devices.

JavaFX
JavaFX is going strong! Starting from Java SE 7u6, JavaFX is bundled with the JDK. JavaFX is now available for all the major desktop platforms (Windows, Linux and Mac OS X). JavaFX is now also available, in developer preview, for low end device running Linux/ARM. During the keynote, JavaFX was shown running on a Raspberry Pi!

And as announced during the keynote, JavaFX should be fully open-sourced by the end of the year; contributions are welcome!.

There is a strong momentum around JavaFX, it’s the ideal client solution for the Java platform. A client layer that works perfectly with GlassFish on the back-end. If you were not convince by JavaFX, it’s time to reconsider it!

As an old Chinese proverb say “One tweet is worth a thousand words!”

HTML5, Project Avatar and Java EE 7
HTML5 got a lot of airtime too, it was covered during the Java EE 7 section of the keynote. Some details about Project Avatar, Oracle’s incubator project for a TSA (Thin Server Architecture) solution, were diluted and shown during the keynote.

On the tooling side, Project Easel running on NetBeans 7.3 beta was demo’ed, including a cool NetBeans debugging session running in Chrome!

HTML 5, Project Avatar and Java EE 7 deserve separate posts...

Feedback
We need your feedback! There are many projects, JSRs and products cooking : GlassFish 4, Project Jigsaw, Concurrency Utilities for Java EE (JSR 236), OpenJFX, OpenJDK to name just a few. Those projects, those specifications will have a profound impact on the Java platform for the years to come! So if you have the opportunity, download, install, learn, tests them and give feedback! Remember, you can "Make the Future Java!"


Finally, the traditional GlassFish Party at the Thirsty Bear concluded the first JavaOne day. This party is another place where the community can freely exchange with the GlassFish team in a more relaxed, more friendly (but sometime more noisy) atmosphere. Arun has posted a set of pictures to reflect the atmosphere of the keynotes and the GlassFish party.


You can find more details on the others Java EE and GlassFish activities here.

Monday Sep 17, 2012

NINE Great Reasons to Attend the GlassFish Community Event at JavaOne 2012

Are you coming to the annual GlassFish Community Event at JavaOne this year?
Here are nine great reasons not to miss it!

Great company
Meet and mingle with community leaders and luminaries, the GlassFish engineering team, and Oracle executives!
Learn from others How are your peers using GlassFish in creative ways? A few community members will share their challenges and creative solutions.
Ask tough questions Meet Oracle GlassFish and Middleware executives; the panel discussion will be moderated by one of our stellar community leaders!
Shirts! Be sure to get this year's GlassFish T-shirt, designed by and voted on by YOU, our community members! Don't miss it - they go fast.
Share your story Give us a two minute update on why you love GlassFish and how you are using it! We will immortalize you in a very brief video and post it to our GlassFish Stories page!
Find out...
about the new book, hot off the press, authored by our very own Arun Gupta: "Java EE 6 Pocket Guide: A Quick Reference for Simplified Enterprise Java Development"
If you share... your story, you will win a copy of Arun's new book as our thank you gift!
Suggest...
some ideas on how to make GlassFish even better!
Have fun Lively discussion, news and updates, excellent company -- this is THE place to be on Sunday at JavaOne!

Convinced? Excellent! Then please register here!

A JavaOne Pass is required to enter Moscone Center. All passes accepted, including Discover, Exhibitor, Press, Blogger, etc.

Agenda
11:00 - 11:05: Introduction
11:05 - 11:30: Roadmap and Community Updates
11:30 - 12:15: Q&A with Executive Speaker Panel from Oracle and the GlassFish Team
12:15 - 01:00: Customer Testimonials
Location: Moscone West, Room 2005

Add sessions UGF10359 and UGF10360 to Schedule Builder

Thursday Aug 30, 2012

Java EE 7 Roadmap

The Java EE 6 Platform, released in December 2009, has seen great uptake from the community with its POJO-based programming model, lightweight Web Profile, and extension points. There are now 13 Java EE 6 compliant appserver implementations today!

When we announced the Java EE 7 JSR back in early 2011, our plans were that we would release it by Q4 2012. This target date was slightly over three years after the release of Java EE 6, but at the same time it meant that we had less than two years to complete a fairly comprehensive agenda — to continue to invest in significant enhancements in simplification, usability, and functionality in updated versions of the JSRs that are currently part of the platform; to introduce new JSRs that reflect emerging needs in the community; and to add support for use in cloud environments. We have since announced a minor adjustment in our dates (to the spring of 2013) in order to accommodate the inclusion of JSRs of importance to the community, such as Web Sockets and JSON-P.

At this point, however, we have to make a choice.

Despite our best intentions, our progress has been slow on the cloud side of our agenda. Partially this has been due to a lack of maturity in the space for provisioning, multi-tenancy, elasticity, and the deployment of applications in the cloud. And partially it is due to our conservative approach in trying to get things "right" in view of limited industry experience in the cloud area when we started this work. Because of this, we believe that providing solid support for standardized PaaS-based programming and multi-tenancy would delay the release of Java EE 7 until the spring of 2014 — that is, two years from now and over a year behind schedule. In our opinion, that is way too long.

We have therefore proposed to the Java EE 7 Expert Group that we adjust our course of action — namely, stick to our current target release dates, and defer the remaining aspects of our agenda for PaaS enablement and multi-tenancy support to Java EE 8.

Of course, we continue to believe that Java EE is well-suited for use in the cloud, although such use might not be quite ready for full standardization. Even today, without Java EE 7, Java EE vendors such as Oracle, Red Hat, IBM, and CloudBees have begun to offer the ability to run Java EE applications in the cloud.

Deferring the remaining cloud-oriented aspects of our agenda has several important advantages:

  • It allows Java EE Platform vendors to gain more experience with their implementations in this area and thus helps us avoid risks entailed by trying to standardize prematurely in an emerging area.
  • It means that the community won't need to wait longer for those features that are ready at the cost of those features that need more time.
  • Because we have already laid some of the infrastructure for cloud support in Java EE 7, including resource definition metadata, improved security configuration, JPA schema generation, etc., it will allow us to expedite a Java EE 8 release. We therefore plan to target the Java EE 8 Platform release for the spring of 2015.

This shift in the scope of Java EE 7 allows us to better retain our focus on enhancements in simplification and usability and to deliver on schedule those features that have been most requested by developers. These include the support for HTML 5 in the form of Web Sockets and JSON-P; the simplified JMS 2.0 APIs; improved Managed Bean alignment, including transactional interceptors; the JAX-RS 2.0 client API; support for method-level validation; a much more comprehensive expression language; and more.

We feel strongly that this is the right thing to do, and we hope that you will support us in this proposed direction.

Tuesday Jul 03, 2012

Servlet 3.1 Early Draft Now Available

JSR 340 has released an Early Draft of the Servlet 3.1 specification.

Other than the usual clarifications and javadoc updates, ProtocolHandler and WebConnection are new classes that encapsulates the protocol upgrade processing. This will typically be used for upgrading an HTTP connection to a WebSocket. Section 2.3.3.5 in the specification provide more details on it.

Servlet 3.1 Early Draft

Section 3.7 explain non-blocking request processing by the Web container. ReadListener and WriteListener are new interfaces that represents a call-back mechanism to read and write data without blocking.

As with other Java EE 7 specifications, progress can be tracked at servlet-spec.java.net. The Expert Group discussions are archived and you can participate by sending an email to users@servlet-spec.java.net.

Wednesday Jun 20, 2012

EL 3.0 Public Review - JSR 341 and Java EE 7 Moving Along

Following closely on the lines of EL 3.0 Early Draft, the specification is now available for a Public Review. The JCP2 Process Document defines different stages of the specifications. This review period closes Jul 30, 2012.

Some of the main goals of the JSR are to separate ELContext into parsing and evaluation contexts, adding operators like equality, string concatenation, etc, and integration with CDI. The section A.7 of the specification highlights the difference between Early Draft and Public Review.

ALT_DESCR

Download the Public Review and and follow the updates at el-spec.java.net. For more information about EL 3.0 (JSR 341), check out the JSR project on java.net. The archives of EG discussion are available at jsr341-experts and you can subscribe to the users@el-spec and other aliases on the Mailing Lists page.

Monday Jun 11, 2012

Petstore using Java EE 6 ? Almost!

Antonio Goncalves, a Java Champion, JUG leader, and a well-known author, has started building a Petstore-like application using Java EE 6. The complete end-to-end sample application will build a eCommerce website and follows the Java EE 6 design principles of simple and easy-to-use to its core. Its using several technologies from the platform such as JPA 2.0, CDI 1.0, Bean Validation 1.0, EJB Lite 3.1, JSF 2.0, and JAX-RS 1.1.

Pet Store

The two goals of the project are:

• use Java EE 6 and just Java EE 6 : no external framework or dependency
• make it simple : no complex business algorithm

The application works with GlassFish and JBoss today and there are plans to add support for TomEE.

Download the source code from github.com/agoncal/agoncal-application-petstore-ee6. And feel free to fork if you want to use a fancy toolkit as the front-end or show some nicer back-end integration.

Some other sources of similar end-to-end applications are:
Java EE 6 Tutorial
Java EE 6 Galleria
Java EE 6 Hands-on Lab

Tuesday Jun 05, 2012

Bert Ertman and Paul Bakker on Spring to Java EE 6 Migration Podcast

NLJUG leader and Java Champion Bert Ertman and Paul Bakker talk about migrating Spring applications to Java EE 6 in the latest issue of Java Spotlight Podcast, episode #85.

Bert and Paul talk about how to migrate your legacy Spring applications to use modern and lightweight Java EE 6 in five steps.

Bert Ertman Paul Bakker

The complete podcast is always fun but feel free to jump to 3:49 minutes into the show if you're in a hurry. They authored a series of article on the exact same topic starting here.

There is an extensive set of articles available that help you migrate from Spring to Java EE 6.

Subscribe to the podcast for future content.

Thursday May 31, 2012

Anil Gaur on Java EE 7 in the Java Spotlight Podcast

The latest issue of Java Spotlight Podcast, your weekly shot of Java from Oracle, has Anil Gaur on the show for an interview in episode #84.

Anil Gaur the VP of Development at Oracle responsible for WebLogic, GlassFish, and Java EE.

Anil Gaur

Anil talks about automatic service provisioning, elasticity, and multi-tenancy in Java EE 7. He also explains the benefits of vendor-neutrality and portable applications. The complete podcast is always fun but feel free to jump to 6:25 minutes into the show if you're in a hurry.

Subscribe to the podcast for future content.