2017-01-13T23:06:00ZI am looking forward to a great 2017 with the JBoss Community Projects and Red Hat Products. As always the community continues to provide great technologies and projects. This week provided some great Releases and Articles. Now on to the happenings in our open source community! Releases Hibernate Validator 5.4.0.CR1 Provides some improvements and fixes:We improved the javax.money support with a new annotation @CurrencyMarko Bekhta finished his work on the annotation processor: we are now on a par with the Hibernate Validator engine featuresWe also fixed a possible overflow issue in java.time validation reported by Stanislav BashkyrtsevImmutant 2.1.6 includes the following changes:Update to Ring 1.5.1 to address a security vulnerability. This vulnerability only affects applications that are running from the filesytem, not from an uberjar or war, so most users aren't affected.Remove our dependency on Potemkin. This was a common source of collision with other application dependencies, so we now use an internal copy of Potemkin under different namespaces so it doesn't conflict.A minor update of the version of tools.nrepl on which we depend (0.2.11 -> 0.2.12)Arquillian Cube Extension 1.0.0.Alpha16 includes alot of enhancements and bugfixes.Byteman 4.0.0-BETA2 is a early access release for JDK 9Hybernate Search 5.5.6.Final contains alot of bugfixesTeiid 9.2 Beta1 includes highlights since Alpha2:TEIID-4627 Source Triggers to handle source change events.TEIID-4643 Encrypt/decrypt functions were added for 128bit AES.Arquillian Core 1.1.12.Final includes dependency updates and some improvementsArquillian Tomcat Container 1.0.0.CR9 contains Arquillian Tomcat Adapters Business Processes and Rules Highlights Maciej Swiderski shared a modern BPM in action example. For this Maciej used an upcoming feature of jBPM 7 that provides case management capabilities and used a Order IT Hardware case that allows employees to place requests for new IT hardware.Maciej also shared an article on Traditional BPM vs. modern ... what is this about?Edson Tirelli provided more detail on Drools 7.0 full runtime support for DMN models at compliance level 3 Fuse Highlights Christina Lin shared her recommendations on API best practices:Intuitive- It must be easy to understand and use without documentations.Stable- Not only it should be running but with good performance too.Demands - Creating useful functionally, no matter how nicely your API is documented, how easy it is to use, it people don't need it, they won't call it.Claus Ibsen shared a podcast from Java Pub House posted on 7th of January 2017 where Freddy Guime and Bob Hollin talk about Apache Camel. Additional Highlights Eric Schabell shared 3 steps to Cloud Operations Happiness with Cloudforms and the information for the Containers Virtual EventLucas Ponce shared an article on Extending Complex Event Processing in Hawkular AlertingVlad Mihalcea shared the Hibernate Community Newsletter for 1/2017 Thanks for being a part of the JBoss Community and stay tuned for the next Weekly Editorial! Kenneth Peeples, Shadow-Soft Director of Technical Serviceskpeeples@email@example.com[...]
To those of you in a geography that recently incremented its year counter: Happy New Year! This week much of the JBoss community is returning refreshed from the holiday break. And on their return we've seen the usual flurry of releases and useful tutorials and demos...
In this post Christina Lin walks us through the steps needed to get started with Fuse Integration Service 2.0 (Tech preview). There’s even a video to make it easier to follow along.
In this Blog post, Eric presents an update to his "HR Employee Rewards Application” demo application. In this update he’s fully containerized the application and shown how it can be ran on the OpenShift Container Platform.
2016-12-31T06:21:00ZThis has been a tough year for the passing of some great actors and actresses. On December 27th "Princess Leia" passed away, and her mom, Debbie Reynolds, passed away the day after. I was 9 years old when Star Wars came out and have enjoyed the movie franchise since the moment I saw Carrie Fisher. About 30 years separated the releases of Return of the Jedi and the Force Awakens, but it was well worth the wait. I think Mark Hamill said it perfectly, Carrie was one-of-a-kind who belonged to us all- whether she liked it or not. She was OUR Princess, darn it, & the actress who played her blurred into one gorgeous, fiercely independent & ferociously funny, take-charge woman who took our collective breath away. Determined & tough, but with a vulnerability that made you root for her & want her to succeed & be happy. Carrie will be in Episode VIII and it will be interesting to see how they handle her absence in Episode IX. Carrie, Thanks for taking our breath away on and off the big screen! Now on to the happenings in our open source community! ReleasesVersion 0.0.8 of the Java extension for Visual Studio Code (a.k.a. vscode-java) has been unleashed. It’s available in the Visual Studio Code Marketplace and can be found and installed directly from within Code. Apache CamelClaus Ibsen shared Apache Camel numbers for 2016. Claus Ibsen shared a Intellij IDEA plugin prototype Vert.xPaolo Patierno shared Reactive and Asynchronous with Vert.xClement Escoffier shared the Eclipse Vert.x Core Cheat Sheet Thanks for being a part of the JBoss Community and stay tuned for the next Weekly Editorial!Kenneth Peeples, Shadow-Soft Director of Technical Serviceskpeeples@firstname.lastname@example.org [...]
2016-12-24T13:17:05ZHoliday season have officially started and we certainly wish you are all off to your familly and friends - if you actually are, please, stop reading this, close your phone or laptop and pay attention to your relatives for once ! Have a merry christmas !!! Microservices are commodity Before jumping into some in-depth, technical articles, let's take a short step back, and look at things from higher vintage point with this excellent article on Microservices are Commodity. Riding a camel for Xmas ? Camel are certainly not the first animal one associates with Christmas, but this should certainly prevent anyone to enjoy this cool article on Camel Live Reload of XML routes. An if you are looking for more in depth information on Camel itself, you probably want to check out the Status of Camel in Action 2nd edition book. Or, if not, at least take a peak, at this article on Red Hat JBoss Fuse - Automate integration CI/CD processes. In any case, after that, you'll be ready to cross any desert... Techbytes - Treat yourself a Xmas gift - dwelve into Infinispan As the holiday season generally means finally a bit of time to do some long due exploring of some cool, new technologies, so the Infinispan and the Hawkuler one have both though of you, and released some pretty neat articles. On the Infinispan side, a first article, Infinispan: Spring Boot Starters, walk you through setting up Infinispan as part of a Spring Boot app - certainly an efficient way to start using Infinispan, if you are already familliar with Spring Boot (otherwise, did you heard of JBoss Forge ? ).if you are already an Infinispan user, the second article might be more up your alley. It's a more in depth introduce some major changes, coming in 9.0 : Data Container Changes Part 1. Be prepare for the next big thing coming in Infinispan ! Fiddle for Drools and CLI for Hawkular If you, like me, have to play around with Drools on a regular basis, i'm pretty sure you'll find this nugget very useful: Introducing the new Drools Fiddle. Along those lines, a brief introduction to a pretty neat CLI tool for Hawkular - Hawkinit will probably be equally useful(ok, i'm partial, I just love CLI tools...). Releases, releases, releases... As always, the JBoss Community projects have released many new version - especially a first CR for Keycloak 2.5 and for an exciting new version of Hibernate Search using Elasticsearch ! Keycloak: Keycloak 2.5.0.CR1 ReleasedSixth bug-fix release for ORM 5.2Debezium 0.3.6 Released | Planet JBoss DeveloperFirst candidate release for Hibernate Search with Elasticsearch! Decaf' Already to jittery for Java ? Time for something else ? Well, then I could not pass anyway this opportunity to mention this article from last week describingHow to get started with Microsoft SQL Server on Red Hat Enterprise Linux ! SQL Server on Linux ? Aren't we living interesting times ! Also, a bit more closer to the Java root of the JBoss Community, the third part of a very interesting series about using Red Hat JBoss Data Virtualization on OpenShift: Part 3 – Data federation. Certainly take a look at it, especially if you are not familiar with JBoss Data Virtualization (or its Open Source pendant, Teiid). It think it may pick your interest... https://developers.redhat.com/blog/2016/12/14/red-hat-jboss-data-virtualization-on-openshift-part-3-data-federation/[...]
This might come in handy.
You write `ide.sh FooBar` and it most likely opens what you are looking for:
1) Tries to open the path.
2) If it doesn't exist, it tries to open that file anywhere in the directory tree (provided it has some of the file name suffixes I currently use).
3) If not exists, it opens the files that contains a type of that name (class, function, interface).
4) If not found, it opens the files that contain given pattern.
This blog's source WYSIWYG is buggy so it's hard to edit, the up-to-date version is at gist.
#!/bin/bash set -x NB="/sw/prog/netbeans/8.2/bin/netbeans" MAX_FILES_TO_OPEN=5 ## If the argument is a path to a file, open it. if [ -f "$1" ] ; then "$NB" "$1" ## Else if it's a path in a form of foo*bar (contains a star), open all that match, of types .java, .ts, .html, .xml, .ftl elif expr "$1" : ".*\*.*" ; then find . -path "./*/target/*" -prune -o \( -name "*$1*".java -o -name "*$1*".ts -o -name "*$1*".html -o -name "*$1*".xml -o -name "*$1*".ftl \) -print | xargs $NB ## Else if there's a TypeScript class of that name, open it. git grep -q -E "(class|function) +$1" elif [ $? ] ; then git grep -l -E "(class|function) +$1" | head -n $MAX_FILES_TO_OPEN | xargs "$NB" ## Else open whatever matches the given pattern. else COUNT=`git grep -l "$1" | wc -l` if [[ "$COUNT" -gt "$MAX_FILES_TO_OPEN" ]] ; then echo "Too many `git grep` matches, taking first $MAX_FILES_TO_OPEN."; fi git grep -l "$1" | head -n $MAX_FILES_TO_OPEN | xargs "$NB" fi
2016-12-19T23:38:00ZJDK 9 is about to be released somewhere in Q3 2017. There's a huge list of non-trivial new features, see below.So in the meantime, you can have a look at this good guide what's coming upon us: The Ultimate Guide to Java 9 Compiler level properties still not there, what a disappointment. They might be in JDK 11, hopefully. This whole story reminds me how Czech highways are being built. JEPs targeted to JDK 9, so far102: Process API Updates 110: HTTP 2 Client 143: Improve Contended Locking 158: Unified JVM Logging 165: Compiler Control 193: Variable Handles 197: Segmented Code Cache 199: Smart Java Compilation, Phase Two 200: The Modular JDK 201: Modular Source Code 211: Elide Deprecation Warnings on Import Statements 212: Resolve Lint and Doclint Warnings 213: Milling Project Coin 214: Remove GC Combinations Deprecated in JDK 8 215: Tiered Attribution for javac 216: Process Import Statements Correctly 217: Annotations Pipeline 2.0 219: Datagram Transport Layer Security (DTLS) 220: Modular Run-Time Images 221: Simplified Doclet API 222: jshell: The Java Shell (Read-Eval-Print Loop) 223: New Version-String Scheme 224: HTML5 Javadoc 225: Javadoc Search 226: UTF-8 Property Files 227: Unicode 7.0 228: Add More Diagnostic Commands 229: Create PKCS12 Keystores by Default 231: Remove Launch-Time JRE Version Selection 232: Improve Secure Application Performance 233: Generate Run-Time Compiler Tests Automatically 235: Test Class-File Attributes Generated by javac 236: Parser API for Nashorn 237: Linux/AArch64 Port 238: Multi-Release JAR Files 240: Remove the JVM TI hprof Agent 241: Remove the jhat Tool 243: Java-Level JVM Compiler Interface 244: TLS Application-Layer Protocol Negotiation Extension 245: Validate JVM Command-Line Flag Arguments 246: Leverage CPU Instructions for GHASH and RSA 247: Compile for Older Platform Versions 248: Make G1 the Default Garbage Collector 249: OCSP Stapling for TLS 250: Store Interned Strings in CDS Archives 251: Multi-Resolution Images 252: Use CLDR Locale Data by Default 253: Prepare JavaFX UI Controls & CSS APIs for Modularization 254: Compact Strings 255: Merge Selected Xerces 2.11.0 Updates into JAXP 256: BeanInfo Annotations 257: Update JavaFX/Media to Newer Version of GStreamer 258: HarfBuzz Font-Layout Engine 259: Stack-Walking API 260: Encapsulate Most Internal APIs 261: Module System 262: TIFF Image I/O 263: HiDPI Graphics on Windows and Linux 264: Platform Logging API and Service 265: Marlin Graphics Renderer 266: More Concurrency Updates 267: Unicode 8.0 268: XML Catalogs 269: Convenience Factory Methods for Collections 270: Reserved Stack Areas for Critical Sections 271: Unified GC Logging 272: Platform-Specific Desktop Features 273: DRBG-Based SecureRandom Implementations 274: Enhanced Method Handles 275: Modular Java Application Packaging 276: Dynamic Linking of Language-Defined Object Models 277: Enhanced Deprecation 278: Additional Tests for Humongous Objects in G1 279: Improve Test-Failure Troubleshooting 280: Indify String Concatenation 281: HotSpot C++ Unit-Test Framework 282: jlink: The Java Linker 283: Enable GTK 3 on Linux 284: New HotSpot Build System 285: Spin-Wait Hints 287: SHA-3 Hash Algorithms 288: Disable SHA-1 Certificates 289: Deprecate the Applet API 290: Filter Incoming Serialization Data 292: Implement Selected ECMAScript 6 Features in Nashorn 294: Linux/s390x Port 295: Ahead-of-Time Compilation 297: Unified arm32/arm64 Port[...]
Windup 3.0 will be a web application. It can still be used as command line application, but on top of that, you can deploy Windup to a JBoss WildFly (or EAP) and scan your applications from a nice web UI.
Look at Windup Migration Platform and try migrating your application to the newest Java EE.
Look at GitHub - windup/windup-web: Windup as a Web Service if interested in code.
2016-12-17T00:46:00ZWelcome to another edition of the JBoss Weekly Editorial! We are excited to bring you another packed week of JBoss and Red Hat Middleware news. The end of the year is nearly here, but that doesn’t mean we’re slowing down.ReleasesLet’s start with the new bits during the week, shall we?Teiid continues to move closer to it’s 9.2 release with 9.2 Alpha2. Hashing functions, including md5, sha1, sha2-256 and sha2-512 have been added along with a number of issues being closed with this release. Just over 70 issues have been closed on the road to the 9.2 release currently slated for early to mid February.Wildfly Swarm has recently released version 2016.12.1. A number of issues have been closed with this release including improvements to UberJar and war cleaning, fewer boot-time warnings, significant improvements to Windows support and JavaDocs! Wildfly Swarm is a slimmed down version of Wildfly Java Application Server for use with Microservices.Changes to the JDK9 have necessitated another release of Byteman. Andrew Dinn released version 4.0.0-BETA1 earlier this week addressing those changes. Byteman is an invaluable tool for tracing, monitoring and testing Java application JDK runtime code.On the product side of things, Red Hat Single Sign-on recently released version 7.1 Beta. Included in Red Hat Single Sign-on are features for OpenID connect, Red Hat JBoss Fuse integration, a Node.JS client adapter, SSSD integration, user storage SPI and more! If you’re in need of an SSO solution, look no further.Notable Blog EntriesThis past week includes a number of notable blogs done by the community.To kick things off, Jason Green blogged about Jigsaw’s Missing Pieces. He includes links to the various issues in the OpenJDK project. Jason breaks down the "missing pieces" into three categories: Reflection issues, dynamic introduction and alteration of modules, and interoperability with alternative module system. He remains hopeful suitable solutions can be found and implemented.Next, we have Ken Finnigan’s post about whether to WAR or JAR with Wildfly Swarm. Ken briefly describes how to obtain a JAR and a WAR using Maven. He also discusses pros and cons of both approaches. The recommended approach is to us a war with Wildfly Swarm, however, that isn’t a hard rule.Juraci Paixão Kröhling talked about the recent improvements to Hawkular APM for OpenShift this week. He included steps to get everything setup on Fedora 25. There are also examples to follow along that Juraci mentions!Vlad Mihalcea discusses what has happened within the Hibernate Community recently in his Hibernate Community Newsletter post. There are many blogs, issues, releases and Q&A posts he links to and are well worth the read if any of them apply to your particular Hibernate usage.Back in November a number of Red Hat employees spoke at Devoxx Morocco. Galder Zamarreño recapped his trip to Morocco and Geneva over on the Infinispan blog. Galder spoke about building reactive applications using Infinispan, Node and Elm.To round out the Java related news, John Clingan wrote about MicroProfile being adopted into the Eclipse community. MicroProfile has moved quickly since it was announced back in June at DevNation. If you’re interested in joining the discussion, head over to the forums.Todd Mancini has a somewhat lengthy, but concise blog post about porting .NET Framwork to .NET Core. You’ll want to read through that if you’re currently thinking about migrating to .NET core, or even using it for the first time!Lastly this week, we have a piece written by Takayoshi Tanaka about getting started with Microsoft SQL Server on Red Hat Enterprise Linux. Microsoft has a simple seven step install document which Tanaka-san builds upon. He describes how to connect to the database using Visual Studio Code, Visual Studio[...]
Just in time before everybody goes and take some rest for Christmas... here we are with the long-awaited final release of our rest project ;-)
Seriously, RESTEasy 3.1.0.Final is out; we've gone through ~20 additional bug fixes and misc tasks on top of the latest candidate release, but finally it's available on the download page, on the Maven repository and together with current WildFly master.
Here is a brief high-level summary of what's coming in 3.1.0:
A detailed list of the changes is available on JIRA.
I really invite everybody to take a look at the documentation, especially the sections concerning the migration from older versions, try the new release and let us know if anything needs changes.
Enjoy it and take some rest during Xmas time ;-)
2016-12-09T22:44:51ZWith the end of the year coming you may be forgiven for thinking we would be winding down but the communities are amazing places full of amazing people as can be seen in this week's edition of the JBoss Editorial. JBoss Data Virtualisation Following the recent release of the JBoss Data Virtualisation image on OpenShift, completing the initial move of our current Middleware products in to the cloud, Cojan has begun a series of articles demonstrating the capabilities of the product and how to use them within the OpenShift environment. In the first article of the series Cojan takes everyone through the steps necessary to deploy the image on OpenShift, from the installation of vagrant and the Container Development Kit through to the first deployment of JDV. In the second article Cojan introduces us to the concept of a Virtual Database and explains how it can be exposed as a service using the OData protocol. Of course we have not forgotten about those of you running JDV on your own machines! Madou has an article showing how MySQL/MariaDB can be integrated with JDV in order to expose the contents of your databases. Infinispan Integration, Streaming and Querying The Infinispan project have also been busy this week, not only have they announced their first Beta of Infinispan 9 (see below) but they have another three published articles. In the first article of the week Gustavo walks us through the necessary steps for using Oracle JDBC Cache store, covering the configuration of Infinispan and how to orchestrate the deployment with docker-compose. The second article, written by William, discusses the Distributed Stream capabilities and the usability improvements which have been introduced in Infinispan 9 while the final article, written by Adrian, introduces Ickle, the new Query Language being introduced in to Infinispan. Messaging in Cloud and at Speed The standard deployment of A-MQ within OpenShift assumes the server is being provisioned for use by other deployments with access to the same project however sometimes you want to allow access from an external client. If this is a scenario you are interested in then take a look at Michelle's article where she demonstrates how to expose the internal service to an external client. When using messaging systems you will often be faced with a trade-off, a decision to relax the full guarantees of writing to disk for improved performance. Artemis allows you to make the same trade off, allowing you to reach a speed of 50K persistent messages per second on a laptop with a delay of only a few milliseconds before the messages are persisted. Garbage Collection in the VM For many of us developing on the JVM we have come to trust the default Garbage Collection settings will be sufficient for our applications but what happens when your applications are pushing harder on the VM? How do you tune the GC behaviour? In the first article of a series discussing the GC, Matt Robson takes us through the role of the G1 (Garbage First) collector and how it works. Kie Server Routing One of the challenges faced by kie server clients has been the requirement to track the location of the servers being used and which kjars are running on them. With the introduction of the Kie Server Router we now have a single service against which we can invoke requests, allowing it to handle the routing to the correct kie server instance and the aggregation of requests spanning multiple servers. Hibernate News The latest version of the Hibernate Newsletter is out bringing news from the community. Within the newsletter you will find interviews with developers along with articles discussing Apache Ignite, streaming vs pagination, integrating with Camel, mu[...]
2016-12-02T13:59:23ZWelcome to this week's editorial. Even though it's the week after thanksgiving the JBoss Community still has a bunch of interesting developments to report on. Should we Remove MongoDB from Keycloak?The Keycloak team are considering the removal of support for MongoDB backed KeyCloak servers. Among other reasons, they cite lack of support for transactional updates to multiple documents in MongoDB, as a major contributing factor. However, elsewhere in the JBoss Community there is work afoot to bring non-ACID transactional support to MongoDB. As is typical in the JBoss community, they are seeking feedback before taking the plunge. See this blog post for the reasons to make this change and instructions on how you can join the discussion. Node DNS Module and Debugger ExplanationsLucas Holmquist continues his exploration of Node modules and features. This week he explains how the DNS Module works and how to use the Node debugger. Improvements Around using Infinispan with SpringIf you are using Infinispan with Spring, be sure to read about the improvements the team are making around this integration. How to run JBoss BPM Suite in a ContainerIn this post Eric Schabell explains how to run JBoss BPM Suite in a Container using either the Openshift Container Platform (OCP) or the Red Hat Container Development Kit (CDK). ReleasesHibernate Search 5.6.0.Beta4. Bringing the latest bugfixes and previously missing features for the experimental Elasticsearch integration. This is the version to use with Hibernate ORM versions 5.0.x and 5.1.x.Hibernate Search 5.7.0.Beta1. Bringing the exact same changes as 5.6.0.Beta1, but on top of the compatibility with Hibernate ORM version 5.2.x that was introduced with 5.7.0.Alpha1.Windup suport in Eclipse IDE. A new plugin for Eclipse bringing which marks migration issues in application code, provides help to fix issues, and offers automated code replacement where possible.[...]
Windup is now integrated with Eclipse IDE.
The Windup plugin marks migration issues in application code, provides help to fix issues, and offers automated code replacement where possible. (I'll add a demo video when it's published.)
You can install the plugin into Eclipse Neon or JBoss Developer Studio by following the instructions here: http://htmlpreview.github.io/?https://github.com/windup/windup-documentation/blob/master/docs/windup-plugin-guide/windup-eclipse-plugin-guide-early-access.html
We're in need of alpha users to let us know how we can improve the plugin and what features are important to add. If you're involved in a migration project, we would really appreciate it if you could try it out and give us your feedback.
2016-11-25T13:58:40ZOK so many of our American friends and colleagues will probably be slowly digesting their turkey dinners so this is a great time to give you and them something to read. Let's start with a bang! Yes, the Ceylon team have released 1.3.1 which, as this blog recounts, is much more than a micro release! You should definitely got and check out the article and the release itself. Next up, and Ceylon has a play here as it's also available on OpenShift, is the recent xPaaS announcement around Data Virtualization. This marks an important milestone for our products on OpenShift, where we have containerized runtimes of all our Middleware solutions available for our customers, while we continue to evolve the experience around using the products. That means that today our customers and prospects can run: JBoss EAP 6 and 7,JBoss Web Server (Tomcat),JBoss Data Grid,Red Hat Single-sign-on,JBoss BRMS decision serverJBoss BPMS intelligent process serverJBoss Fuse Integration ServicesJBoss A-MQ andJBoss Data Virtualization. And we're not only just 'making these products available on OpenShift'. As important as enabling the products for such a scenario, we manage the lifecycle of all the dependencies for those products, and that greatly reduces the operational burden that traditional middleware imposes. Congrats to all of the teams involved! On to the rest of the week and we've seen lots of projects release. These include Keycloak, Hibernate Validator, Hibernate ORM, WindUp and Forge. Finally, one important article to shine a light on is Claus' trip report from his adventures at ApacheCon (and this time his luggage appears to have gotten there and back without incident!) Some nice photos as well! OK, that'll do for now. Plenty to read about while that turkey digests! See you next time![...]
After months of hard work, we're pleased to announce the first alpha milestone of the Windup Eclipse Plugin, which aims to make application migrations and upgrades faster and easier by bringing Windup's migration assistance into the Eclipse IDE.
The Windup plugin marks migration issues in application code, provides help to fix issues, and offers automated code replacement where possible.
We're in need of alpha users to let us know how we can improve the plugin and what features are important to add. If you're involved in a migration project, we would really appreciate it if you could try it out and give us your feedback.
You can install the plugin into Eclipse Neon or JBoss Developer Studio 10 by following the instructions here: http://htmlpreview.github.io/?https://github.com/windup/windup-documentation/blob/master/docs/windup-plugin-guide/windup-eclipse-plugin-guide-early-access.html
Feedback is more than welcome via:
Email -- email@example.com
IRC -- freenode #windup