Java

Video Thumbnail
Video

DevNation 2015 - Sander Mak - Typescript: Coding javascript without the pain

Red Hat Developer Program

Is your JavaScript growing out of control? Would you like to add some class to your client-side development? With TypeScript you can. TypeScript is an optionally typed superset of JavaScript. It adds classes, interfaces, and other object-oriented constructs familiar to Java developers. And it all compiles down to regular JavaScript for consumption by any JS runtime. In this session, we’ll introduce TypeScript from the perspective of Java developers who also write JavaScript on the client-side. We’ll use examples and live coding to show you the power of this upcoming language. You’ll see that it's more modular, less error-prone, and more fun to code in TypeScript.

Video Thumbnail
Video

DevNation 2015 - Tyler Jewell - Contribute to any open source project with Eclipse Che & Codenvy

Red Hat Developer Program

The biggest inhibitor to open source contributions is developer environment configuration. Developers want prepackaged environments ready to code, with nothing to install. Some estimates indicate that nearly 100 billion gigabyte hours are lost due to configuration problems each year. What if any project could be built or debugged without installing software? We'll explore the emerging market around cloud development and how developer work spaces can be provisioned, shared, and scaled. In this session, you will: Learn about Eclipse Che and Eclipse Cloud Development, a technology stack for eliminating configuration from the lives of development teams. Hear about an opinionated git and gerrit flow that enables tested pull-and-change requests to be submitted without the overhead of project configuration. See a demo of how popular open source projects like Spring, Apache TomEE, Orbeon, and WSO2 have written their own provisioning capabilities. We'll also demo an integration with WildFly that shows you how to quickly make a contribution without installing any software.

Video Thumbnail
Video

Transaction Monitoring and Visualisation

Red Hat Developer Program

ACID Transactions are routinely used when applications require strong guarantees as to how atomic operations, involving multiple resources, will perform in the presence of failures, such as system crashes and network disruption. Transactional middleware such as JBoss, combined with application frameworks like Java EE provide the developer with a simple means to add transactional semantics to their applications. Problems can still arise, however, for example poor transactional throughput may manifest when a high volume of transactions rollback, which can have a myriad of non obvious causes. This talk will explore the current methods of troubleshooting some common transactional issues using JBoss and introduce TxVis: a prototype transaction profiling and visualisation tool. We will discuss the challenges of its development and how it will aid the user in profiling the performance of transactions in their software and quickly isolate some commonly occurring problems.

Video Thumbnail
Video

ThreadSafe

Red Hat Developer Program

ThreadSafe is a static analysis product for finding concurrency bugs in multi-threaded Java programs. Such bugs can be difficult to find using conventional testing methods. They may occur randomly due to non-deterministic scheduling behaviour, and can be hard to replicate. ThreadSafe analyses can be from within the Eclipse IDE, and/or in conjunction with the Sonar quality dashboard. ThreadSafe is developed by Contemplate, a spin-out company from the University of Edinburgh. Following its commercial release, it has been installed by an investment bank that participated in Contemplate's Early Adopter Program, and is under evaluation in others. The design intent is not only to identify the subtle issues which can arise in multi-threaded software development, but also to provide an easy to use user experience which allows the developer to quickly understand the analysis and to take remedial action, where required, with confidence and understanding. Contemplate will talk about its focus on concurrency, and demonstrate ThreadSafe's analysis of some Open Source examples.

Video Thumbnail
Video

Code-driven introduction to Java EE 7

Red Hat Developer Program

We are lucky to have Arun Gupta presenting on the new features in Java EE 7. Arun is well known in the Java EE community and was heavily involved with the Java EE 7 specification when he worked at Oracle. Arun now works for Red Hat as Director of Developer Advocacy. Abstract Java EE 7 platform is the latest release of the Java EE platform. WebSocket attempts to solve the issues and limitations of HTTP for real-time communication. A new API is added to the platform build WebSocket driven applications. Processing JSON structures is inherent in any HTML5 applications and a new API to parse and generate JSON is being added to the platform. Longawaited Batch Processing API and Concurrency are now added to build applications using capabilities of the platform itself. In addition, JAX-RS 2 adds a new Client API to invoke the RESTful endpoints, allows asynchronous client/server, and server-sidecontent negotiation. JMS 2 is undergoing a complete overhaul to align with improvements in the Java language. This code-driven talk will provide an introduction to the Java EE 7 platform. Don't miss out on this session to learn all about how to leverage the new and exciting standards in building your next enterprise application.

Video Thumbnail
Video

JUDCon:Boston 2014

Red Hat Developer Program

WATCHING LIVE? Join the chat here: https://webchat.freenode.net/?channels=jbugworldwide For this meetup we are broadcasting live from JUDCon Boston 2014 on Saturday, June 28th. The broadcast will start shortly after 9am EDT (13:00 UTC). http://jboss.org/events/JUDCon/2014/boston The event comprises of a morning of presentations followed by an afternoon of hacking. This time, we'll only be broadcasting the morning sessions. Maybe in future we'll think of a way to do the hackfest too! Here is the agenda: 13:15 UTC - 13:55 UTC Quickstart Introduction: Mobile with AeroGear 14:00 UTC - 14:40 UTC Quickstart Introduction: Security 14:45 UTC - 15:25 UTC Project Introduction: OpenShift  15:30 UTC - 17:15 UTC Project Introduction: KeyCloak Technologies we'll be covering include: * Aerogear Unified Push Server * Keycloak - Security * Apache Cordova For more details: http://jboss.org/events/JUDCon/2014/boston

Video Thumbnail
Video

What's new in WildFly 8?

Red Hat Developer Program

For this session we have the WildFly project lead, Jason Greene.  WildFly 8 (née JBoss Application Server) is Red Hat's open source Java EE 7 compliant application server. It contains robust implementations of WebSocket, Batch, JSON, Concurrency, JMS2, JAX-RS 2, CDI 1.1, and all Java EE 7 technologies. Undertow is the new cutting-edge web server in WildFly 8 and is designed for maximum throughput and scalability, including environments with over a million connections. The number of ports is reduced used by multiplexing protocols over HTTP using HTTP Upgrade.   Role Based Access Control support organizations with separated management responsibilities and restrictions. Roles represent different sets of permissions such as runtime operation execution, configuration areas that can read or written, and the ability to audit changes and manage users. In addition a new restricted audit log can be enabled including the ability to offload to a secure syslog server.   WildFly also provides a "core" distribution that is ideal for framework authors that want to build their own application runtime using the powerful WildFly 8 architecture.   NetBeans, IntelliJ, and Eclipse allow WildFly to be used for development, deployment, and debugging. This session will provide an overview of all these features using several live demos.   Format: 30 mins overview of WildFly 8 + 30 mins deep dive on some specific topic(s)

Video Thumbnail
Video

Boston Java Meetup - Rapid Enterprise Development w/ EAP, JRebel, and XRebel

Red Hat Developer Program

Part II of the Boston Java Meetup on 12 August 2014, in which Andrew Lee Rubinger introduces the GeekSeek example application from the http://continuousdev.org book, and further inspects it with XRebel at runtime. Adam Koblentz follows with a deeper tour of using XRebel and JRebel atop the Spring Pet Store Demo application to show how realtime inspection and profiling coupled with hot-reloading of code without deployment saves time and effort.

Video Thumbnail
Video

Docker and JBoss - the perfect combination

Red Hat Developer Program

For this session we have Marek Goldmann who leads Docker related initiatives at Red Hat.  Abstract Docker is a tool for building portable Linux containers around an application. If you are unfamiliar with Docker, or have heard of it but never used it, then you should definitely come to this session because containers are the new virtualization. Docker is a revolution in thinking about software distribution. It makes the process of creating images with the whole application stack (OS + application server + application itself) easy and extremely fast. You can share them easily too, and images behave the same way on different machines. Differences between development and production environments are a thing of the past. But that's not everything - Docker helps you run images too by providing an easy to use interface. Sounds like magic, huh? In this session, right after introduction to Docker, Marek will dive into examples showing how you can leverage this tool to create a deployment environment for your applications. You will see how to cluster JBoss EAP and deploy an application to it. Marek will share some tips and tricks too: for example how to manage logs or customize the configuration of JBoss EAP to be able to deploy your applications. About Marek Marek joined Red Hat in January 2009 and started hacking on Cloud-related JBoss projects. Currently Marek leads the WildFly integration effort with the Fedora operating system, and makes sure that JBoss' projects run well on Docker.

Video Thumbnail
Video

Testing the Enterprise layers, with Arquillian

Red Hat Developer Program

Arquillian is an innovative and highly extensible testing platform for the JVM that enables developers to easily create automated integration, functional and acceptance tests for Java middleware, from Java EE and beyond. For years we've been exploring how to layer and separate our code to test in isolation on the unit level. We've kept integration and functional testing as a big ball of mud; jumping straight from unit to full system testing. But can we apply some of the same lessons learned from unit to integration testing? Speaker Bio:  Arquillian project lead, Aslak Knutsen, is a Senior Software Engineer at Red Hat where he is working on projects such as Arquillian and ShrinkWrap, one of the founders of the JBoss Testing initiative and a speaker at major industry conferences including JavaOne, Devoxx, Jazoon, JFokus, Geecon, JUDCon and JBoss World.

Video Thumbnail
Video

Case Studies in Testable Java EE Development

Red Hat Developer Program

For this session we have Andrew Rubinger presenting examples from his O’Reilly book, "Continuous Enterprise Development in Java". Andrew has strong roots in testing and enterprise middleware, having implement the JBoss' EJB container and also co-founding the Arquillian project. Abstract This session pulls a variety of examples in testable development from O’Reilly's Continuous Enterprise Development in Java, including a review of the sections on: • RESTful services • UI verification • Transactions • Security ...and covers other areas of the Java EE platform that have historically been branded as “difficult to test.” The session spends a lot of time in the IDE, with examples that are freely available to fork and run. Presenter: Andrew Lee Rubinger (Open Source Software Engineer and Author) Open-source engineer; Developer Advocate and Program Manager at JBoss by Red Hat, author of the upcoming "Continuous Enterprise Development in Java" from O'Reilly Media. Founder of the ShrinkWrap project and recovering member of the JBoss Core Development Team.

Video Thumbnail
Video

CDI (Part 2): The Advanced Features

Red Hat Developer Program

This presentation introduces the advanced features of CDI (Contexts and Dependency Injection). It was presented by Antoine Sabot-Durand, the co-spec lead for CDI. In less than five years of existence, Contexts and Dependency Injection (CDI) has become one of the major specifications in Java EE. However, its advanced features are still not well known among the majority of the developers, who see it as a simple Dependency Injection solution. In this session, we’ll deep dive into advanced features like the CDI SPI and portable extensions. Then we'll view some examples of how CDI can be used to extend, in a portable way, the Java EE stack.

Video Thumbnail
Video

Apache DeltaSpike: The CDI toolbox

Red Hat Developer Program

CDI portable extensions are one of greatest features of Java EE allowing the platform to be extended in a clean and portable way. But allowing extension is just part of the story. CDI opens the door to a whole new eco-system for Java EE, but it’s not the role of the specification to create these extensions.  Apache DeltaSpike is the project that leads this brand new eco-system by providing useful extension modules for CDI applications as well as tools to ease the creation of new ones. In this session, we’ll start by presenting the DeltaSpike toolbox and show how it helps you to develop for CDI. Then we’ll describe the major extensions included in Deltaspike, including  'configuration', 'scheduling' and 'data'. Speaker Antoine Sabot-Durand is the CDI co-spec lead. He is also the tech lead of the Agorava project.

Video Thumbnail
Video

Ceylon From Here to Infinity: The Big Picture and What's Coming

Red Hat Developer Program

Ceylon is a new modern, elegant programming language for the JVM and JavaScript VM, designed for team work. But it's more than that, it is a full platform with modularity, an SDK, tools and IDEs. We will present Ceylon the language, the platform, and its ecosystem. You will see everything from starting a new project in the IDE to publishing it on Herd, our module repository, including using the SDK. We will also discuss the ongoing Ceylon projects such as the build system, Vert.x integration or Cayla, the new web framework. Finally we will discuss the plans for Ceylon 1.2 and further.

Video Thumbnail
Video

Hit the ground running with BPM — a starters kit

Red Hat Developer Program

Looking to design business processes but not sure how to get started? If this is the first you’ve heard of Red Hat JBoss BPM Suite, or you’re anxious to get started with your freshly downloaded JBoss BPM Suite, this webinar’s for you. Have no fear, the JBoss BPM Suite starter kit will: • Provide you with the details, help, and path to rules, events, and process freedom. • Show you a quick and easy entry into the world of process design. • Walk you through the contents, and what you can achieve, with the JBoss BPM Suite. • Start you off with an easy installation. • Use a pre-installed project and workshop to take you step-by-step through constructing the project from scratch. Join us for a grand tour of the JBoss BPM Suite starter kit, and learn how you can hit the ground running as the BPM expert you always wanted to be.

Video Thumbnail
Video

Implementing your own Google App Engine

Red Hat Developer Program

Google App Engine (GAE) is a popular PaaS offering. Where its scalable and reliable environment is hidden behind a custom API. This makes GAE apps hard to port over to other non-GAE environments. But what if one could implement such similar environment? And you could simply move your GAE application’s .war file to this new environment and it would just work? After all, at the end it’s all about the API, plus scalable and reliable services. JBoss CapeDwarf project aims at making this a reality. This presentation will provide a glimpse into what it takes to implement something as GAE, ranging from runtime integration with JBoss Application Server, actual services implementation to last but not least, automated heavy testing.

Video Thumbnail
Video

Building Cross Platform Applications with Cordova and AeroGear

Red Hat Developer Program

Mobile devices are increasingly important as a platform. The number of different devices on the market increases every day. This posses a challenge, how do we support all of them. Every new device comes with it's own paradigms and programming language. Wouldn't it be great if we could create one application that could support all platforms. With Cordova and AeroGear you can. Cordova is a platform that allows you to access native device functions from JavaScript enabling you to create mobile applications with just CSS, HTML and JavaScript, for all platforms. You can use your existing skill sets to create native applications. In this talk we'll show how you can create an application with Cordova and even how to create your own plugins. What features the AeroGear Plugins have and how you can use these to build mobile applications rapidly. How to create test and run these on simulators and integrate them into your own build environment.

Video Thumbnail
Video

What's New in WildFly 9

Red Hat Developer Program

This session covers new improvements that will be introduced in WildFly 9: * Wildfly-core will be extracted from the codebase and the ability to assemble a server on top of it will be introduced. WildFly 9 will be provided in two versions: Wildfly Web and Wildfly Full but users will be able to create their custom packaging of WildFly. * Users will be able to shutdown the application server in a graceful manner - after the shutdown command is executed server will reject new requests and allow existing requests to finish before it shuts down. * Support for HTTP/2, a new version of HTTP protocol based on SPDY, will be introduced. * Users will be able to use WildFly as a load balancer. Consequently, it will be possible to manage the balancer with the same tools that are used to manage the rest of the domain. What is more, users will be able to use more efficient protocols, such as HTTP/2, for communication between the balancer and backend servers. An OpenShift cartdridge, which will enable users to use WildFly 9 in cloud environment, will be provided. WildFly 9 will use OpenJDK ORB library instead of JacORB.

Video Thumbnail
Video

Apache Lucene for Java EE developers

Red Hat Developer Program

Apache Lucene is the de-facto standard open source library for Java developers to implement full-text-search capabilities. While it’s thriving in its field, it is rarely mentioned in the scope of Java EE development. In this talk we will see for which features many developers love Lucene, make some concrete examples of common problems it elegantly solves, and see some best practices about using it in a Java EE stack. Finally we'll see how some popular OSS projects such as Hibernate ORM (JPA provider), WildFly (Java EE runtime) and Infinispan (in-memory datagrid, JCache implementor) actually provide great Lucene integration capabilities.

Video Thumbnail
Video

Messaging for IoT

Red Hat Developer Program

== Abstract == Scale changes everything. What once was quite adequate for enterprise messaging can't scale to support "Internet of Things". We need new protocols, patterns and architectures to support this new world. This session will start with basic introduction to the concept of Internet of Things. Next it will discuss general technical challenges involved with the concept and explain why it is becoming mainstream now. Now we're ready to start talking about solutions. We will introduce some messaging patterns (like telemetry and command/control) and protocols (such as MQTT and AMQP) used in these scenarios. Finally we will see how Apache ActiveMQ is gearing up for this race. We will show tips for horizontal and vertical scaling of the broker, related projects that can help with deployments and what the future development road map looks like. == Speaker == Martyn Taylor is a senior software engineer at Red Hat, with over 7 years' experience working on cloud, middleware and messaging software. Martyn currently works on the Apache ActiveMQ suite of projects.

Video Thumbnail
Video

Java EE Microservices with WildFly Swarm

Red Hat Developer Program

For this session we have Bob McWhirter talking about WildFly Swarm, which is a project he founded to bring microservices to the Java EE world. == Abstract == WildFly Swarm makes it possible to wade into the great ocean of microservices without abandoning your JavaEE knowledge and experience. In this talk, we’ll introduce you to what makes WildFly Swarm similar to and distinct from proper WildFly. We will explore how WildFly Swarm can enable a microservices architecture. We’ll also demonstrate how to weave together multiple services to have a non-trivial application composed of multiple, independently-deployable services.

Easily secure your Spring Boot applications with Keycloak
Article

Easily secure your Spring Boot applications with Keycloak

Sebastien Blanc

What is Keycloak? Although security is a crucial aspect of any application, its implementation can be difficult. Worse, it is often neglected, poorly implemented and intrusive in the code. But lately, security servers have appeared which allow for outsourcing and delegating all the authentication and authorization aspects. Of these servers, one of the most promising is Keycloak, open-source, flexible, and agnostic of any technology, it is easily deployable/adaptable in its own infrastructure. Moreover, Keycloak is more than just an authentication...

Technical Cheat Sheets for Developers
Article

Technical Cheat Sheets for Developers

Emily Parish

Over the past few months, we’ve been building and releasing a variety of technical cheat sheets and we’ve been getting many requests for more. We are working on new cheat sheets every day, ok maybe not weekends, but almost every day. Here are the cheat sheets available today: Linux Commands Cheat Sheet, Advanced Linux Commands Cheat Sheet, Wildfly Swarm Cheat Sheet, Containers Cheat Sheet, MongoDB Cheat Sheet, Kubernetes Cheat Sheet and the Eclipse Vert.x Cheat Sheet. While you wait for...

Red Hat JBoss Developer Studio Logo
Article

JBoss Tools and Red Hat Developer Studio Maintenance Release for Eclipse Neon.3

Jeff Maury

JBoss Tools 4.4.4 and Red Hat JBoss Developer Studio 10.4 for Eclipse Neon.3 are here waiting for you. Check it out! Installation JBoss Developer Studio comes with everything pre-bundled in its installer. Simply download it from our Red Hat Developers and run it like this: java -jar devstudio-.jar JBoss Tools or Bring-Your-Own-Eclipse (BYOE) JBoss Developer Studio require a bit more: This release requires at least Eclipse 4.6.3 (Neon.3) but we recommend using the latest Eclipse 4.6.3 Neon JEE Bundle since...

Java to .NET Core
Article

From Java to .NET Core. Part 1

Yev Bronshteyn

There was a time when the word ".NET" was virtually synonymous with bloat, vendor lock-in, and Windows. .NET Core is the exact opposite. It's blazingly fast. It's open source under a permissive license (Mostly MIT, some parts Apache-2.0). Unlike some other open-source platforms, .NET Core's Contributor License Agreement does not grant exclusive privileges to a single corporation. .NET Core is cross-platform, allowing you to target Windows, Mac, Docker, and many flavors of Linux. My favorite resource for getting started with...