Developer tools

Testing your Android App's
Article

Testing your Android App's UI with Espresso

Abishek V Ashok

Android is one of the most used mobile operating systems in the market with an estimated market share of approximately 84.82%. Millions of apps loom in the Android OS, for various tasks and it's a shame that only a small percentage of the apps have a well-developed user interface (UI), which is flexible and adaptable to various mobile sizes. For an average user, they want their apps to look good and do well. However, if you are an app developer...

Vaadin Framework logo
Article

Upgrading to Vaadin Framework 8 (Part 2 of 2)

AMahdy AbdelAziz

In the previous part of this blog, I talked about the most important steps to get your project to compile with the latest Framework version. The migration has been done through the first three steps mentioned here, and in this post, I will go over the least complicated steps of migration. Steps 4 and 5 cover the modernization of your project with the latest Framework 8 features. If you are in a hurry, you can do this later on as...

Five OpenShift Development
Article

Five OpenShift Development Environments in Five Minutes

jason meyer

It’s been over a month since I spoke at the Red Hat Summit in Boston and now that the dust has settled, I thought you might be interested in reading a brief summary of my Lightning Talk on Five OpenShift Development Environments in Five Minutes. In the presentation, I spoke about five different ways that you can create an OpenShift development environment within minutes. This included oc cluster up, Vagrant All in One Box, Minishift, a Fabric8 technology, and the...

GNU C library
Article

Statement Frontier Notes and Location Views

Alexandre Oliva

Surely, you too have been frustrated, while single-stepping optimized programs in symbolic debuggers, by the Brownian motion in the source code, and by never being sure, when you reach a certain source line (if you can reach it at all), whether or not earlier lines have taken effect. Our frustration is about to be significantly alleviated, thanks to two new pieces of technology about to be contributed to the GNU toolchain. Statement Frontier Notes are stable markers of source locations...

OpenShift Application Runtimes
Article

OpenShift Application Runtimes

John Clingan

One question, which is often asked of me is “How do I quickly get new features into production?” This is the whole idea of microservices, to quickly move features into production. At this year’s Red Hat Summit, I spoke to this during my OpenShift Application Runtimes session, introducing it as an upcoming product. I spoke on integrating language runtimes into OpenShift and Kubernetes so that as you write Microservices you can leverage a lot of the features that are available...

Red Hat ISO Image
Article

Red Hat at the ISO C++ Standards Meeting (April 2017, Kona): Core Language

Jason Merrill

The March/April C++ meeting was back in Kona, Hawaii again, only a year and a half after the last Kona meeting. As usual, Red Hat sent three of us to the meeting: Jonathan Wakely, Torvald Riegel, and me. The headline from the meeting was voting to submit C++17 for approval by the national bodies. There wasn't really any significant resistance. There was one new feature added in the final draft, namely std::byte, which was expected to go in at the...

Red Hat CDK
Article

Running CDK 3.0 on Fedora 25

Brian Brock

Red Hat Container Development Kit (CDK) provides a Container Development Environment (CDE) that allows users to build a virtualized environment for OpenShift. This environment is similar to the user’s production environment and does not need other hardware or a physical cluster. CDK is designed to work on a single user’s desktop computer. The following instructions are to install and use CDK with Fedora 25, but can also be used for earlier versions of Fedora. A significant difference between CDK version...

Featured image for: Report from the virtual ISO C++ meetings in 2020 (core language).
Article

Red Hat at the ISO C++ Standards Meeting (March 2017): Parallelism and Concurrency

Torvald Riegel

Several Red Hat engineers attended the JTC1/SC22/WG21 C++ Standards Committee meetings in March 2017. This post focuses on the sessions of SG1, the study group on parallelism and concurrency. The major topics of work of the week were (1) further polishing of the parallel algorithms in the C++17 draft, (2) making progress on the executors proposal (which provides mechanisms to control how parallel work is executed, for example on which resources), and (3) continuing work on proposals targeting the Concurrency...

Red Hat JBOSS BRMS
Article

Your first Business Rules application on OpenShift: from Zero to Hero in 30 minutes

Duncan Doyle

In a previous blog post, we explained how to deploy an existing JBoss BRMS/Drools rules project onto an OpenShift DecisionServer. We created a decision/business-rules microservice on OpenShift Container Platform that was implemented by a BRMS application. The polyglot nature of a microservice architecture allowed us to use the best implementation (a rules engine) for this given functionality (business rules execution) in our architecture. The project we used was an existing rules project that was available on GitHub. We did however...

Red Hat Enterprise Linux
Article

Running HPC workloads across multiple architectures with Red Hat Enterprise Linux

Adrian Reber

In this article, I want to provide some background details about our recently developed demonstration video - “ Running Game of Life across multiple architectures with Red Hat Enterprise Linux “. This video shows the Game of Life running in a heterogeneous environment using three 64-bit hardware architectures: aarch64 (ARM v8-A), ppc64le (IBM Power little endian) and x86_64 (Intel Xeon). If you are not familiar with the rules of this cellular automaton, they are worth checking out via the reference...

Red Hat Mobile Application Platform
Article

Debugging RHMAP Apps locally with Visual Studio Code (VS Code)

David Ffrench

Do you want to speed up your debugging process? This blog post is designed to help you do just that by empowering you with the knowledge of how to debug RHMAP Cloud Apps and MBaaS services locally using VS Code. For an introduction to running RHMAP client apps locally, see How to Setup your Apps to Target Locally on Device. Why VS Code? Interactive Debugger allows you to step through source code, inspect variables, view call stacks, and execute commands...

Redis - HAProxy Example
Article

How To Setup A Redis Server Cluster on Red Hat

David Kittell

So, you’ve been told you need to build a Redis Server Cluster. First, if you don’t know what Redis is you are probably thinking, “What is this weird named thing and what do I need to do”. This guide will walk you through both in a way that will hopefully be easy to follow and be easy to repeat in the future. While you can have more than three servers in a Redis cluster for the sake of simplicity, we...

Red Hat Logo
Article

Red Hat and Apache OpenWhisk

Rich Sharples

Unless you’ve been on a complete media blackout for the last year or so (entirely understandable) you’ve likely heard a lot about Serverless (or FaaS - Function as a Service). Serverless is a major shift in the way developers build and deliver software systems - it greatly simplifies development by insulating the developer from infrastructure concerns and pushes the envelope on cost and efficiency of execution. Various groups at Red Hat have been investigating Serverless for some time now -...

Video Thumbnail
Video

Getting Started With A-MQ 6.1

Red Hat Developer Program

Getting Started With A-MQ 6.1: This introduction has been setup to get you started as quickly as possible with JBoss A-MQ. We have put together a three part video tour of the product, an example quick setup of the product and the installation of an existing project that is then deployed to JBoss A-MQ. The product is installed and configured right before your very eyes in no time at all with a fully automated project setup script. The server setup is shown using the latest JBoss Developer Studio and you are ready to get going.

Video Thumbnail
Video

Reproducible development to live applications with Java and Red Hat CDK

Red Hat Developer Program

Andrew Lee Rubinger, Principle Software Engineer, Red Hat, Lalatendu Mohanty, Sr. Software Engineer, Red Hat share inights in the breakout session from Red Hat Summit 2017. Red Hat Container Development Kit (CDK) provides a ready-to-use development environment for developing microservices on Red Hat OpenShift Container Platform. In this session, we will design a small microservices application using Angular2 served through Eclipse Vert.x for front-end environments and REST over HTTP and Java API for RESTful Web Services (JAX-RS) via WildFly Swarm for back-end environments. We’ll also bootstrap the environment using CDK. This live-coding experience will walk you through setting up a new containerized environment from scratch and using it to develop a functional application in 50 minutes. Learn more: https://www.redhat.com/en/summit/2017/agenda/sessions

Video Thumbnail
Video

2012 Red Hat Summit: Achieving top network performance

Red Hat Developer Program

In this session, Mark Wagner reviews enhancements in Red Hat Enterprise Linux 6 and show attendees how to take advantage of them in their environments. Mark uses test results from Red Hat's performance lab to highlight the various differences, advantages, and tradeoffs for many technologies, including Kernel-based Virtual Machine (KVM) virtualization technology, 10Gbit Ethernet, Infiniband, FCoE, Packet Flow Control, and RDMA. Mark also presents guidelines and tools for planning and tuning network configurations for low latency and high throughput. He covers the differences between tuning for baremetal, a KVM guest, a Red Hat Storage file system, and NFS. He also touches upon some tricks developers can use when writing network-based applications.

Video Thumbnail
Video

Appcelerator relies on Red Hat

Red Hat Developer Program

A private company with approximately 140 employees, Appcelerator worked closely with Red Hat on their flagship platform, Titanium. One of the leading enterprise-grade, cross-platform development solutions on the market, Titanium counts more than 300,000 mobile developers in its worldwide ecosystem. Appcelerator integrated Red Hat's OpenShift PaaS into its Titanium platform, enabling developers to push and auto-scale the backend of their mobile development processes. This integration gives Titanium developers the ability to create, deploy, and manage their mobile applications, and then push these applications to Red Hat's OpenShift PaaS with just a single click.

Video Thumbnail
Video

CDK2 installation walk through

Red Hat Developer Program

See how straight-forward it is to install the Red Hat Container Development Kit 2 (CDK). Once registered in developers.redhat.com (it's free), go here for the download: https://access.redhat.com/downloads/content/293

Video Thumbnail
Video

How To Get The Most Out Of Your Hibernate (Ståle Pedersen)

Red Hat Developer Program

The fifth major release of Hibernate sports contains many internal changes developed in collaboration between the Hibernate team and the Red Hat middleware performance team. Efficient access to databases is crucial to get scalable and responsive applications. Hibernate 5 received much attention in this area. You’ll benefit from many of these improvements by merely upgrading. But it's important to understand some of these new, performance-boosting features because you will need to explicitly enable them. We'll explain the development background on all of these powerful new features and the investigation process for performance improvements. Our aim is to provide good guidance so you can make the most of it on your own applications. We'll also peek at other performance improvements made on JBoss EAP 7, like on the caching layer, the connection manager, and the web tier. We want to make sure you can all enjoy better-performing applications—that require less power and less servers—without compromising on your developer’s productivity.

Video Thumbnail
Video

CDK 2.0: Docker, Kubernetes, And OSE On Your Desk (Langdon White)

Red Hat Developer Program

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.

Video Thumbnail
Video

An Introduction To Eclipse Che: A Next-Generation Java IDE (Tyler Jewell)

Red Hat Developer Program

What happens when on-demand workspaces powered by Docker are transformed into a new kind of Java IDE accessed through your browser? This session introduces Eclipse Che and shows how a cloud IDE can make developing Java projects fast and powerful. We'll compare Intellisense, content assist, machines, plug-in architecture, and performance when compared to traditional desktop IDEs. Che includes numerous forms of refactoring and uses Docker to initiate environments and machines to build and run code. We'll also cover Maven, Ant, and Gradle extensions and discusses how Che can be extended with custom code templates, Dockerfiles, and plug-ins (authored in Java, of course). Additionally, Che has a Kubernetes and OpenShift plug-in, which provides duality of environments between development and production, all structured on container topologies. We'll discuss how developers are marrying their code with containers and keeping those topologies synchronized between different environments, and the role that IDEs must play in this world.

Video Thumbnail
Video

fabric8 - Java developer tools for Kubernetes and OpenShift by Roland Huß

Red Hat Developer Program

Fabric8 is an integration and management platform adding to the Java developer's perspective of Kubernetes and OpenShift. It consists of multiple parts. Fabric8 tooling helps tremendously in deploying Java applications on Kubernetes and OpenShift by creating all the complex deployment descriptors directly from a Java build. In addition, fabric8 contains a rich set of DevOps Microservices which provides a flexible and automatedsetup for a Continous Integration and Delivery pipeline on a per project basis. It also includes an integration-Platform-as-a-Service (iPaaS) centered around Camel and ActiveMQ with rich visualisations and one click installations. But the queen of fabric8 is its web console which allows for a rich user experience for managing Kubernetes services, pods and more. With this in place even complex setups can be easily managed. This talk provides an overview over all these components and shows how the pieces fit together.