Article: Monte Carlo Planning Improves Decision Making

Mar 15 11:05am InfoQ
Michael helped a startup IPO by applying Monte Carlo to a planning problem. Learn how Monte Carlo planning provides a rigorous, quantitative account of what the future may bring. It has advantages over standard average case approaches and you can start with a simple Excel spreadsheet. By Michael de la Maza...
Read More

Concurrent and Distributed Programming in the Future

Mar 15 9:00am InfoQ
The world is concurrent with everything around us asynchronous and event oriented. Concurrency and the cloud are things every developer will have to deal with in the future, Joe Duffy claimed in his keynote at the recent QCon London conference. At the heart of this is communication, which is essential both for concurrent and distributed systems. By Jan Stenberg...
Read More

Shaping the Future of Visual Studio

Mar 15 8:00am InfoQ
Breaking from the past, Microsoft has already released a preview edition of its latest release of Visual Studio that includes new Python functionality. By Jeff Martin...
Read More

java.lang.NoClassDefFoundError: com/fasterxml/jackson/annotation/JsonMerge

Mar 15 6:29am Mkyong.com
Run a Jackson related project and hits the following JsonMerge not found error. Console java.lang.NoClassDefFoundError: com/fasterxml/jackson/annotation/JsonMerge at com.fasterxml.jackson.databind.introspect.JacksonAnnotationIntrospector.<clinit>(JacksonAnnotationIntrospector.java:50) ~[jackson-databind-2.9.0.pr1.jar:2.9.0.pr1] at com.fasterxml.jackson.databind.ObjectMapper.<clinit>(ObjectMapper.java:292) ~[jackson-databind-2.9.0.pr1.jar:2.9.0.pr1] at com.hostingcompass.core.utils.PrintUtils.<clinit>(PrintUtils.java:9) ~[main/:na] at com.hostingcompass.app.run.TurtleApp.run(TurtleApp.java:25) ~[main/:na] at com.hostingcompass.app.Main.run(Main.java:42) [main/:na] at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:776) [spring-boot-1.5.2.RELEASE.jar:1.5.2.RELEASE] at org.springframework.boot.SpringApplication.callRunners(SpringApplication.java:760) [spring-boot-1.5.2.RELEASE.jar:1.5.2.RELEASE] at org.springframework.boot.SpringApplication.afterRefresh(SpringApplication.java:747) [spring-boot-1.5.2.RELEASE.jar:1.5.2.RELEASE] at org.springframework.boot.SpringApplication.run(SpringApplication.java:315) [spring-boot-1.5.2.RELEASE.jar:1.5.2.RELEASE] at org.springframework.boot.SpringApplication.run(SpringApplication.java:1162) [spring-boot-1.5.2.RELEASE.jar:1.5.2.RELEASE] at org.springframework.boot.SpringApplication.run(SpringApplication.java:1151) [spring-boot-1.5.2.RELEASE.jar:1.5.2.RELEASE] at com.hostingcompass.app.Main.main(Main.java:34) [main/:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) […]...
Read More

Using Java ArrayLists

Mar 15 6:01am DZone Java Zone
The ArrayList in Java is one of the most used classes in the JDK. It is an implementation of a resizable array with a range of useful methods for manipulating the array. In this article, we present some of the usage patterns of the ArrayList. The ArrayList is a concrete implementation of the List interface. As such, it is fine to refer to List instead of ArrayList when the implementation detail does not matter. The examples below use List instead of ArrayList when this difference is not relevant.
Read More

OSGi Declarative Services news in Eclipse Oxygen

Mar 15 3:57am vogella blog
With this blog post I want to share my excitement about the OSGi DS related news that are coming with Eclipse Oxygen. I want to use this blog post to inform about the new features and also the changes you … Continue reading →...
Read More

Differentiating Between Business and Technical Components

Mar 15 3:01am DZone Java Zone
Let's start with a couple of quick definitions. Business components: They hold business values plainly written in a language like Java, JavaScript, etc.
Read More

5 new features in Hibernate 5 every developer should know

Mar 15 12:45am Thoughts on Java
  The Hibernate team published the first Hibernate 5 release quite a while ago, and since then they introduced a bunch of new features. I explained several of them here on the blog, and it’s about time to have a look at the most popular ones. Based on the search traffic I get from google […] The post 5 new features in Hibernate 5 every developer should know appeared first on Thoughts on Java.
Read More

A Lightweight Alternative to JAX-RS

Mar 15 12:01am DZone Java Zone
HTTP-RPC is an open-source framework for simplifying development of REST applications. It allows developers to access REST-based web services using a convenient, RPC-like metaphor while preserving fundamental REST principles such as statelessness and uniform resource access. The project currently includes support for consuming web services in Objective-C/Swift and Java (including Android), making it easy to interact with services regardless of the target device or operating system. HTTP-RPC also includes optional support for implementing REST services in Java, providing a lightweight alternative to larger REST frameworks such as JAX-RS. The entire platform is distributed as two JAR files totaling approximately 30KB in size, making it an ideal choice for applications where a minimal footprint is required.
Read More

Presentation: Designing Calm Technology

Mar 14 5:24pm InfoQ
Amber Case discusses using the principles of Calm Technology to design the next generation of connected devices, covering notification styles, compressing information into other senses, and designing for the least amount of cognitive overhead. By Amber Case...
Read More

Google App Engine Adds .NET Support As It Races to Be The PaaS of Choice

Mar 14 4:36pm Java News
Python? Check. Ruby? Check. Java? No problem. Node.js? Got it. PHP? Roger that. ASP.NET Core? No sweat.
Read More

Java: Interface vs. Abstract Class

Mar 14 3:01pm DZone Java Zone
Preface A class is named a concrete class when it has a name and implements every remaining method that is declared along the class hierarchy. Along with the hierarchy, its supertypes become a more general representation of the acting domain, and finally goes beyond that border and ends with the fact that almost everything is an object. A supertype can be either a concrete class that is apparently not final, an abstract class or even one or more interfaces. Combining a super or an abstract class with some interfaces is also a wide acknowledged way for characterizing a concrete class. Polymorphism is given when more than one class implements a particular method differently based on a class’s nature. In this article, the focus is on two of three kinds of supertypes they distinguish from their essential characteristics. Both an interface as well as an abstract class can be instantiated in a manner of an anonymous class. Abstract Class Typically, an abstract class implements common behaviors and member variables across any concrete class, and its method might have already specified an interface. The distinguishable behavior is gained through declaring abstract methods, which need to be implemented in a specific class. The abstract class can inherit features from another concrete or abstract class, and can enrich further behavior while adding interfaces. In Java, such tangible implementations can be explicitly emphasized with the annotation @Override that indicates a deviation of manner (docs.oracle.org, n.d.). The polymorphism stops at that point, where a concrete implementation of a method becomes final. As methods in an abstract class can also be private, it makes such a class most appropriate for encapsulating private methods while breaking down the complexity of shared methods into smaller pieces. (Martin, 2009). An abstract class is ultimately very close to a concrete implementation.
Read More

Prime Members Get 67% off NETGEAR N150 Wi-Fi Range Extender - Deal Alert

Mar 14 1:41pm JavaWorld
If your home has dead zones or areas where coverage is weak, boost your existing WiFi coverage with the Netgear N150 WiFi extender. For a limited time Amazon will sell it to Amazon Prime members (or anyone with a free trial, located here) for a significant 67\% off its list price, or just $14.67. See this deal now on Amazon. To read this article in full or to leave a comment, please click here...
Read More

Presentation: The State of AI

Mar 14 1:01pm InfoQ
Jim Mchugh keynotes on the current state of artificial intelligence. By Jim Mchugh...
Read More

The 'Final' Keyword in Java

Mar 14 12:01pm DZone Java Zone
 Most experienced Java developers are familiar with the final keyword. It can be used at three different levels: class, method, and variable (or field). Probably the most common use of final is in the definition of constants, such as:...
Read More

Article: Big Data Processing using Apache Spark - Part 6: Graph Data Analytics with Spark GraphX

Mar 14 11:25am InfoQ
In this article, author Srini Penchikala discusses Apache Spark GraphX library used for graph data processing and analytics. Article includes sample code for graph algorithms like PageRank, Connected Components and Triangle Counting. By Srini Penchikala...
Read More

Spring Boot + Spring Data + Elasticsearch example

Mar 14 11:01am Mkyong.com
In this article, we will discuss about “How to create a Spring Boot + Spring Data + Elasticsearch Example”. Tools used in this article : Spring Boot 1.5.1.RELEASE Spring Boot Starter Data Elasticsearch 1.5.1.RELEASE Spring Data Elasticsearch 2.10.RELEASE Elasticsearch 2.4.4 Maven Java 8 Note SpringBoot 1.5.1.RELEASE and Spring Data Elasticsearch 2.10.RELEASE supports only ElasticSearch 2.4.0. […]...
Read More

Conference Recap: Google Cloud Next

Mar 14 11:00am InfoQ
Cloud enthusiasts from around the world attended Google Cloud Next to hear an update from the search giant. Three broad themes emerged from the many keynotes and 200+ sessions: service scale and maturity, usable machine learning, and enterprise-friendliness. By Richard Seroter...
Read More

Congratulations New Java Champion Bob Paulin

Mar 14 10:46am Oracle Blogs | The Java Source
Welcome New Java Champion Bob Paulin  Bob Paulin is an independent consultant working for different IT firms. He has 15 years of experience as a developer and has contributed to open source software for the past 10 years. Bob is currently an ASF member and actively contributes to Apache Tikka, Apache Felix, and Apache Sling. He was nominated as JCP Outstanding Adopt-a-JSR participant for his involvement with Java EE 8. He has run numerous JDK 9 workshops in the Chicago area.  Bob is the co-host the JavaPubHouse.com, a podcast on a range of Java topics, standards, tools, and techniques. He also participates regularly in the Java Off-Heap, a podcast about Java technology news.  Bob has run the Devoxx4Kids and GotoJr conferences in Chicago allowing kids to hack in Minecraft, play with Lego robots, and use conductive play-doh. These efforts have enriched the lives of students and are helping inspire students to pursue technical careers. Follow him on Twitter @bobpaulin Java Champions are an exclusive group of passionate Java technology and community leaders who are community-nominated and selected under a project sponsored by Oracle. Learn more about Java Champions...
Read More

Congratulations New Java Champion Josh Juneau

Mar 14 10:44am Oracle Blogs | The Java Source
Welcome New Java Champion Josh Juneau Josh Juneau is an application developer and system analyst at Fermilab. He has written numerous books on JSF, Java 8 Recipes, Java EE 7, and Jython. He is the project lead for DJango-Jython and Jython. He is also involved in JSR-371/JSR-366 Josh has been very active in the Chicago Java Users Group for years. Under his leadership, CJUG got involved with Adopt-A-JSR; he received the JCP's Outstanding Adopt-a-JSR participant award. He has been a fervent advocate for Java EE in his blog (http://jj-blogger.blogspot.in/2016/04/java-ee-8-what-is-current-status-case.html).  Josh is a technical writer for Java Magazine and OTN Content. He is a frequent JavaOne speaker and has published more than five books under Apress. He is also a regular in the Java OffHeap podcast, in which he and three others discuss current Java Technology news, trends, and risks. Follow him on Twitter @javajuneau Java Champions are an exclusive group of passionate Java technology and community leaders who are community-nominated and selected under a project sponsored by Oracle. Learn more about Java Champions        ...
Read More

Current State of UWP App Development

Mar 14 8:00am InfoQ
Microsoft continues to seek ways to encourage and support UWP app development. The recently updated UWP Community Toolkit makes new app controls available, while Microsoft MVP Thomas Claudius Huber demonstrates what controls are still missing. By Jeff Martin...
Read More

Inaugural Business Agility Conference Considered Successful

Mar 14 8:00am InfoQ
The inaugural Business Agility conference was recently held in New York. Over 330 people attended the sold-out event, and the response from participants and speakers emphasizes the importance of culture and mindset in adopting agile thinking across the whole organisation, and how important business agility is for success in today's volatile, uncertain, complex and ambiguous business environment. By Shane Hastie...
Read More

Nginx JavaScript is ready for prime time

Mar 14 6:00am News & Views
Nginx has upgraded its web server and load balancer to take advantage of its JavaScript implementation. The company on Tuesday debuts Nginx Plus R12, the commercially supported version of its technology. This release moves NginScript, a JavaScript-based programming tool, to general availability for production use. Developers can choose NginScript for traffic handling, via a familiar JavaScript syntax. The code can be embedded in Nginx Plus for actions on HTTP, TCP, and UDP traffic. JavaScript programmers can actually do the same thing you can do in Lua, which has been used for programming the Nginx server, said Chris Lippi, vice president of products for Nginx. JavaScript is more pervasive than Lua, so users get an expanded programming talent base to choose from for hiring purposes.To read this article in full or to leave a comment, please click here...
Read More

Is This the Correct Object?

Mar 14 5:31am DZone Java Zone
This is something I came across at work that wasn’t working as I expected. After a little playing around it seemed pretty obvious but even after a few years of working with Java this wasn’t a situation I came across before. Now what happened? Its way easier to show you an example first.
Read More

Apache Ranger Graduates to Top-Level Project

Mar 14 4:00am InfoQ
Apache Ranger, a security management framework for Apache Hadoop ecosystem, graduated to top level. Ranger is used as a centralized component to define and administer security policies that are enforced across supported Hadoop components such as Apache HBase, Hadoop (HDFS and YARN), Apache Hive, Apache Kafka, Apache Solr, among others. By Alexandre Rodrigues...
Read More

How to store date, time, and timestamps in UTC time zone with JDBC and Hibernate

Mar 14 2:03am Vlad Mihalcea's Blog
Introduction Dealing with time zones is always challenging. As a rule of thumb, it’s much easier if all date/time values are stored in the UTC format, and, if necessary, dealing with time zone conversations in the UI only. Thi article is going to demonstrate how you can accomplish this task with JDBC and the awesome … Continue reading How to store date, time, and timestamps in UTC time zone with JDBC and Hibernate →...
Read More

How to Crash the Java Virtual Machine With a Race Condition

Mar 14 12:31am DZone Java Zone
This is a how-to guide for crashing the Java virtual machine. It gives you an introduction to race conditions and shows you what errors can happen if your code contains such bugs. Create a Race Condition Let us start with the following method:...
Read More

Podcast: Richard Kasperowski on Building High Performing Teams and the Core Protocols

Mar 13 4:31pm InfoQ
Shane Hastie spoke to Richard Kasperowski at the QCon San Francisco conference about building high performing teams and the core protocols. By Richad Kasperowski...
Read More

How to Convert CSV to JSON in Java

Mar 13 4:01pm DZone Java Zone
CSV to JSON conversion is easy. In this article, we present a couple of methods to parse CSV data and convert it to JSON. The first method defines a POJO and uses simple string splitting to convert CSV data to a POJO, which, in turn, is serialized to JSON. The second method uses a more complete CSV parser with support for quoted fields and commas embedded within fields. In this method, we use the Java Collection classes to store the parsed data and convert those to JSON. We use Jackson for the JSON conversion.
Read More

Open Source Linkerd Project Celebrates First Anniversary in Quest to Become TCP/IP of Microservices

Mar 13 2:00pm InfoQ
Bouyant, a cloud-native services company, announced the one-year anniversary of Linkerd, an open source “service mesh” project for cloud-native microservices-based applications. William Morgan, founder and CEO of Bouyant, spoke exclusively to InfoQ about this milestone. By Michael Redlich...
Read More

How JD.com Moved to Kubernetes from OpenStack

Mar 13 1:45pm InfoQ
JD.com, one of China’s largest e-commerce companies, recently shared their experience in adopting Kubernetes to evolve to an application container based infrastructure from an OpenStack-managed IaaS one. The move, that also includes an in-house component for networking, improved resource utilization by 30\%. By Hrishikesh Barua...
Read More

JSR 365 Update: Digging Into CDI 2.0

Mar 13 12:01pm DZone Java Zone
Contexts and Dependency Injection 2.0 (JSR 365), is an update to CDI 1.2, which is currently part of the Java EE 7 platform. It is currently in Public Review stage. For those of you who are not very familiar with CDI, it defines a powerful set of complementary services that act as a gel that helps to improve the coordination and structure of application code. For more details, please visit the specification page. CDI 2.0 expands the usability of the Contexts and Dependency Injection services to Java SE as well, as it will now target both the Java SE and Java EE platforms. The CDI specification has been organized into three parts, Part I - Core CDI, Part II - CDI in Java SE, and Part III - CDI in Java EE. The major changes for CDI 2.0 are as follows:...
Read More

Study Shows the Web is Crowded with Outdated, Vulnerable JavaScript Libraries

Mar 13 11:00am InfoQ
A recent study has found that 37\% of Alexa top 75K websites has at least one vulnerability and almost 10\% at least two. Maybe even more shockingly, 26\% of Alexa top 500 websites use vulnerable libraries. By Sergio De Simone...
Read More

.NET Core Tools 1.0 Released with Full C# Support

Mar 13 8:30am InfoQ
The .NET Core Tools has produced its first 1.0 release. Focused on C#, the tools provide .NET Core developers an easy to build applications for .NET Core and ASP.NET Core. While their release coincides with the launch of Visual Studio 2017, this is a multiplatform toolset supporting Windows, Linux, and Mac OS systems. By Jeff Martin...
Read More

A Look at the Hazelcast IBM Dynacache Provider

Mar 13 6:01am DZone Java Zone
IBM has a cache abstraction called Dynacache in Websphere Application Server (WAS) distributions. That abstraction is handy if you want to use a configurable built-in cache solution in your JEE application deployed into WAS environment. The following is the basic retrieval of a built-in Dynacache provider via JNDI:...
Read More

Java 8 Joining with Collectors | Collectors.joining method tutorial with examples

Mar 13 5:22am JavaBrahman
Java 8 Joining with Collectors tutorial explains with examples how to use Collector returned by java.util.Stream.Collectors class' joining() method to concatenate string equivalents of all stream elements together. Tutorial covers 3 overloaded joining() methods ... Continue reading Java 8 Joining with Collectors | Collectors.joining method tutorial with examples → The post Java 8 Joining with Collectors | Collectors.joining method tutorial with examples appeared first on JavaBrahman.
Read More

Exploring the Queue Interface in Java

Mar 13 3:15am
Learn about the working concept of using the Que interface in Java.
Read More

Spring Boot Tutorials

Mar 13 3:14am Mkyong.com
Spring Boot help you develop Spring application as quickly as possible. P.S Tested on Spring Boot >= 1.4.x Index Spring Boot Hello World Example – Thymeleaf Spring Boot Hello World Example – JSP Spring Boot Hello World Example – Mustache (Working…) Spring Boot non-web application example Spring Boot @ConfigurationProperties example Spring Boot SLF4J Logging example […]...
Read More

Rolling Your Own DSL in Scala

Mar 13 3:01am DZone Java Zone
Creating your own DSL in Scala is very easy. You don't need language proficiency at an expert level for this. This post shows you how to get started. It is not our scope to teach basic concepts of Scala, like traits and objects, but even if you are not familiar with the language, it should be possible to follow the logic here. I have been dabbling in Scala for some time. At my place of work, though, it does not seem feasible to use Scala for code in production, so I decided that I could get away with using it in unit testing at least. Since I am of the school of total white-box-testing, I do not hesitate to set and access private members of classes whenever it saves a clean design from being disrupted. I know doing so is a bone of contention, but this is not what this post is about – it’s what the DSL is about.
Read More

Java Testing Weekly 11 / 2017

Mar 13 2:07am Petri Kainulainen
There are many software development blogs out there, but many of them don’t publish testing articles on a regular basis. Also, I have noticed that some software developers don’t read blogs written by software testers. That is a shame because I think that we can learn a lot from them. That is why I decided […]     ...
Read More

DCI Architecture Is Visionary

Mar 13 12:01am DZone Java Zone
Welcome in the sixth installment of my architecture series. So far we have covered 5 similar architectural styles, from the Layered Architecture to the Clean Architecture. In this article, we’ll look at something substantially different – the DCI architecture by James Coplien and Trygve Reenskaug. What Is DCI? As I said before, the DCI architecture is different than the five styles that we previously discussed. The main difference between DCI and the rest is that it tells you (close to) nothing about layers and code organization, in the sense of what package should your classes go into. So what does it tell us?...
Read More

Book Update Week 8 Sending it to the copyeditor

Mar 12 10:00pm Thoughts on Java
Today, I will send the book to my copyeditor. It feels great and scary at the same time. Great, because I’m finally done with editing and scary because I can’t change the content anymore. I got great feedback from the reviewers, so I shouldn’t be too scared. But it’s still a huge step.   Don’t […] The post Book Update Week 8 – Sending it to the copyeditor appeared first on Thoughts on Java.
Read More

Presentation: Punishment-Driven Development

Mar 12 9:07pm InfoQ
Louise Elliott discusses why people tend to blame and punish others, the impact of self-­blame, the unintended results from punishment, and the alternatives to punishment, which get real results. By Louise Elliott...
Read More

Presentation: Punishment-driven Development

Mar 12 9:07pm InfoQ
Louise Elliott discusses why people tend to blame and punish others, the impact of self-­blame, the unintended results from punishment, and the alternatives to punishment, which get real results. By Louise Elliott...
Read More

Presentation: Hypermedia API Architectural Patterns

Mar 12 7:02pm InfoQ
Gareth Evans, Rick Mugridge share the patterns that emerged while developing hypermedia APIs for various companies over time. By Gareth Evans...
Read More

Enterprise Ethereum Alliance Releases Vision Paper

Mar 12 4:52pm InfoQ
The newly formed Enterprise Ethereum Alliance has published a Vision Paper outlining “a vision for users and stakeholders to propose, implement, and integrate advances to the Ethereum protocol with support for Enterprise Ethereum protocols.” In this paper the EEA discusses many topics related to Pluggable Consensus, interoperability, Ethereum protocol updates, storage and performance. By Kent Weare...
Read More

Is it Possible to Test Programmable Infrastructure? Matt Long at QCon London Made the Case for "Yes"

Mar 12 12:00pm InfoQ
At QCon London, Matt Long, QA Consultant at OpenCredo presented “Testing Programmable Infrastructure with Ruby”. Key takeaways included: it is possible to test programmable infrastructure at the unit, integration, and acceptance level; Ruby provides the power of a full programming language for integration and acceptance tests, and is often understood by both testers and sysadmins; By Daniel Bryant...
Read More

From Microliths to Microsystems: Jonas Bonr at QCon London

Mar 12 11:00am InfoQ
At QCon London, Jonas Bonér, CTO at Lightbend, presented “From Microliths to Microsystems”, and explored microservices from first principles, and discussing the architectural style in the context of distributed systems. Key takeaways included: avoid building ‘microliths’, and instead create systems that are resilient and elastic; and practice events-first Domain-Driven Design (DDD). By Daniel Bryant...
Read More

Article: Three Experts on Big Data Engineering

Mar 12 9:45am InfoQ
Clemens Szyperski (Microsoft), Martin Petitclerc (IBM), and Roger Barga (Amazon Web Services) answer three questions: What major challenges do you face when building scalable, big data systems? How do you address these challenges? Where should the research community focus its efforts to create tools and approaches for building highly reliable, scalable, big data systems? By Clemens Szyperski...
Read More

Getting Started With Vert.x and Spring in Under 15 Minutes

Mar 12 1:01am DZone Java Zone
Building Microservices was the final book covered by our company’s training program. I can strongly recommend reading it if you want to get familiar with the trendy topic of developing microservices and the different features of the architectural style itself. At the beginning of the book, the author describes a few key benefits and one of them is technology heterogeneity.
Read More

Article: Hit or Miss: Reusing Selenium Scripts in Random Testing

Mar 11 9:05am InfoQ
Just like during test execution process using an ‘exploratory’ technique, which is guided by a great deal of solid analytical thinking and a good portion of randomness, we can reuse or automate scripts to achieve similar results. All you need is a well-designed test automation solution and a bit of patience. Read the article to learn how you can use this approach in your testing activities. By Oleksandr Reminnyi...
Read More

IBM QISKit Aims to Enable Cloud-basaed Quantum Computation

Mar 11 8:00am InfoQ
The Quantum Experience team at IBM has started to open source their quantum software QISKit, writes quantum computing and information scientist Jay Gambetta. QISKit allows developers to explore IBM cloud-enabled quantum processor using Python. By Sergio De Simone...
Read More

Improving IT Performance with Continuous Delivery

Mar 11 6:20am InfoQ
The main benefit of continuous delivery is lower-risk releases; comprehensive test automation and continuous integration are practices that have the biggest impact on IT performance. Research of continuous delivery and IT performance tells us that implementing continuous delivery practices leads to higher IT performance and high performers achieve both higher tempo and higher levels of stability. By Ben Linders...
Read More

How object initialization works

Mar 11 3:24am Java Deep
You may got used to my habit writing about something special, non trivial Java feature or usage. This time it will be a little different. At least for the start. This is a video tutorial about object initialization. We have an interface. Then we have an abstract class that implements the interface and then a […]...
Read More

Spring Tips: Server Sent Events (SSE) [Video]

Mar 11 1:01am DZone Java Zone
Hi, Spring fans! In this installment, we’ll look at server sent events as implemented with Spring MVC and Spring WebFlux, the reactive web stack in the coming Spring Framework 5.
Read More

Spring Boot Profile based properties and yaml example

Mar 10 6:56pm Mkyong.com
In Spring Boot, it picks .properties or .yaml files in the following sequences : application-{profile}.{properties|yml} application.{properties|yml} Note For detail sequence or order, please refer to this official externalized configuration documentation. Tested : Spring Boot 1.5.1.RELEASE Maven 1. Project Structure A standard Maven project structure. P.S The application.yml is renamed to application-bk.yml to avoid conflicts. If […]...
Read More

Podcast: Greg Murphy on Gamesparks, Game Tuning and Orchestrating Deployment Across Three Cloud Providers

Mar 10 5:40pm InfoQ
Greg Murphy is the COO of Gamesparks, a cloud-based platform providing and a rich mobile back-end service for game developers to engage with their users. Greg takes us inside Gamesparks discussing the architecture, machine learning and what it’s like to launch in the China market. By Greg Murphy...
Read More

Ratpacked: Combine Groovy DSL With RatpackServer Java Configuration

Mar 10 4:01pm DZone Java Zone
We have several options to define a Ratpack application. We can use a Java syntax to set up the bindings and handlers. Or we can use the very nice Groovy DSL. It turns out we can use both together as well. For example, we can define the handlers with the Groovy DSL and the rest of the application definition is written in Java. To combine both, we start with the Java configuration and use the bindings and handlers methods of the Groovy.Script class to inject the files with the Groovy DSL. We start with a sample application where we use Java configuration to set up our Ratpack application:...
Read More

Creating a More Equal Workplace

Mar 10 2:21pm InfoQ
Women are leaving the tech industry because they are unhappy, don't feel valued or lack access to opportunities. We need to create environments that retain and grow employees, regardless of what they look like on the outside, argued Kate Heddleston. During her QCon London talk she suggested a process that organizations can use if they want to create equal access opportunities. By Ben Linders...
Read More

What's New With Ceylon?

Mar 10 12:01pm DZone Java Zone
Ceylon 1.3.2 is a significant minor release of the Ceylon language, with over 100 issues closed. This release introduces Ceylon assemblies, allows you to export Ceylon modules as Maven repositories, makes it even easier than before to have a mixed Java and Ceylon project in Maven, allows string interpolation in assertions, and introduces lazy initialization for attributes. This release of Ceylon has been tested with a wide variety of Java libraries and frameworks, including:...
Read More