Category Archives: jboss

JUDCon Boston 2014 and History/Future

judcon-boston-2014

JUDCon is JBoss User Developer Conference and an event where JBoss users, developers, and community members meet to talk about anything and everything on JBoss technologies.

JUDCon India concluded earlier this year and JUDCon Boston is coming later this month. However the two events differ in their format. The first one was like a normal conference with a 2 day event, multiple tracks, multiple talks on different JBoss technologies per tracks, each talk being given by a speaker. There were usual hands-on labs, networking, etc.

JUDCon Boston is different, its a one day only event and focuses only on mobile technologies. And instead of talks where the user is mostly in a listen-only mode or sometimes swiping-through-my-phone mode depending upon the talk/speaker/time, it will be a structured hackfest with some micro-presentations to provide the background. Participants will come with their laptops and be able to build a mobile application using JBoss technologies such as AeroGear, Apache Cordova, KeyCloak, and OpenShift.

And the price point is just unimaginable, just $20 for full day of geekgasm!

When ? Jun 28, 2014
Where ? Boston, MA
Register ? Eventbrite

Without giving away too much details, lets hear it from Andrew Rubinger who is driving JUDCon Boston 2014.

If you are interested in a particular topic, jump to the timeline as shown below:

00:20: Introduction
01:29: History of JUDCon
03:09: How DevNation was formed and how are they different
06:18: JUDCon Boston
07:44: Who are the speakers
09:25: Future plans
11:34: How much networking opportunities ?
13:32 Where do you register ?

Also read Mark Little’s blog for more details.

Register for JUDCon Boston here. Lets build an app together :-)

Adding Java EE 7 Batch Addon to JBoss Forge ? – Part 4 (Tech Tip #30)

This is the fourth part (part 1part 2, part 3) of a multi-part video series where Lincoln Baxter (@lincolnthree) and I are interactively building a Forge addon to add Java EE 7 Batch functionality.

Part 1 showed how to get started with creating an addon, add relevant POM dependencies, build and install the addon using Forge shell, add a new command batch-new-jobxml, and add --reader--processor--writer parameters to the newly added command.

Part 2 showed how to identify classes for each CLI parameter that already honor the contract required by the Batch specification.

Part 3 showed how parameters can be made required, created templates for reader, processor, and writer, validated the specified parameters.

This part shows:

  • Fixed the issues from part 3 and generates new JobXML when reader, processor, and writer are specified
  • Added a new test to test the command
  • How Forge can be used in debug mode to debug add ons

Enjoy!

As always, the evolving source code is available at github.com/javaee-samples/forge-addons. The test code debugging will continue in the next episode.

Adding Java EE 7 Batch Addon to JBoss Forge ? – Part 3 (Tech Tip #26)

This is the third part (part 1, part 2) of a multi-part video series where Lincoln Baxter (@lincolnthree) and I are interactively building a Forge addon to add Java EE 7 Batch functionality.

Part 1 showed how to get started with creating an addon, add relevant POM dependencies, build and install the addon using Forge shell, add a new command batch-new-jobxml, and add --reader--processor--writer parameters to the newly added command. Part 2 showed how to identify classes for each CLI parameter that already honor the contract required by the Batch specification. This part shows how:

  • Parameters can be made required
  • Add an attribute to accept jobXML name
  • Check that the reader, processor, and writer are annotated with @Named
  • Create templates for reader, processor, writer, and jobXML
  • Use templating language to replace the name of chosen reader, processor, writer

Enjoy!

As earlier, the evolving source code is available at github.com/javaee-samples/forge-addons. The source code is compiling fine but not serving the intended purpose yet. It will be further debugged in the next episode, coming later this week.

JBoss User Group Worldwide: Learn JBoss Technologies using G+ Hangout

jbug-worldwide-logo

A JBoss User Group (JBUG) is a group of people who share a common interest in JBoss technologies. They are organized and supported by the community and meet on a regular basis to discuss new technologies, development methodologies, interesting use cases, and other technical topics. The common goal is to provide education, help, and social events for the community and to promote open source. There are several JBUGs around the world and you can always start a new one in your local community.

JBUG Worldwide is like any other JBUG but the events will mostly take place virtually, using a Google Hangout. This allows us to reach to a broader set of audience, the presentations are recorded, and available for replay on the youtube channel. To our audience, it provides access to world-class speakers from Red Hat and rest of the JBoss community, which otherwise may not be easily accessible. This effort is initiated by JBUG Newcastle and so sometimes the meeting may coincide with a physical meeting at that JBUG.

You may find stark similarity with vJUG, and that is indeed true! However vJUG will continue to focus on broader Java topics and may feature some widely used JBoss technologies. But JBUG Worldwide will cover a wider range of JBoss technologies, and some of the niche ones as well.

The first session was on LiveOak: Is that a mobile backend as a service in your pocket ? and the recording is available:

Several other sessions are already lined up for this year, and more are in the pipeline:

  • Code-driven introduction to Java EE 7 (Jun 17)
  • What’s new in WildFly 8 ? (Jul 8)
  • Testing the Enterprise layers, with Arquillian (Oct 21)
  • Cast studies in Testable Java EE Development (Nov 18)

We would love hear to your feedback about speaker/topics, streamlining the process, or any thing else. We need you to make this successful!

Ping @Pfrobinson or myself (@arungupta) for any questions/comments.

JBoss/WildFly: Top Java EE Application Server for 5 years in ZeroTurnaround Reports

Zero Turnaround (the company behind JRebel and other Java productivity tools) has released their fifth edition of Java Tools and Technologies Landscape. This report started in 2009 as the speed of Java application server restarts, and has evolved into a lot more comprehensive report over the past 5 years. Oliver White (@theotown) and rest of Rebel Labs have really invested a lot of effort in making it a comprehensive and an inclusive report.

Several Red Hat projects/products are being mentioned in this report ranging from JBoss/WildFly, Hibernate, Ceylon, JBoss Developer Studio/Eclipse, Arquillian, and others.

In all these years, JBoss has consistently stayed at the top amongst all the commercially supported application servers. 2009 report showed JBoss as the most widely used application server:

Another result from Java EE Container Redeploy & Restart Time report in 2010:

And from Java EE Productivity Report 2011:

And Developer Productivity Report from 2012:

And Great Java Application Server Debate in 2013 (amazingly results are same ;):

And now in 2014, once again:

84% of respondents are using Java EE 6 or Java EE 7.

If you need a Java EE 6 commercially supported application server, then get started with JBoss EAP. If you need a Java EE 7 compliant application server that will be commercially supported, get started with WildFly.

Download the complete report here!

JBoss EAP 6.3 Beta Released: WebSockets, Domain recovery, New console homepage, Improved Security

JBoss EAP 6.3 Beta is released!

jboss-eap-logo

This release brings continued progress on the road to making EAP the most manageable and secure Java EE 6-compliant Application Server for traditional and cloud based workloads.

Where to download ?

For current customers with active subscriptions, the Beta can be downloaded from the customer support portal and support tickets can be logged on the Beta.

For community users developing applications that will be deployed on a supported EAP, the Beta can be downloaded from www.jboss.org/products/eap under development terms & conditions, and questions can be posed to the EAP Forum.

Where are docs ?

Complete documentation is available on customer support portal, and here are quick links:

  • Release Notes
  • Administration and Configuration Guide
  • Development Guide
  • Getting Started Guide
  • Installation Guide
  • Migration Guide
  • Security Guide

What’s new ?

  • New console homepage featuring a view restricted according to the user’s role and permissions and allowing easy access to:
    • Common tasks and actions within EAP
    • Useful support information within the Red Hat Customer Portal
    • Developer links to tutorials and forums on jboss.org
  • Use the console and patching wizard to easily apply, rollback and view patches.
  • Domain recovery allows users to:
    • Manage multiple servers from a single point with domain mode
    • Configure slave hosts with multiple options to connect to a master host
    • If the primary master host fails, slave hosts may be promoted to become backup master host
    • Remaining slave hosts will automatically search for and connect to a backup master
  • Support for WebSockets implementation, a protocol allowing for full-duplex bi-directional, real-time communication between the client and server
  • Security Vault Enhancements including custom vault implementation and ability to store system-properties and CLI SSL password
  • Kerberos authentication for Datasources for selected databases
  • Management subsystems for PicketLink IDM and Federation allowing you to create and apply security configurations for application(s) from within the container. This is more efficient and less risky than having to maintain separate xml security configuration files within each application, forcing you to redeploy those applications if any changes were made.

If you are looking for a Java EE 7-compliant Application Server, then download WildFly.

Help shape the future of EAP 7: Feedback on Admin Console

The JBoss Enterprise Application Platform (EAP) Admin Console is a browser-based management tool for the applications and resources deployed on EAP. The latest JBoss EAP (6.2 final and 6.3 alpha as of this release) can be downloaded from www.jboss.org/products/eap. Admin Console is accessible at localhost:9090 after the app server is started.

JBoss EAP 7 will be based on a future version of WildFly. So if you want to see how Admin Console is improving then you can download the latest WildFly (8.0 final and 8.1 CR2) and take a look there. Here is a quick snapshot:

wildfly-8.1cr2-admin-console-snapshot

Would you like to help shape the future of EAP 7 ? If you are interested, and have a few minutes to share your experience, this is your opportunity!

If you are an existing user of JBoss EAP and/or AS/WildFly, we are interested in learning your top 7-10 tasks that are performed regularly using the Admin Console. Based upon the results, we’ll decide on featuring the most common set of tasks using an easily accessible page in Admin Console.

More details on format, logistics, and how to share are explained at community.jboss.org/wiki/AdminConsoleCommonTasks.

Help us help you be more productive!

Adding Java EE 7 Batch Addon to JBoss Forge ? – Part 2 (Tech Tip #24)

This is the second part (part 1) of a multi-part video series where Lincoln Baxter (@lincolnthree) and I are interactively building a Forge addon to adding Java EE 7 Batch functionality.

Part 1 showed how to get started with creating an addon, add relevant POM dependencies, build and install the addon using Forge shell, and add parameters to the addon. This part shows how to add some meaningful semantics to those parameters.

Java EE 7 Batch define item-oriented processing where an item is read, optionally processed, and then written. Items could be read from an input source, CSV file, JMS destination, REST endpoint, database, or any other source. Similarly items can be written to an output stream, database, or some where else. This logic of reading, processing, and writing is captured in beans that are packaged in your WAR file. These beans need to either extend from a specific interface or extend an abstract class. For example item reader needs to either implement ItemReader interface or extends AbstractItemReader abstract class. Similarly item writer needs to either implement ItemWriter interface or extend <code<AbstractItemWriter abstract class. Item processor need to implement ItemProcessor interface.

Part 1 showed how to add --reader, --processor, --writer parameters to the newly added batch-new-jobxml command. This part will show how to identify classes for each CLI parameter that already honor the contract required by the Batch specification.

Enjoy!

As earlier, the evolving source code is available at github.com/javaee-samples/forge-addons.

The timing for the next recording is unknown at this time because of my travel schedule, but sometime next week.

PicketLink: Simplified Security and Identity Management for Java

picketlink_logo_600x

PicketLink is an umbrella project for security and identity management for Java Applications. It provides:

  • Java EE Application Security
    • Authentication API
    • Authorization and Permission API
    • Session Based Identity
    • Fully Integrated With CDI
  • Identity Management
    • Built-in Identity Stores for Databases and LDAP
    • Supports Java EE and Java SE Platform
    • Rich and Extensible API
    • Multi-Tenancy
    • Ideal for Cloud and SaaS applications
  • Federation
    • SAML (v2.0 and v1.1)
    • OAuth2
    • XACML v2
    • OpenID
    • WS-Trust based Security Token Server (STS)
  • Social Login
    • Facebook Connect
    • Twitter Login
    • Google+ Login
  • Mobile Applications Security
  • REST Applications Security

Want to learn all about PicketLink ? Look at deep dive sessions part 1 and part 2.

Peter Skopek (@pskopek) works on the PicketLink team at Red Hat and gave a presentation at London JBUG a few days ago. The slides and the video recording are now available:

Lot more information at picketlink.org.

WebSocket in JBoss EAP 6.3 (Tech Tip #23)

JBoss EAP (Enterprise Application Platform) is the commercially supported version of community supported JBoss AS 7.x. JBoss EAP 7 is scheduled to be released next year and will provide full compliance with Java EE 7. In the meanwhile, JBoss EAP 6.3 is getting ready to be released later this year.

Download JBoss EAP 6.3 Alpha, or this is also linked from the main downloads page.

A quick summary of JBoss EAP 6.3 is:

Features an updated administrative console that includes a new homepage and exposes the new JBoss EAP 6.2 patching features.  Also includes domain discovery and recovery improvements and support for WebSockets.

WebSocket ?

Yes, JBoss EAP 6.3 provides support for WebSocket using JSR 356 API. However this feature needs to be explicitly enabled by adding the following WEB-INF/jboss-web.xml to your .war file:

A wide variety of WebSocket samples are available here. Try these samples on EAP 6.3 Alpha, and we are looking forward to your feedback.

I tried the canonical chat sample and the output from Chrome and Firefox looked like:

tip22-websocket-chat-eap6.3

Bug #1083038 provide more details on this feature.

Which WebSocket sample are you going to try ?

 

Adding Java EE 7 Batch Addon to JBoss Forge – Part 1 (Tech Tip #22)

JBoss Forge is the fastest way to build your Java EE applications, and not even tied to a particular IDE or an Application Server. Tech Tip #17 explained how to build a simple Java EE application rapidly, and deploy it on WildFly. JBoss Developer Studio provide a very neat integration with Forge as well. The instructions from the video are also explained in a text-based script here.

Forge is built with an extensible architecture where third-party addons can be easily installed to enable new functionality that does not exist in the Forge itself. A large variety of addons (nee plugins) are already available such as Arquillian, RichFaces, JRebel, OpenShift, Spring, TomEE, AngularJS, Netty, and a lot more.

Now, you’ve used Forge, found some functionality missing, fortunately somebody already created a addon and so could use that. But now you need some functionality and there is no addon available for that. So you’ll need to create an addon. How do you start ?

Lincoln Baxter (@lincolnthree) and I are starting a multi-part video series where we are going to interactively build a addon for adding Java EE 7 Batch functionality to Forge. The first video is available and shows:

  • Get started with creating a plugin basic structure
  • Add relevant dependencies
  • Build and install the addon
  • Add parameters to the addon

We plan to record the next session next Friday-ish. Let us know if you’d like to join us on G+ hangout and will share the coordinates.

The evolving source code is available at github.com/javaee-samples/forge-addons.

Enjoy!

 

JBoss Events Calendar

Did you know that events where JBoss technologies are presented are listed in a calendar ?

Are you talking at an event about JBoss technology and its not listed here ? Do you know of any event where JBoss technologies are talked about and not listed in this calendar ? Send us a request by filling this form.

Subscribe to this calendar using any of the following links:

calendar-xml calendar-ical calendar-html

Here is a sampling of some of the JBoss projects:

What is your favorite project ? Where do you contribute ? Where project have you presented about ? Which conference ?

Let us know, we’d love to hear from you!

FREE JBoss Workshops in Boston and Washington DC – May 22

Interested in learning about JBoss Middleware technologies in Boston and Washington DC ?

Attend our FREE hands-on workshop to hear how the innovation and technical capabilities of Apache projects can help you reduce the time and complexity of integrating all facets of your business including devices, outlets, and partners, on premise or in the cloud.

Learn all about reliable messaging, A-MQ, JBoss Fuse, service orchestration using hands-on labs. Register here!

jboss-workshop-boston-may22

Attend this FREE hands-on technical workshop to learn how to reduce the time required to update applications, service-oriented architecture (SOA) deployments, and business processes with the latest business rules and policies.

Learn about Business Rules Management System and Complex Event Processing using hands-on lab. Register here!

jboss-workshop-washington-may22

JBoss xPaaS: aPaaS, iPaaS, bpmPaaS, dvPaaS, mPaaS on OpenShift

JBoss xPaaS is a set of services that provide the powerful capabilities of JBoss Middleware as cloud based services on OpenShift.

Generally PaaS refers to aPaaS or Application Platform as a Service or ePaaS or Enterprise Platform as a Service. This means making an application server, such as Red Hat JBoss EAP, available in the cloud. This has the usual advantages:

  • No need to install the application server on your local machine. You need a running insance of JBoss EAP, spin it in the cloud. You need multiple instances, spin all of them in the cloud.
  • No provisioning, procurement, installation, configuring, etc of the app server.
  • No tech support required to maintain your hardware, operating system, application server, etc.
  • Capital expenditure is significantly reduced although operational expenditure may increase slightly but this more than outweighs the benefits that come along with it.
  • Integration with popular IDEs is prevalent.

OpenShift has offered aPaaS for Java EE 6 with Red Hat JBoss EAP/JBoss AS and Java EE 7 with WildFly for 2+ years now.

In addition to JBoss EAP, JBoss provides a rich set of middleware services for building highly complex and sophisticated applications, all working seamlessly together. Some of these are:

  • JBoss Fuse is an open source ESB with capabilities based on Apache Camel, Apache CXF, Apache ActiveMQ, Apache Karaf and Fabric8 in a single integrated distribution.
  • JBoss BPM  is an open-source workflow engine that can execute business processes described in BPMN 2.0. It enables enterprise business and IT users to document, simulate, manage, automate and monitor business processes and policies.
  • JBoss Data Virtualization is complete data provisioning, federation, integration and management solution. It connect access data from multiple, heterogeneous data sources (connect), easily create reusable, business-friendly logical data models and views by combining and transforming data (compose), and make unified data easily consumable through open standard interfaces (consume).
  • AeroGear provides flexible and extensible libraries to simplify mobile development across platforms and cut common repetitive infrastructure tasks.

JBoss xPaaS provides a developer preview of all of these services on OpenShift.

xpaas

Interested in aPaaS using JBoss EAP ? Get started here!
Interested in iPaaS (Integration Platform as a Service) using JBoss Fuse ? Get started here!
Interested in dvPaaS (Data Virtualization Platform as a Service) using JBoss Data Virtualization ? Get started here!
Interested in bpmPaaS (Business Process Management Platform as a Service) using JBoss BPM ? Get started here!
Interested in mPaaS (Mobile Platform as a Service) using JBoss AeroGear ? GET started here!

Complete details at openshift.com/xpaas.

 

FREE JBoss Integration, BRMS, and EAP workshops in Atlanta, Dallas, Montreal

Interested in attending free workshops in Atlanta, Dallas, and Montreal ? Learn the best of JBoss technologies and meet the experts ?

jboss-workshop-integration-atlanta-apr29-2014

Attend this hands-on technical workshop to hear how the innovation and technical capabilities of Apache projects can help your reduce the time and complexity of integrating all facets of your business including devices, outlets, and partners, on premises or in the cloud. Register here (FREE).

jboss-workshop-brms-dallas-apr29-2014

Attend this hands-on technical workshop to learn how to reduce the time required to update applications, service-oriented architecture (SOA) deployments, and business processes with the latest business rules and policies. Register here (FREE).

jboss-workshop-way-montreal-may6-2014

Join technical experts from Red Hat to gain a deeper understanding of Red Hat’s JBoss Enterprise Application Platform (EAP). This one day workshop will provide you with a path to migration from other vendors, various deployment options, advanced clustering techniques, and centralized management of your application environments. Register here (FREE).