Monday Dec 07, 2015

Please Welcome Siwpas as Java EE Certified Option!

Siwpas (short for Simple Web Profile Application Server) has been an interesting project for a little while. Very similar to the more widely known TomEE, Siwpas is a Java EE application server based on Tomcat. In addition to Java EE support Siwpas offers production ready features such as clustering and security. You can also get commercial support from a Turkish based company named MechSoft.

Although Siwpas has been around for some time it had not been certified. The folks behind the application server now announced that they have achieved Java EE 6 Web Profile compatibility through the OW2 Foundation. For those unaware, the OW2 Foundation has long been granted a full Java EE TCK license for a long time. This is the license Siwpas is able to use by joining and contributing the server to the OW2 Foundation. 

Siwpas founder Gurkan Erdogdu shares the story of how the server achieved Java EE 6 Web Profile certification on his blog. You can find out more about Siwpas here and download it from the official OW2 forge. As Gurkan mentions the next step for Siwpas is Java EE 7 certification. Please welcome their valiant effort in expanding options for the Java EE community.

Monday Feb 23, 2015

Rakuten: Java EE Adoption in One of the World’s Largest Online Financial Systems

One of the most important things to do at this stage of the life-cycle of Java EE is highlight successful adoption stories. We have been doing just that for a long time through our adoption stories blog as well as JavaOne. JavaOne 2014 was particularly good in this regard and JavaOne 2015 looks to be even better. Indeed we hope the folks with great adoption stories that submitted last year but did not get accepted will resubmit next year. We will highlight some of those sessions from JavaOne 2014 in the next few months and the best place to start is the Java EE adoption story from Rakuten.

Rakuten is one of the largest online financial systems in the world. It is the number one e-commerce platform in Japan generating over 51 billion dollars of yearly revenue and growing on a global scale. It is easily one of the most technically adept companies in Japan and perhaps the world. They had a legacy system build around J2EE and a hodgepodge of various non-standard frameworks such as Spring, Apache Axis and iBatis. They chose to adopt Java EE over these technologies including alternatives such as .NET. They cited vendor neutrality, choice, simplicity, community, ease-of-learning, ease-of-use and productivity as great reasons for selecting Java EE for their next generation platform. They fully leverage Java EE including key APIs such as JSF, CDI, EJB, JPA, JTA and JMS. Along with Java EE they also chose WebLogic as well as Oracle DB/Exadata. They cited performance, scalability, reliability, productivity and support for choosing WebLogic, Oracle DB and Exadata. They also use best-of-breed tools such as NetBeans, Maven, Jenkins and the Atlassian suite of solutions. They achieved the astounding technical feat of completely overhauling their 24/7, extremely high volume online transactional system in just six months including training!

You can see Hirofumi Iwasaki and Arshal Ameen's awesome JavaOne 2014 presentation below (if you are having trouble seeing the embedded video it is available here).

The slide deck from the talk is posted below (if you are having trouble seeing the embedded slideshow it is available here).

Hirofumi Iwasaki and Arshal Ameen have been great advocates of Java EE, especially in Japan. We hope to continue to see great things from them and Rakuten. Rakuten is looking forward to learning and applying Java EE 7 in the real world as soon as possible.

If you have a great Java EE adoption story to share, please do drop us a note (particularly migration stories from other technologies). In the spirit of Java EE centric vendor neutrality, what Java EE implementation or tool set you choose does not matter at all and neither does which part of the globe you are in.

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 10, 2012

Apache TomEE 1.0: 15th Java EE Compliant Application Server

Apache TomEE (pronounced "tommy") 1.0 is now released. Its basically vanilla Tomcat with Java EE 6 Web Profile features packaged together. This is the 15th certified Java EE 6 implementation and the certification is for the Java EE 6 Web Profile.

ALT_DESCR

The tested configuration shows the list and version of technologies included in this release. The home page provide more details about the technologies and download link.

Congratulations David Blevins and rest of the TomEE team!

Sunday Apr 08, 2012

Unlock the Java EE 6 Platform using NetBeans 7.1

NetBeans IDE provide tools, templates, and code generators that can be used for the specifications that are part of the Java EE 6 Platform.

Key to the Platform

In a recent article Geertjan builds a simple end-to-end application using the standard Model-View-Controller architecture. It uses Java Persistence API 2, Servlets 3, JavaServer Faces 2, Enterprise Java Beans 3.1, Context and Dependency Injection 1.0, and Java API for RESTful Web Services 1.1 showing the complete stack.

A self-paced and an extensive hands-on lab covering this article and much more is also available here. A video (47-minutes) explaining how to build a similar application can be viewed here.

Friday Mar 23, 2012

Tab Sweep - Upgrade to Java EE 6, Groovy NetBeans, JSR310, JCache interview, OEPE, and more

Recent Tips and News on Java, Java EE 6, GlassFish & more :

Radio Receiver

Implementing JSR 310 (New Date/Time API) in Java 8 Is Very Strongly Favored by Developers (java.net)
Upgrading To The Java EE 6 Web Profile (Roger)
NetBeans for Groovy (blogs.oracle.com)
Client Side MOXy JSON Binding Explained (Blaise)
Control CDI Containers in SE and EE (Strub)
Java EE on Google App Engine: CDI to the Rescue - Aleš Justin (jaxenter)
The Java EE 6 Example - Testing Galleria - Part 4 (Markus)
Why is OpenWebBeans so fast? (Strub)
Welcome to the new Oracle Enterprise Pack for Eclipse Blog (blogs.oracle.com)
Java Spotlight Episode 75: Greg Luck on JSR 107 Java Temporary Caching API (Spotlight Podcast)
Glassfish cluster installation and administration on top of SSH + public key (Paulo)
Jfokus 2012 on Parleys.com (Parleys)
Java Tuning in a Nutshell - Part 1 (Rupesh)
New Features in Fork/Join from Java Concurrency Master, Doug Lea (DZone)
A Java7 Grammar for VisualLangLab (Sanjay)
Glassfish version 3.1.2: Secure Admin must be enabled to access the DAS remotely (Charlee)
Oracle Announces the Certification of the Oracle Database on Oracle Linux 6 and Red Hat Enterprise Linux 6

Tuesday Mar 13, 2012

Java EE 6 sample code

Now that Java EE 6 has been out for more than two years, best practices and code samples seem to be easier to find than ever. Here are a few samples.

ALT_DESCR

Markus has just blogged about "Galleria example", a bitbucket-hosted set of end to end Java EE 6 sample code written by Vineet Reynolds (Markus now also has all the practical steps to use the code with NetBeans 7.1.1 and deploy to GlassFish 3.1.2). Other examples include Adam Bien's Java EE Patterns and Antonio Goncalves' Beginning EE 6 projects on kenai.com.

Of course there's also GlassFish sample code and their NetBeans equivalent (updated for GlassFish 3.1.2). In summary, you've got no choice - get going with Java EE 6 today!

Wednesday Feb 22, 2012

And then there were 14 compatible Java EE 6 implementations

With the recent addition of JBoss' Java EE 6 Full Platform product, the list of compatible servers is now set to no less than 14, a little after the 2-year anniversary of the platform.

With this much vendor choice (Open Source or not) and platform choice (Web of Full), it's a great time to be a Java EE developer and user.

Note that with all the new JSR's following the JCP 2.8 modus operandi, such public pages of compatible implementations should become the rule. This will of course apply to Java EE 7, but also to individual specifications.

ALT_DESCR

Friday Feb 10, 2012

Java EE 6 - Yet another Fujitsu compatible product

We now have a new Java EE 6 product in the family - Fujitsu Interstage Application Server V10.1, a different product from the one mentioned last summer.

Details in this Press Release reveal that other than support for the Java EE 6 Full Platform, it offers mobile features with support for jQuery Mobile.

Fujitsu Logo

The detailled tested configuration for this product should sound pretty familiar to readers with components such as EclipseLink, Weld, or Metro.

Wednesday Jan 11, 2012

JSF and HTML 5 intersection - Server Sent Events

Note: if you're reading this using a feedreader, please make sure you've updated to the updated TheAquarium feed.

Roger Kitain from the GlassFish JSF team has made available a recent article he wrote for JAX's Java Tech Journal titled "JSF 2 and HTML 5 Server Sent Events".

The article explores how one of many many HTML5 technologies, Server Sent Events (SSE), can be incorporated in a JSF UI. It includes sample code for creating JSF composite components used for a stock quote application that features server-initiated page refreshes (using SSE).

ALT_DESCR

While not as powerful as the WebSocket protocol, HTML 5 Server Sent Events can used to provide partial page refresh without moving away from the HTTP protocol.

.

Friday Jan 06, 2012

Tab Sweep - JSON, OSGi, GlassFish+NetBeans experience, JAXB and JodaTime, file uploads & more

Recent Tips and News on Java, Java EE 6, GlassFish & more :

Radio Receiver

JSON to Java with JDK6 (Julien)
What does the future hold for OSGi without leader Peter Kriens? (JAXenter)
JavaCloudGuy: Glassfish (Java EE 6) is now available as option in #cumulogic (Twitter)
JAXB and Joda-Time: Dates and Times (Blaise)
JAX-RS Tip of the Day: Using YUI2 and YUI3 DataTables with Jersey and jQuery (John)
JAX-RS @MatrixParam example (mkyong)
First experiences and getting started with GlassFish 3.1 and NetBeans 7.x – it’s a breeze (Lucas)
Maven's WAR Overlay: What are WAR Overlays? (DZone)
Book Review for "Java EE 6 with GlassFish Application Server" (Rick)
Managing unmanaged beans in CDI (Nicolas)
Using Bean Validation together with ExtVal in JPA and JSF (Edwin)
Java EE 6 using WebLogic 12c and NetBeans (Video) (Arun)
Spark, A micro Web Framework (spark.com)
Multiple File Upload Examples (John Yeary)
Released: NetBeans Platform 7, The Book (Geertjan)
Java 7: Understanding the Phaser (Niklas)
Where's my log file? (Nigel @ Open Messaging)
Sample: Java EE 6 + Wicket + NetBeans + GlassFish + MySQL (Geertjan)
Using Jsp in a Jersey JAX-RS RESTful application (François)
How to change the Glassfish server log level from command line (François)