Tuesday May 27, 2014

Java EE/GlassFish Adoption Story by Kerry Wilson/Vanderbilt University

Kerry Wilson is a Software Engineer at the Vanderbilt University Medical Center. He served in a consultant role to design a lightweight systems integration solution for the next generation Foundations Recovery Network using GlassFish, Java EE 6, JPA, @Scheduled EJBs, CDI, JAX-RS and JSF. He shared his story at the JavaOne 2013 Sunday GlassFish community event - check out the video below:

Kerry outlined some of the details of the implementation and emphasized the fact that Java EE can be a great solution for applications that are considered small/lightweight. He mentioned the productivity gains through the modern Java EE programming model centered on annotations, POJOs and zero-configuration - comparing it with competing frameworks that aim towards similar productivity for lightweight applications. Kerry also stressed the quality of the excellent NetBeans integration with GlassFish and the need for community self-support in free, non-commercial open source projects like GlassFish. You can check out the details of his story on the GlassFish stories blog.

Do you have a Java EE/GlassFish adoption story to share? Let us know and we will highlight it for the community.

Friday Apr 25, 2014

The JavaOne Java EE Track: Thanks, a Sneak Peek and an Invitation

As you know the JavaOne CFP is now closed. I want to take this opportunity to thank all of those that submitted their thoughtful topics and all those who considered submitting. We had the highest number of JavaOne CFP submissions in the recent few years. This is a testament to your passion for the Java community and it is a great start on the road to keeping JavaOne a true success.

In terms of the Java EE track we now have all the raw material we need to construct a strong selection. In the next few weeks we will be working hard with the review committee to carefully sort through all the submissions we have at hand. You should begin to hear back as to decisions on your submissions around early Summer.

I want to remind you now not to be discouraged if you don't get the response you are hoping for. You should remember that you are competing against some of the best and brightest of Java at a global scale - especially so in the Java EE track. As much as we would like for things to be perfect in the end all of this is also based on all too fallible human judgement applied through a fairly intricate process designed with checks, balances and fairness in mind. If your session does not get accepted this year, you should definitely consider honing your submissions and trying again next year. If you are indeed selected I hope you see it as the testament to your abilities and good fortune it truly is. Either way, I hope you will consider coming to JavaOne to experience the incredible talent, energy and intellect in the air.

Invited Speakers/A Sneak Peek
One of the things we are doing differently for JavaOne this year is that we have a small number of well-deserved invited speakers. Besides helping us put together some early content this is a great way to give credit to some of the folks in the community. The following are the folks we have the honor to invite to the Java EE track this year with a bit of a sneak peak about what they will be talking about (as some of you know we have also invited a small number of folks personally to submit via the normal CFP process in addition to these super stars):

Adam Bien needs little introduction. He has been a key Java EE advocate, author, JCP expert and Java Champion for a long time. His passion for Java EE, knowledge as a consultant and skill as a presenter have few parallels. Adam will be talking about just how lightweight Java EE application design can be and other topics.

David Blevins also needs few introductions. He is an excellent speaker, a long-time JCP expert, Java EE advocate and powerhouse developer behind the highly innovative Apache OpenEJB and TomEE projects. David just recently founded Tomitribe, a company offering commercial support for TomEE. David will be talking about exactly why Java EE is a game changer developers should be enthusiastic about and other topics.

Patrycja Wegrzynowicz is the founder and CTO of her own company, a strong technical mind, a JavaOne veteran and a regular speaker at many conferences worldwide. Just some of her interests include patterns/anti-patterns, security, persistence and performance tuning. Patrycja will be sharing her insight on performance tuning techniques for complex JPA 2.1 domain models and other topics. We anticipate her talk would be interesting and valuable to many of you.

Arun Gupta is the former "GlassFish Guy", prolific Java EE advocate, author and blogger. He now enjoys a well-deserved and coveted role as the head of developer advocacy at Red Hat. A great deal of the current success of the Java EE and GlassFish communities can be attributed to Arun's tireless hard work, boundless energy and infectious enthusiasm. We are very honored to have Arun talk about some lessons learned from real world Java EE 7 deployments and other topics.

Anatole Tresch is a key engineer at Credit Suisse and one of the few brave souls with enough initiative to lead JCP JSRs despite not working for a major technology vendor. We are very proud to invite Anatole to talk about the Java EE configuration effort that he is currently helping launch. He definitely deserves the support of the Java EE community and has much to offer in terms of insight on Java EE and the JCP. We look forward to seeing him at JavaOne.

Keep in mind that JavaOne is now already open for registration. There are definitely some advantages to registering early. JavaOne Content Chair Stephen Chin outlines the reasons in an excellent recent blog post.

I hope to see you all at JavaOne. In the meanwhile as always if you have any questions never hesitate to reach out.

Thursday Apr 24, 2014

Reminder : Virtual Developer Days - Java 2014

The first occurrence of the Java Virtual Developer Day for 2014 will take place in less than 2 weeks! So if you plan to attend, it is time to register!
Not only you will have a chance to learn about the latest evolutions in the Java space, i.e. Java EE 7, Java SE 8 and Java Embedded. You will also have the opportunity to interact and ask questions to various experts.  And the best part is that VDD are free to attend so do not miss this opportunity!

To cope with the different Time Zones, the VDD will be run 3 times :
  • May 6th : 9:00 a.m. - 1:00 p.m. PDT / 12:00 p.m. - 4:00 p.m. EDT / 1:00 p.m. – 5:00 p.m. BRT
  • May 14th : 9:00 AM  - 1:00 PM BST/  10:00 AM  - 2:00 PM CEST / 12:00 Noon - 4:00 PM GST /  12:00 Noon - 4:00 PM MSK 
  • May 21st : 8:30 AM - 12:30 PM IST  / 11:00 AM  - 2:30 PM SGT / 1:00 PM  - 4:30 PM AEDT 
The complete agenda and the registration details can be found here.

Monday Apr 14, 2014

David Heffelfinger's Java EE/GlassFish Adoption Story

David Heffelfinger is the Chief Technology Officer of Ensode Technology and an ardent US based Java EE/GlassFish advocate. He has authored no less than four titles on Java EE/GlassFish. David shared a Java EE/GlassFish adoption story at the JavaOne 2013 Sunday GlassFish community event - check out the video below:

He detailed how he convinced a long time customer to upgrade their application servers and use Java EE/GlassFish with PrimeFaces by hacking together a quick demo. Using the combination of Java EE 6, GlassFish, PrimeFaces and NetBeans allowed him to lead a relatively inexperienced team in delivering the first version of the application in just three weeks. David also mentioned that using GlassFish as a learning tool helps keep his skills sharp and in-demand as GlassFish adopts the newest Java EE APIs faster than the other options. You can check out the details of his story on the GlassFish stories blog.

Do you have a Java EE 6/GlassFish story to share? Let us know and we will highlight it for the community.

Thursday Apr 03, 2014

Last Call to Submit to the JavaOne Java EE Track

This is a first and last reminder from us to all of the folks out there that the JavaOne CFP closes on April 15 - just about two weeks from now.

The procrastinator in you might be thinking two weeks is plenty of time. In reality if you haven't started working on your submissions yet, you are probably setting yourself up for some stress that will likely result in a weak submission. This is especially true if like most of us you will need to collaborate with others or get your boss's approval for your submission. Putting things in perspective the CFP has already been open for about a month so other folks already have a hefty head start to maximize their chances of getting accepted.

We have already had some very decent submissions on the Java EE track that has enabled us to get some early acceptances out and gear up the review process as I write this. That being said, we want to make sure everyone in the community has a fair chance to help us build a strong Java EE track agenda by submitting their best ideas. As always, never hesitate to get in touch if you have a question.

Here are some hopefully helpful hints to help you out:

What We Are Looking For
Consider the following as inspiration for submissions to the Java EE track (the only real limits of course are your own imagination on anything in the Java EE ecosystem):

  • Existing and upcoming Java EE technology JSRs and implementations
  • Cool stuff that extends Java EE in new and interesting ways
  • Case studies using Java EE 5, Java EE 6 or Java EE 7 (including migration from other technologies)
  • Best practices for using Java EE technologies
  • Emerging trends in the ecosystem such as mobile, HTML5, caching, complex event processing, modularity and the like
  • Insightful research, development and analysis work in server-side Java

The Cloud Track vs. The Java EE Track
Note that topics like IaaS, PaaS, SaaS, elasticity, multitenancy, NoSQL, Big Data, DevOps and the like should go on the cloud track instead of the Java EE track. Do make an honest effort in applying your judgement on which track to submit on. Either way, it's not a deal breaker if you don't get it exactly right - we will figure it out for you if all else fails. Similarly, please try not to submit talks that really belong in another track such as tools or dynamic languages to the Java EE track. Believe it or not, the Java EE track is actually far more competitive than many of the other tracks. Similarly, if something clearly belongs in the Java EE track, you'll be doing yourself a disfavor by not submitting to the track as the other track leads won't necessarily move your submission correctly.

The Video to Include With Your Submission
Some people are getting caught by surprise that this year we are requiring a video with the submission, so this may bear some explaining. One of the fundamental purposes of the video is to level the playing field for unkown but great speakers. It allows us to assess your submission a lot better by helping neutralize bias towards people that the reviewers are aware of personally. It need not be anything elaborate at all - just a simple explanation of what you are submitting. For experienced speakers, the video requirement is no big deal at all - just submit the video for any talk you have (or ideally video for the talk you are proposing).

Mark Stephens of IDR Solutions recently put out a great blog entry on the JavaOne submission video requirement. The entry is well worth a look.

Don't Count on an Extension
Fortunately or unfortunately some previous JavaOne CFPs have been extended beyond their initial date. Please do yourself a favor and don't assume this will happen again. You may be winding up denying yourself a shot at submitting your great talk altogether :-).

Finally, here is that all important link to the CFP. Hope to see and accept your great topic soon :-)?

Friday Mar 21, 2014

Code PaLOUsa 2014 Trip Report

Code PaLOUsa 2014 took place 24-26 February in Louisville, Kentucky. Code PaLOUsa is a fairly unassuming conference with great quality farther away from the beaten paths. Topics covered included Java, .NET, JavaScript, mobile, methodology and Big Data/NoSQL. On my way to Kentucky, I was able to stop by at the Montgomery County (Maryland) JUG for a Java EE 7 session.

At Code PaLOUsa I delivered a talk on aligning Java EE with NoSQL as well as a talk on the Cargo Tracker Java EE/Domain-Driven Design Blue Prints project (this talk was recorded by InfoQ). More details, including slide decks and code, posted on my personal blog.

Monday Mar 10, 2014

Java EE 8 Survey Last Call!

As many of you are aware, we have been running the Java EE 8 survey as a way to solidly kick start the next round of standardization for the platform. We would now like to wrap up the survey and move on to the next logical steps. To that end, we will be closing the third and final part of the survey in the next two weeks (specifically on Monday the 24th, midnight Pacific time). If you still have not filled out the survey, please do now: glassfish.org/survey.

While part one and two focused on specific features, this last part is all about assigning priorities to the most important features. In some ways, this is the most important part of the survey so we highly encourage you to help us by providing input as early as possible and help correctly shape the future of Java EE. If possible, please also help us out by getting the word out.

We look forward to hearing from you! 

Wednesday Mar 05, 2014

JavaOne CFP is Open - Your Invitation to Submit to the Java EE Track

It's that special time of the year again - the JavaOne 2014 call for papers is now officially open!

JavaOne will be held September 28 - October 2 in San Francisco. You can read about the details and submit here (at the time of writing the site was intermittently available so do be patient or let us know if you have any issues). This year, I have the privilege to lead the Java EE track along with Lance Andersen (Lance also leads the closely related Cloud track). My colleagues Bruno Borges and David Delabassee will also be playing key roles in the Java EE track.

Please do consider this a personal invitation from me to submit your best ideas to one of the most prestigious gatherings of the minds for server-side Java. If you have any questions, never hesitate to get in touch.

Consider the following as inspiration for submissions to the Java EE track (the only real limits of course are your own imagination on anything in the Java EE ecosystem):

  • Existing and upcoming Java EE technology JSRs and implementations
  • Cool stuff that extends Java EE in new and interesting ways
  • Case studies using Java EE 5, Java EE 6 or Java EE 7 (including migration from other technologies)
  • Best practices for using Java EE technologies
  • Emerging trends in the ecosystem such as mobile, HTML5, caching, complex event processing, modularity and the like
  • Insightful research, development and analysis work in server-side Java

Note that topics like IaaS, PaaS, SaaS, elasticity, multitenancy, NoSQL, Big Data, DevOps and the like should go on the cloud track instead of the Java EE track. Do make an honest effort in applying your judgement on which track to submit on. Either way, it's not a deal breaker if you don't get it exactly right - we will figure it out for you if all else fails :-).

The CFP is closed April 15, so please do start thinking about what you want to submit soon. We will be using rolling acceptance, so there is an inherent advantage to submitting early. That being said do take your time - quality always matters!

Thursday Feb 20, 2014

Java+EE Basic Training with Yakov Fain

Those of us that have been around Java/Java EE for a little while sometimes tend to forget that Java is still an ever expanding ecosystem with many newcomers. Fortunately, not everyone misses this perspective, including well-respected Java veteran Yakov Fain. Yakov recently started a brand new free online video tutorial series focused on Java and Java EE beginners. The very first of these excellent videos is posted below. The slides for the tutorial series are available here. Yakov is working to update the content to EE 7 and he uses GlassFish 4. If there are folks you know that would benefit from this content, please do pass on word. Even if you are an experienced developer, it sometimes helps to sit back and review the basics...

It's quite remarkable that someone of Yakov's stature took the time out to create content for absolute beginners. For those unaware, Yakov is one of the earliest Java champions and one would be very hard pressed to match his many contributions to the Java community. The tutorial demonstrates his continued passion, commitment and humility.

Sunday Feb 16, 2014

Inject Properties using CDI

One of the principal goals of CDI is to make the Java EE programming model far more extensible - from adding basic functionality to full-scale integration with third-party software. Piotr Nowicki demonstrates this well by doing something pretty simple but common and useful - injecting a value from a Java .properties file into any managed bean using CDI @Produces and InjectionPoint. Note that the Core module of the Apache DeltaSpike project also includes similar functionality. In case you are unaware of Apache DeltaSpike, it is the de-facto collection of CDI portable extensions (it is the successor to both Seam 3 and Apache CODI).

Both Piotr's code and Apache DeltaSpike inject values from property files only. One useful addition could be to also support Java environment variables. Perhaps this inspires you enough to create your own CDI portable extension for injecting properties or contribute to DeltaSpike :-)? Interestingly, there is a similar discussion on JAVAEE_SPEC-19. Perhaps this is an area for the emergent Java EE Configuration JSR to look into?

Wednesday Jan 15, 2014

Java EE/GlassFish is Tops (on SlideShare :-))!

It seems Java EE/GlassFish is topping charts - well, at least on SlideShare anyway :-). As many of you know, our team has quite a bit of content published on the popular SlideShare site, including on the official GlassFish account and my personal account. An extremely large amount of folks use that content - I didn't realize just how large until today. The GlassFish account is among the top 5% of all content viewed on SlideShare, while my personal account is in the top 1%.

Below is a list of the top ten content we have on these accounts:

  1. What’s New in Java Message Service 2 - 22,889 views.
  2. Building Java HTML5/WebSocket Applications with JSR 356 - 22,036 views.
  3. Fifty Features of Java EE 7 in 50 Minutes - 19,994 views.
  4. JavaEE.Next(): Java EE 7, 8, and Beyond - 19,857 views.
  5. JSON-P - 15,747 views.
  6. Using NoSQL with JPA, EclipseLink and Java EE - 14,429 views.
  7. JAX-RS 2: New and Noteworthy in the RESTful Web Services API - 13,881 views.
  8. Java EE Concurrency Utilities - 9,549 views.
  9. Java Batch - 9,251 views.
  10. Applied Domain-Driven Design Blue Prints for Java EE - 7,507 views.

This of course is in addition to the many folks that interact with us at conferences, Java user groups, on Twitter, on this humble community blog, on JavaLobby/DZone and so on. I want to thank you for listening to us and look forward to continue to generate newer content that's useful to you. I also want to assure you that it is a privilege and I know the team is always eager to hear from you as to what can be done to keep the Java EE and GlassFish communities moving forward.

Tuesday Dec 24, 2013

Season's Greetings and Happy New Year from the GlassFish/Java EE Team!

On behalf of the GlassFish and Java EE team at Oracle I wish you and your family Season's Greetings and a very Happy New Year!

As you know this has been quite an eventful year for us - especially with the release of Java EE 7 and GlassFish 4 as well as the now ongoing survey effort to help drive the agenda for Java EE 8 and GlassFish 5, not to mention efforts like the revamped GlassFish.org community site. We are ever thankful for your support and we hope to continue to try our best to serve your interests, perhaps against what many would consider pretty tall odds.

In the coming year, we will look forward to working harder than ever in engaging you through the Java EE open standard, the GlassFish code base, Adopt a JSR, Java EE Blue Print projects and this humble community blog among many other existing and upcoming efforts.

Thanks and best wishes once again. We hope to see you next year!

Wednesday Nov 20, 2013

JPA 2.1 Type Converters

Somewhat surprisingly, JPA 2.1 appears to be one of the APIs that seems to get lost in the Java EE 7 buzz. Although it is a point release JPA 2.1 includes a fairly large number of very important changes such as schema generation, entity graphs, support for stored procedures, unsynchronized persistence contexts, entity converters, and much, much more. In a code driven post Thorben Janssen discusses one of these changes - entity converters. There's also the 20-minute JPA 2.1 presentation by specification lead Linda Demichiel on the GlassFish videos YouTube channel:

More recently, Linda presented a JavaOne 2013 technical session titled Java Persistence 2.1. Stay tuned to Parleys.com for video of the session to be posted.

Thursday Nov 07, 2013

6 Facts About GlassFish Announcement

To help clarify the message about the recent roadmap for GlassFish, I decided to put together 6 facts about the announcement, future of GlassFish, and the Java EE platform as a whole: 

"Since Oracle announced the end of commercial support for future Oracle GlassFish Server versions, the Java EE world has started wondering what will happen to GlassFish Server Open Source Edition. Unfortunately, there's a lot of misleading information going around. So let me clarify some things with facts, not FUD."

Read full story here

Monday Nov 04, 2013

Java EE and GlassFish Server Roadmap Update

2013 has been a stellar year for both the Java EE and GlassFish Server communities. On June 12, Oracle and its partners announced the release of Java EE 7, which delivers on three major themes – HTML5, developer productivity, and meeting enterprise demands. The online event attracted over 10,000 views in the first two days!

During the online event, Oracle also announced the availability of GlassFish Server Open Source Edition 4, the world's first Java EE 7 compatible application server. The primary role of GlassFish Server Open Source Edition has been, and continues to be, driving adoption of the latest release of the Java Platform, Enterprise Edition. Oracle also announced the Java EE 7 SDK, which bundles GlassFish Server Open Source Edition 4, as a Java EE 7 learning aid. Last, Oracle publicly announced the Java EE 7 reference implementation based on GlassFish Server Open Source Edition 4. Java EE is a popular platform, as evidenced by the 20+ Java EE 6 compatible implementations available to choose from.

After the launch of Java EE 7 and GlassFish Server Open Source Edition 4, we began planning the Java EE 8 roadmap, which was covered during the JavaOne Strategy Keynote. To summarize, there is a lot of interest in improving on HTML5 support, Cloud, and investigating NoSQL support. We received a lot of great feedback from the community and customers on what they would like to see in Java EE 8.

As we approached JavaOne 2013, we started planning the GlassFish Server roadmap. What we announced at JavaOne was that GlassFish Server Open Source Edition 4.1 is scheduled for 2014. Here is an update to that roadmap.

  • GlassFish Server Open Source Edition 4.1 is scheduled for 2014
  • We are planning updates as needed to GlassFish Server Open Source Edition, which is commercially unsupported
  • As we head towards Java EE 8:
    • The trunk will eventually transition to GlassFish Server Open Source Edition 5 as a Java EE 8 implementation
    • The Java EE 8 Reference Implementation will be derived from GlassFish Server Open Source Edition 5. This replicates what has been done in past Java EE and GlassFish Server releases.
  • Oracle will no longer release future major releases of Oracle GlassFish Server with commercial support – specifically Oracle GlassFish Server 4.x with commercial Java EE 7 support will not be released.
  • Commercial Java EE 7 support will be provided from WebLogic Server.
  • Oracle GlassFish Server will not be releasing a 4.x commercial version

Expanding on that last bullet, new and existing Oracle GlassFish Server 2.1.x and 3.1.x commercial customers will continue to be supported according to the Oracle Lifetime Support Policy.

Oracle recommends that existing commercial Oracle GlassFish Server customers begin planning to move to Oracle WebLogic Server, which is a natural technical and license migration path forward:

  • Applications developed to Java EE standards can be deployed to both GlassFish Server and Oracle WebLogic Server
  • GlassFish Server and Oracle WebLogic Server have implementation-specific deployment descriptor interoperability (here and here).
  • GlassFish Server 3.x and Oracle WebLogic Server share quite a bit of code, so there are quite a bit of configuration and (extended) feature similarities. Shared code includes JPA, JAX-RS, WebSockets (pre JSR 356 in both cases), CDI, Bean Validation, JSF, JAX-WS, JAXB, and WS-AT.
  • Both Oracle GlassFish Server 3.x and Oracle WebLogic Server 12c support Oracle Access Manager, Oracle Coherence, Oracle Directory Server, Oracle Virtual Directory, Oracle Database, Oracle Enterprise Manager and are entitled to support for the underlying Oracle JDK.

To summarize, Oracle is committed to the future of Java EE.  Java EE 7 has been released and planning for Java EE 8 has begun. GlassFish Server Open Source Edition continues to be the strategic foundation for Java EE reference implementation going forward. And for developers, updates will be delivered as needed to continue to deliver a great developer experience for GlassFish Server Open Source Edition. We are planning for GlassFish Server Open Source Edition 5 as the foundation for the Java EE 8 reference implementation, as well as bundling GlassFish Server Open Source Edition 5 in a Java EE 8 SDK, which is the most popular distribution of GlassFish. This will allow GlassFish releases to be more focused on the Java EE platform and community-driven requirements. We continue to encourage community contributions, bug reports, participation on the GlassFish forum, etc. Going forward, Oracle WebLogic Server will be the single strategic commercially supported application server from Oracle.

Disclaimer: The preceding is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract.It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. The development, release, and timing of any features or functionality described for Oracle’s products remains at the sole discretion of Oracle.