Monthly Archives: March 2014

Gavin King: Ceylon at DevNation 2014

Gaving King (+GavingKing), creator of Hibernate and Ceylon will be speaking at DevNation.

gavin-king

Here is what he had to say about his sessions …

What sessions are you giving at DevNation ?

“Eleven Ceylon Idioms”, a talk that aims to quickly introduce some
distinctive features of Ceylon’s type system via examples.

What are three takeaways from your sessions ?

  • How to think about the common statement that languages with static typing are less “expressive”, and what we can do about that.
  • That union and intersection types make static typing much more expressive.
  • How and why Ceylon captures null-ness and emptiness within the statically type system.

What do you find most exciting about DevNation ?

This is the very first time we’re presenting Ceylon to a large conference audience in the United States.

What sessions are you looking forward to attend ?

  • Bringing transactional guarantees to MongoDB – Paul Robinson
  • Building an enterprise app from scratch – Pete Muir
  • Hadoop and beyond: architectural considerations for scalable big data storage – Scott McClellan

Do you want to learn more about Ceylon ?

Register for DevNation today, save $150 by using 150OFF discount code.

Mauricio Leal: CDI Training and Mobile Experience with WebSocket at DevNation 2014

Mauricio Leal (@maltron), Community Manager, Developer Advocate, and Outreach Program Manager at Red Hat will be speaking at DevNation.

mauricio-leal

Here is what he had to say about his sessions …

What sessions are you giving at DevNation ?

I will present one training:
Application Development with CDI, Sunday, 4/13, 9am

and one talk on Wednesday:
Enhancing Mobile Experience with WebSocket, Wednesday, 4/16, 4:50pm

What are three takeaways from your sessions ?

From my training:

  • The basics of CDI
  • Leveraging CDI in Java EE Applications
  • Decoupling and turning your application more maintainable

From my talk: Enhancing Mobile Experience with WebSocket

  • WebSocket 101: What kind of problems it’s good to approach.
  • Understand when to leverage WebSocket for better Mobile Experience
  • When WebSocket is good for (and when it’s not)

What do you find most exciting about DevNation ?

Meet several legendary speakers such as Gavin King and Tim Fox. Be close to the people who is providing the latest technologies, making the lives of Developers much easier and catch up with the newest innovations from Red Hat.

…and let’s not forget: The Beer :)

What sessions are you looking forward to attend ?

  • Integrating the Internet of Things – Sameer Parulkar & Jack Britton
  • Java Puzzlers: Something old, something Gnu, Something bogus, something blew – Josh Bloch and Bob Lee
  • Cooking with Apache Camel: Tips and Tricks – Scott Cranton

Do you want to learn more about CDI, WebSocket, and meet a fun guy from Brazil ?

Register for DevNation today, save $150 by using 150OFF discount code.

Grant Shipley: OpenShift at DevNation 2014

Grant Shipley (@gshipley), Senior Manager and OpenShift PaaS Evangelist at Red Hat will be speaking at DevNation.

grant-shipley

Here is what he had to say about his sessions …

What sessions are you giving at DevNation ?

Sunday – 9:00am – 5:00PM OpenShift Development Training
Tuesday 10:40AM – 11:40AM Cloud bursting with OpenShift Enterprise
Tuesday 3:40PM – 4:40PM Full stack JavaScript — from mobile to cloud
Wednesday 10:40AM – 11:40AM Introduction to OpenShift for Developers

What are three takeaways from your sessions ?

Sunday – 9:00am – 5:00PM OpenShift Development Training

  1. Understanding the fundamentals of the OpenShift Developer workflow
  2. How to create and deploy Java EE applications
  3. How to manage your application lifecycle including continuous integration, databases, log view, and debugging

Tuesday 10:40AM – 11:40AM Cloud bursting with OpenShift Enterprise

  1. Why deploying an application to multiple data centers makes sense
  2. How to setup and configure a multi datacenter OpenShift deployment
  3. How scaling works internally to the platform

Tuesday 3:40PM – 4:40PM Full stack JavaScript — from mobile to cloud

  1. JavaScript is no longer a toy language
  2. Developer native mobile, web UI, REST services, and databases (for JSON documents) using only JavaScript
  3. When it makes sense to use a cross platform development tool for mobile

Wednesday 10:40AM – 11:40AM Introduction to OpenShift for Developers

  1. What is OpenShift and how can it help you as a developer
  2. How to install the client tools
  3. How to deploy application from the command line using git

What do you find most exciting about DevNation ?

The speaker line up is second to none. This is a conference that is focused at developers and includes many in depth sessions on the latest technologies available.

What sessions are you looking forward to attend ?

  • Hacknight Wed, April 16th at 6:00PM
  • 50 new features of Java EE 7 by Arun Gupta on Monday at 10:15
  • High performance application with Vert.X by Time fox, the creator of the project

Do you want to learn more about OpenShift and its ecosystem ?

Register for DevNation today, save $150 by using 150OFF discount code.

WildFly 8 Clustering and Session Failover (Tech Tip #16)

This blog contains a video tutorial on how to setup up HTTP session failover using WildFly 8. Specifically, it shows:

  • Introduction to WildFly and Managed Domain concepts
  • Setup up a 2-instance cluster
  • Deploy a WAR file to the cluster using centralized administration from admin console
  • Access the application on one node and add HTTP session attributes on it
  • Shutdown that instance and show HTTP session failover by accessing the application on other instance

Enjoy!

WildFly 8, JDK 8, NetBeans 8, Java EE 7: Excellent combo for enterprise Java

JDK 8 and NetBeans 8 was released Mar 18, 2014
WildFly 8 was released Feb 11, 2014
Java EE 7 was released Jun 12, 2013

Past 12 months have been really instrumental for Java community with all these very important releases.

java8-logonetbeans8-logo  Wildfly_logo  javaee-logo

Together, JDK 8 + NetBeans 8 + Java EE 7 +WildFly 8 make an excellent combination for building enterprise Java application.

JDK 8, Java EE 7, and WildFly 8 are also supported in Eclipse and IntelliJ as well. So you are not limited to just NetBeans 😉

I tried Java EE 7 hands-on lab with this combination and every thing worked seamlessly. Now I just need a pull request (issue #12) where the source code is using java.util.stream and Lambdas. Who is going to do it ? 😉

There are tons of new features in JDK 8, the main ones are:

  • Lambda Expressions allows you to express instances of single-method classes more compactly. In other words, it allows you to treat functionality as method, or code as data. Read more details in Venkat‘s excellent book on Functional Programming with Java or standard Java tutorial.
  • Default methods enable you to add new functionality to an interface. This ensures binary compatibility with code written for older versions of those interfaces. This is different from abstract methods as they do not have a method implementation. Read more details here.
  • Repeating annotations allows an annotation to be repeated over a declaration or type use. This is useful if the same annotation needs to be applied multiple times to a class or a method. Read more details here.
  • Method parameter names are now available using Reflection API (Parameter.getName()).
  • Functional-style programming using the newly added Stream API in  java.util.stream package.
  • New tools: jjs to invoke Nashorn engine and jdeps for class dependency analyzer
  • New Nashorn JavaScript engine
  • New Date-Time API (JSR 310)
  • Replacement of permgen with Metaspace (JEP 122) – -XX:PermSize and -XX:MaxPermSize are replaced by -XX:MetaSpaceSize and -XX:MaxMetaspaceSize in java
  • Compact profiles

And there are a lot more!

WildFly 8 is Java EE 7 compliant, and in addition also provide tons of features:

  • High performance web server (Undertow)
  • Role Based Access Control (RBAC)
  • Port reduction
  • “Core” distribution

Read the complete list here.

Remember that Java EE 7 mandates JDK 7 only, and so even though you can leverage all the runtime improvements made in the Java SE 8 platform but in order to have your application run on a Java EE 7 compliant application server, you may be restricted to JDK 7 only. For example, GlassFish 4 is not even tested on JDK 8. WildFly 8 has been running its test suite on JDK 8 regularly. We may even leverage some of the JDK 8 features in the near future.

No matter what, JDK 8 + WildFly 8 + NetBeans 8 + Java EE 7 together make a very compelling toolset for your enterprise Java. If your applications don’t work, then file a bug on WildFly JIRA.

Lincoln Baxter: JBoss Forge at DevNation 2014

Lincoln Baxter (@lincolnthree), Principal Software Engineer at Red Hat will be speaking at DevNation.

lincoln-baxter

Here is what he had to say about his session …

What sessions are you giving at DevNation ?

Tools worth sharing: Take back your IDE with Forge
Tuesday, 4/15, 4:50pm

What are three takeaways from your session ?

  1. How Forge can help you be more productive.
  2. How Forge can help you share your technology and ideas.
  3. How Forge is changing how we interact with development tools.

What do you find most exciting about DevNation ?

The fact that so many different communities and technologies will be coming together to present in one place. This is the best time to share ideas, cross-pollinate, and prototype cool new features! I love the collaborative atmosphere and chance to get to meet new people, see what people think about the work we are doing, and figure out how to make their lives a little easier.

What sessions are you looking forward to attend ?

  • Beer & BoF – Tools for JBoss migrations – Robb Greathouse (Room 220)
  • Hacknight (Room 224)
  • Wake me up: The tale of a startup – Langdon White (Room 208)

Do you want to learn more about how to get started with JBoss Forge ?

Register for DevNation today!

Keeny Peeples: Red Hat JBoss Fuse and OpenShift at DevNation 2014

Kenny Peeples (@ossmentor), Architect, Developer, and Project Manager at Red Hat will be speaking at DevNation.

kenny-peeples

Here is what he had to say about his session …

What sessions are you giving at DevNation ?

Wed 4/16 1:20 p.m.-2:20 p.m.
Using Red Hat JBoss Fuse on OpenShift (Room 208)

OpenShift Online automates the provisioning, management, and scaling of applications so that you can focus on development and creativity. The newly created Red Hat JBoss Fuse 6.1 cartridge allows you to use Fuse and Fuse Fabric in the OpenShift Online public cloud. JBoss Fuse provides a full-featured, easy-to-use and intuitive framework for integration with extensive connectivity options to external applications. Join us to see how to use Fuse and Fuse Fabric in OpenShift online. In this session, you’ll learn:

  • How to install the Fuse cartridge.
  • How to access and use the Fuse Management Console.
  • How to deploy and test a Fuse bundle.

What are three takeaways from your session ?

  1. The Ease of Use with OpenShift and the Fuse Cartridge
  2. The Flexibility and Features of the Fuse Management Console
  3. The Knowledge to get started with your first Application right when you get home

What do you find most exciting about DevNation ?

  • The breadth and detail of the sessions since we have CamelOne, JUDCon, Red Hat Connect Developer Exchange Events at DevNation.
  • The Co-location of Red Hat Summit with DevNation during the same week gives a great opportunity to learn about the community and the products

What sessions are you looking forward to attend ?

  • Integration PaaS: Continuous Integration with Fabric8 and OpenShift – Rob Davies & James Strachan
  • Writing basic OpenShift cartridges – Paul Morie (Room 212)
  • Big data processing with Hadoop on OpenStack – Matthew Farrellee (Room 212))

Do you want to learn more about how to get started with Red Hat JBoss Fuse on OpenShift ?

Register for DevNation today!

Aslak Knutsen: Enterprise Testing at DevNation 2014

Aslak Knutsen (@aslakknutsen), a Senior Software Engineer and Arquillian Project Lead at Red Hat will be speaking at DevNation.

aslak-knutsen

Here is what he had to say about his session …

What sessions are you giving at DevNation ?

The ABCs of testing the enterprise layers (Room 212)
Wednesday 4/16 @ 4:50pm

What are three takeaways from your session ?

  1. Everything that can fail will, so test.
  2. The scope of ‘too hard to test’ has been drastically reduced.
  3. Meet the aliens. :)

What do you find most exciting about DevNation ?

Nice mix of DevOps, Cloud and Development.

What sessions are you looking forward to attend ?

  • Writing basic OpenShift cartridges
  • Containers all the way down: Q&A with the Docker team
  • HackNight

Do you want to learn more about transactional guarantees in MongoDB ?

Register for DevNation today! Early bird ends tomorrow.

Anton Arhipov: JRebel Story at DevNation 2014d

Anton Arhipov (@antonarhipov), JRebel product manager at Zero Turnaround will be speaking at DevNation.

anton-arhipov

Here is what he had to say about his session …

What sessions are you giving at DevNation ?

1000 years of productivity: The JRebel story (Room 224)
Wednesday 4/16 @ 1:20 p.m.

Developer productivity has always been in focus, and Java, as a platform, has made us very productive to support the needs of businesses. Millions of enterprises run web applications powered by the Java EE platform, but developing them is no small feat. Every UI change in development incurs a wait time of up to 15 minutes and sometimes even longer! JRebel is a tool that tackles the challenge of live application update for the Java EE platform.

What are key takeaways from your session ?

  1. First and foremost, you will learn about the tool itself – how can you apply JRebel for simplifying development process.
  2. Learn a bit more about Java platform than you usually would – what are the technical and conceptual challenges for the problem that JRebel is trying to solve.
  3. Get a though provoking view on the Java ecosystem and how Java tooling works.

What do you find most exciting about DevNation ?

I see it as an opportunity to learn more about the new tools and techniques for Java developers. Looking at the talks, I can certainly tell that I could learn a trick or two at this conference :)

What sessions are you looking forward to attend ?

These days I’m quite interested in data analytics, therefore I’m looking forward to attend the “Fast and easy data analytics with Apache Spark” by Pat McDonough but also the talk on “How Elasticsearch, Logstash and Kibana provide real-time” data enlightenment.

I’m also curious about the prospects of OpenShift and PaaS in general, thus I’ll to sneak into OpenShift roadmap session presented by Matt Hicks and Ashesh Badani.

Of course, no conference should miss a talk on performance issues! There will be the talk called “Receipts to analyze common performance issues” by Will Cohen. It doesn’t seem to be quite Java centric, so I’m really curious what will it be about.

Do you want to learn more about how to tackle the challenges of live application update for the Java EE platform ?

Register for DevNation today!

Stan Lewis: hawtio at DevNation 2014

Stan Lewis (@gashcrumb), Principal Software Engineer at Red Hat will be speaking at DevNation.

stan-lewis

Here is what he had to say about his session …

What sessions are you giving at DevNation ?

I’m giving two sessions, on Monday in the Fuse track it’ll be “Inspecting JVMs with hawtio” even though it’s currently showing up in the schedule as “Extending hawtio”, that’s just some placeholder text. And then on Wednesday I’m doing “hawtio: the extensible console for managing your Java stuff”. I’ve basically been thinking the Monday session is kind of an intro to hawtio and the Wednesday session would be a deeper dive.

What are key takeaways from your session ?

  1. “Inspecting JVMs with hawtio” is meant to be an intro to the hawtio project and how it relates to the Fuse Management Console. We’ll go over how hawtio can be used to inspect a JVM and how to connect to different JVMs. We’ll also take a look at managing an instance of fabric8.
  2. “hawtio: the extensible console for managing your Java stuff” is a deeper dive into how hawtio works. We’ll do a brief overview of hawtio and what’s available out of the box. Then we’ll take a look at various ways that hawtio can be extended, either by overriding some extension javascript files we ship in our war file or developing a standalone hawtio plugin.
  3. For both sessions we’ll basically be taking a tour of the hawtio UI, I’m not planning to write any slides, most likely I’ll just use hawtio to host any slide-y stuff

What do you find most exciting about DevNation ?

It looks huge! Actually pretty overwhelming as compared to our previous Camel One events :)

What sessions are you looking forward to attend ?

  • Getting Social with Apache Camel – Charles Moullard (Room 236) – to check out what I believe are some fairly new social components for Camel, hopefully I can make it, it’s right after my session
  • Integrating the Internet of Things – Sameer Parulkar & Jack Britton (Room 208)

Do you want to learn more about how to use hawtio to manage your server and stay cool ?

Register for DevNation today!

Ioannis Canellos: Fabric8 at DevNation 2014

Ioannis Canellos (@iocanel), Principal Software Engineer at Red Hat will be speaking at DevNation.

ioannis-canellos

Here is what he had to say about his session …

What sessions are you giving at DevNation ?

  • Introduction to Fabric8, Sunday, 4/13, 2pm, Room 224
  • A Deep Dive to Fabric8, Sunday, 4/13, 3pm, Room 224

What are key takeaways from your session ?

  1. The first talk is going to be an introduction to Fabric8, that will help people to understand what this is all about.
  2. The second talk is going to be a dive into the more technical stuff, that will help people to understand how to get the most out of Fabric8.

What do you find most exciting about DevNation ?

People. I always find it awesome to talk with people from the “community” and also with people from other “communities” that are close to Fabric8.

Do you want to learn more about Fabric8 and how it makes to easily provision, configure and manage open source integration technologies on a number of containers (or JVMs). ?

Register for DevNation today!

Java EE 7 and WildFly in France, Germany, and Switzerland

Andrew Rubinger (@ALRubinger) and I are starting this Spring with a tour of France, Germany, and Switzerland.

Paris JUG: 3/19
Marseille JUG: 3/20
Riviera JUG: 3/21
AeroGear hackathon: 3/22
JavaLand: 3/25 & 3/26
Zurich JUG: 3/27

There will be lots of discussions on Java EE 7, WildFly, Arquillian, AeroGear, Cordova, JBoss Tools, Open Source, Red Hat or anything else that comes to your fancy. Personally, I’m always interested in sharing fitness workout routines and talking about how we can inspire kids/teenagers through Devoxx4Kids.

I’m always up for running in any of these cities. JavaLand already has a community run scheduled for Mar 26th. Lets see which city has the runners to take me out city seeing 😉

Where will we see you ?

Paul Robinson: Transactional Guarantees to MongoDB at DevNation 2014

Paul Robinson (@pfrobinson), Senior Software Engineer at Red Hat will be speaking at DevNation.

paul-robinson

Here is what he had to say about his session …

What sessions are you giving at DevNation ?

Bringing Transactional Guarantees to MongoDB (Room 224)
Tuesday 4/15 @ 10:40am

What are three takeaways from your session ?

  1. If ACID transactions are not appropriate, you don’t need to throw out transactions altogether.
  2. Compensating-transactions can bring additional transactional guarantees to MongoDB, without harming scalability.
  3. WildFly 8 comes with a developer-friendly, annotation based API for using compensating-transactions that you can use today.

What do you find most exciting about DevNation ?

The people.

In previous years, JUDCon has always been the highlight of my professional calendar, giving me the opportunity to mix with many of the key people in the JBoss community. Looking at the speaker lineup for DevNation suggests that this conference will be no different.

TIP: I recommend making a list of all the people you want to meet and what you want to chat with them about. This has helped me to make sure I made the most of the opportunity and didn’t miss anyone in the excitement of the event.

Do you want to learn more about transactional guarantees in MongoDB ?

Register for DevNation today! Early bird ends tomorrow.

Migrate from GlassFish to JBoss/WildFly or TomEE: RebelLabs

Oracle’s announcement of discontinuing commercial support for GlassFish has left open source developers at a crossroad where they need to make a choice.

glassfish-dish

They can continue using GlassFish Open Source Edition with no commercial support from Oracle. If customers do want production support then they need to rely upon third-party support, for example LodgOn or C2B2 Consulting.

Other option is to chose another open source alternative such as JBoss EAP (commercially supported by Red Hat) or TomEE (commercially supported by Tomitribe).

Earlier Hildeberto Mendonça (@htmfilho) and Efraim Gentil (@efraimgentil) from CEJUG published a great article explaining how to migrate your applications from GlassFish to WildFly. This article explained in detail on how to migrate JDBC resources, JMS resources, and Security Realm.

And now Rebel Labs (@RebelLabs) has published a stellar report – Abandon fish! Migrating from GlassFish to JBoss or TomEE. This 31-page report is very rational and balanced and provide details on migrating applications from GlassFish to JBoss EAP, WildFly, or TomEE.

The report says that there are other open source alternatives as well such as Jetty, Resin, Geronimo, JOnAS, and more. But JBoss/WildFly and TomEE were chosen because of the following reasons:

  • The vibrant developer community around these tools, namely JBoss and Tomcat
  • The amount of documentation available on the web
  • The sponsorship and support by market leaders

WebLogic and WebSphere are not considered as suitable alternatives when migrating from GlassFish because the report says “the most logical decision when migrating from GlassFish is opting for an equivalent open source alternative”.

The report provides a more holistic view with application migration, IDEs, CI servers, testing using Arquillian, and other aspects.

Here are couple of more quotes from the report:

WildFly and JBoss EAP have a well-established history of providing commercial support on top of excellent products

Red Hat is the poster-child in enterprise open source solutions

What’s the need for closed source and heavyweight application servers in the world of JBoss and TomEE ?

Download:

  • JBoss EAP (commercial supported by Red Hat for Java EE 6)
  • WildFly (community build for Java EE 7)
  • TomEE (commercially supported by Tomitribe for Java EE 6)

Additionally, you can also look at Windup (scan and report on your Java EE applications and report potential “trouble spots” for migration), WindRide (migrate applications from older version of JBoss to newer versions),  and Tubame (Eclipse plugins that help in migration).

Markus Eisele: JavaScript and Java EE together at DevNation 2014

Markus Eisele (@myfear, blog.eisele.net), Principal Technology Consultant at MSG-Systems AG will be speaking at DevNation.

markus-eisele

Here is what he had to say about his session …

What session are you giving at DevNation ?

JavaScript on Java EE (Room 212)
Tuesday 4/15 @ 4:50pm

What are three takeaways from your session ?

  1.  JavaScript is a valid option to integrate with traditional Java EE applications
  2. There are many different ways of taking advantage from different approaches. Not every single one is the right one.
  3. It is still very early to judge on full stack JavaScript development for enterprise level applications

What do you find most exciting about DevNation ?

I’ve been to Boston for RedHat’s JUDCon in 2012 and got my JBCRA for my contributions to the Arquillian project. And I was always wondering about the more or less one day event, and the extremely high quality sessions that were held without much recognition in the overall developer scene. Everything was kind of overlayed by RedHat Summit.
DevNation hopefully delivers when it comes to a complete developer conference. The lineup is incredibly exciting and I am very happy to be among the early announced speakers. I am so much looking forward being back in SF and Moscone. This is the
place where I want a conference in my space to be :)

Do you want to learn about Nashorn, Avatar, Scripting JSR and other possible options of also using JavaScript on the back-end and outlining a possible direction for Enterprise Java in general ?

Register for DevNation today! Early bird ends on Mar 14.