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

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.

Wednesday Apr 25, 2012

Spring to Java EE 6 Articles

David Heffelfinger's 4-part article series on Spring to Java EE 6 migration published the last part. The part 1, part 2 and part 3 takes a sample Spring application and builds it using java EE 6. It even compares the generated WAR files and LoC in XML configuration in the two environments.

ALT_DESCR

Here are some other blogs/articles that cover the topic:

What are you reasons for migrating from Spring to Java EE 6 ? Let us know.

Thursday Mar 29, 2012

Migrating Spring to Java EE 6 Article Series at OTN - Part 3

The spring season is characterized by migration of birds, whales, butterflies, frogs, and other animals for different reasons. If you use Spring framework and are interested in migrating to a standards-based Java EE platform, for whatever reason, then we have a solution for you.

ALT_DESCR

David Heffelfinger's, a renowned author and an ardent Java EE fan, has published third part of Spring to Java EE migration series at OTN. The article series takes a typical Spring application and shows how to migrate it to Java EE 6 using NetBeans.

This new part builds upon part 1 and part 2 and also compares the generated WAR files and LoC in XML configuration in the two environments. There is an interesting discussion on Why Java EE 6 over Spring ? as well.

Friday Nov 04, 2011

Tab Sweep - Jersey, Hudson, GlassFish Hosting, GC's compared, Spring to JavaEE, Modularity, ...

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

Radio Receiver

Jersey 1.10 released (Jakub)
The Hudson Book (eclipse.org)
Comparing Java 7 Garbage Collectors Under Extreme Load (Nerds Central)
GlassFish Hosting (Enciva)
Spring to Java EE Migration, Part 1 (OTN)
ASM 4.0 released (OW2)
Adopt A JSR! (The Java Source)
Early signs of EJB 3.2 (GlassFish source)
Practical challenges of profiler integration with Java/J2EE applications (TheServerSide)
LOGBack 1.0 (qos.ch)
55 New Things in Java 7 (DonaldOJDK Blog)
Java 8 and OSGi modularization (Neil and Tim)

Saturday Oct 15, 2011

Tab sweep - Mostly Java EE 6

Recent Tips and News on Java EE 6 & GlassFish:

Radio Receiver

What's new in Java EE 6 (Antonio)
Java EE Web Services @ minuteproject (wikispaces.com)
Java EE 6 and the Spring Framework (WebSphere Community Blog)
Best practices migrating from Spring to Java EE 6 (JavaOne Session 24423)
The Heroes of Java: Fabiane Bizinella Nardon (from Markus' Series)
TechCast Live - Mike Lehman Interview (OTN Live)

Saturday Oct 09, 2010

GlassFish Tips and Links #11: CDI, EJB 3.1, Spring, HTML5, Maven, JCP, Forks...

Recent Tips and News on Java EE 6 & GlassFish:

Informational Sign

Tips

TOTD #145: CDI Events - a light-weight producer/consumer in Java EE 6
Enterprise JavaBeans 3.1 with Contexts and Dependency Injection: The Perfect Synergy
Spring to Java EE – A Migration Experience
Problem with Grails on Glassfish v3?
Web Sockets and HTML5 in Glassfish
Book Review: Java EE 6 with GlassFish 3 Application Server

Links and News

• Maven 3 has been released: Sonatype, InfoQ
• GlassFish as Best Practices in Software Development (Johan)
• TSS Thread: Moving from Spring to Java EE 6: The Age of Frameworks is Over
GlassFish jobs at Indeed.com crosses 780 Flower NFA Update (Using GlassFish)
Proposed Maven Artifact Naming and Versioning for JavaEE
• Standards are Good for You: JBoss 6 Moving Towards JavaEE 6 with M5

Conferences

Java2Days 2010; Reports: Arun, Ivan: d1 & d2, Alexis.
Hudson User meetup in Tokyo (Nov 12th)
Silicon Valley Code Camp
• eBIG SIG: JavaEE 6 = Less Code + More Power (Oct 20th)
JavaOne Brazil (Dec 7th thru 9th)

Recent Sites Seen Running on GlassFish

• HPCSense uses GlassFish - twitter
ParaFarmacia, Mas Barata - Netcraft

JCP News and Future of Java

Now OPEN -- Nominations for EC seats
• TSS Thread: The Future of Java: forking, death, or stasis
• More Forking Opinions: Sacha and Greg.
• Java.Net Poll: Free Java? Closed Java? Evolving JCP? What's the Most Likely Path?

Thursday Oct 07, 2010

Encuesta: ¿JavaEE o Spring?

La encuesta actual de JavaHispano es: ¿Qué plataforma empleas principalmente para tus aplicaciones de servidor? con las siguientes opciones: JavaEE sin EJBs, JavaEE, Spring, o ninguna. Si estais interesados en dar vuestra opinión, seguid el link.

El resultado actual es: Spring 77, JavaEE sin EJB 74, JavaEE 72... más o menos, a ojo.

Tuesday Oct 06, 2009

Java Frameworks with GlassFish and NetBeans - GWT, JSF, Grails, Wicket, Struts

I had forgotten how many frameworks are covered in the NetBeans set of quickstart documents; check out the list:

ALT DESCR

Introduction to Developing Web Applications
Introduction to the Spring Framework
Introduction to the JavaServer Faces Framework
Introduction to the Struts Web Framework
Introduction to the Grails Web Framework
Introduction to the Wicket Web Framework

GlassFish v3 is scheduled to go final at the end of November and the builds are stabilizing quickly. Our test suites are very exhaustive but the only way to be sure that the final artifacts work for you is if you try them in your specific configuration. I was looking through the list and it made me think that FishCAT for GF v3 just completed its first week (See Judy's mail and report) and that team filed more than 20 bugs and more than half have already been fixed. so...

If you use one of the Java Frameworks, or your favorite app or framework, with the latest GF v3 builds and find issues, help us, and the rest of the community, by filing a bug. Thanks!

Monday Oct 05, 2009

Spring DM and OpenESB v3 / Project Fuji playing nice

Project Fuji icon

Sujit has published a blog entry showing a nice example of how to easily leverage Spring DM within OpenESB v3 / Project Fuji; both to either expose a service, or to call existing services on the "bus".

The "bus" (a.k.a. normalized message router) adds the option of a message based, loosely coupled and asynchronous contract to an OSGi environment such as Felix or GlassFish v3. The simple API mechanism allows the (interface centric) OSGi services to implement and invoke message based services. Fuji then includes a host of advanced constructs, including the ability to route, transform and augment these messages.

The sample application bundle as well as instructions on installing the Spring DM bundles is available on the Fuji wiki.

Friday Jul 24, 2009

Overview of OSGi Support in GlassFish v3

ALT DESCR

This is a short overview of how GlassFish v3 provides support for OSGi through pointers to the work / posts of Richard, Sahoo, Jerome and many others.

The story starts with an OSGi-core that is used in a system that is organized around the notions of a kernel, services and components. A good overview is Jerome's presentation at JavaOne, TS-4923.

For the basic deployment check Jerome's GFv3 Extensions: Managed OSGi bundles which explains how asadmin deploy --type=osgi myosgibundle.jar will deploy an OSGi bundle: GFv3 installs the bundle in the OSGi framework, starts it and also records the information in domain.xml, so asadmin list-components will show that an OSGi bundle has been deployed. Note you can then Use the Felix Web Console to browse through the OSGi bundles.

There are other ways to activate the same deployment machinery and, in Using filesystem operations to manage OSGi bundles in GlassFish, Sahoo shows how GFv3 leverages Apache Felix's FileInstall to allow autodeploy via the autodeploy-bundles/ directory.

Jerome's next two posts describe an extension in GF v3 that allows applications to use @Resource to refer to OSGi services. In the first one, GF v3 Extensions: Spring, Java EE 6 and OSGi, the service is a Spring Bean that is exposed to the OSGi service registry using Spring DM, while in GF v3 Extensions: OSGi Declarative Services he just uses the standard OSGi Declarative Services, which were made part of the standard GF v3 bundle starting with b55

More posts in a future installment...

Sunday Jun 14, 2009

Business Trends - JBoss, Spring Framework, and eXo

A couple of recent Red Hat announcements are relevant to the competitive landscape around the GlassFish products:

ALT DESCR

Red Hat announced Open Choice, which notably includes support for the Spring Framework. Also see the Press Release, Rich's note, and reactions from The Register and Rod Johnson; and, for historical/wider context, recall Oracle and Spring.

ALT DESCR

The second announcement is the eXo and JBoss Partnernship, which seems quite similar to our partnership with Liferay around Sun GlassFish WebSpace Server. See Rick's post, the PR and comments at CMS Watch.

Additional business context for all these moves include our Partnership with Liferay, the immediate release of Java EE 6 and GlassFish v3, the Oracle announcement, and even the JSR299 and JSR330 exchanges. The next few months will be interesting...