OnlyJava is your source for Blog Aggregation in the Java industry

Groovy Goodness: Uncapitalize Strings

 Mark As Read    

Since Groovy 2.4.8 we can use the uncapitalize method on CharSequence objects. The capitalize method was already available for a long time, but now we have the opposite as well.In the following exampl...

GroovyBlogs.org 15 hours, 16 min ago

Spring Boot and Cache Abstraction With Hazelcast

 Mark As Read    

Previously we got started with Spring cache abstraction using the default cache manager that Spring provides. Although this approach might suit our needs for simple applications, in the ...

GroovyBlogs.org 15 hours, 39 min ago

Package versions in Tribblix

 Mark As Read    

All packages in Tribblix are versioned. If you look at the pages on the package repository you can see the current version of each package in the repo. On an installed system the pkginfo -x command will give you the package description and version.As Tribblix is created from different sources, the meaning of the package version can vary.For illumos...

Deploy a Ratpack app on Google App Engine Flex

 Mark As Read    

The purpose of this article is to deploy a Ratpack web application on Google App Engine Flex.For my demos at conferences, I often use frameworks like

GroovyBlogs.org 1 day ago

Beginning Oracle WebCenter Portal 12c book“ Published!!

 Mark As Read    

This book is intended for beginners,expert and software architects, project manager , who are working with WebCenter Portal implementation.Somebody wants to developer rich enterprise portal with WebCenter Portal with WebCenter content and other technologies. Little bit ADF knowledge required. http://www.apress.com/gp/book/9781484225318 amazon Chapt...

TechArtifact 1 day ago

Groovy Calamari - Issue 64 - 13th Jan 2017

 Mark As Read    

Comment Last Monday, I joined OCI. I've been writing this newsletter for 20 months. You probably have realized, Grails is one of my passions. I have often linked to content c...

GroovyBlogs.org 3 days ago

Automating Testing for Generated HTML Content using Gradle

 Mark As Read    

We are going to discuss generated HTML content and how to validate it in an automated fashion. The results will be appropriate to work into your continuous integration (CI) pipeline. In my experience ...

GroovyBlogs.org 3 days ago

Day 1 of Gr8Conf IN 2017 – A Groovy Start to the Year

 Mark As Read    

GR8Conf IN 2017, the second Indian edition of the GR8Conf IN was held on the first week of January in New Delhi. GR8Conf is an independent series of conferences in India, Denmark and the US that is de...

GroovyBlogs.org 3 days ago

Links for November 22nd through January 11th

 Mark As Read    

Mobile Website Speed Testing Tool from Google – Find out how well your site works across mobile and desktop devices. – Find out how well your site works across mobile and desktop devices. Inferno – An extremely fast React-like JavaScript library for building modern user interfaces. – An extremely fast React-like JavaScript l...

Serenity Tricks With Java 8

 Mark As Read    

Java 8 came out back in 2014, but I still find many teams not making as much use of its features as they could. Arguably the biggest new feature in Java 8 were Lambda expressions, which finally brought a taste of functional programming to the Java world. In this article, I want to give a simple example of how Java 8 and Lambda expressions can make ...

Getting AccessExternalSchema to Cooperate

 Mark As Read    

I have been trying to execute mvn jaxws:wsimport by using the Maven JAX-WS plugin: <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>jaxws-maven-plugin</artifactId> <version>${maven.jaxws.plugin}</version> <executions> <execution> <goals> ...

The Top Differences Between Java, Scala, Groovy, Clojure, and Kotlin

 Mark As Read    

For more like this, visit the Takipi blog. It doesn’t matter if you’re developing in Java, Scala or any other JVM languages, there’s always something new to learn about from other JVM languages. Some ...

GroovyBlogs.org 7 days ago

The Top Differences Between Java, Scala, Groovy, Clojure, and Kotlin

 Mark As Read    

For more like this, visit the Takipi blog. It doesn’t matter if you’re developing in Java, Scala or any other JVM languages, there’s always something new to learn about from other JVM languages. Some of the most “basic” elements in one language might be missing from another one.

How to Write a Quick and Dirty Converter in jOOQ

 Mark As Read    

One of jOOQ's most powerful features is the capability of introducing custom data types, pretending the database actually understands them. For instance, when working with SQL TIMESTAMP types, users mostly want to use the new JSR-310 LocalDateTime, rather than the JDBC java.sql.Timestamp type. In jOOQ 3.9+, this is a no-brainer, as we’ve final...

Java Memory and CPU Monitoring Tools and Techniques

 Mark As Read    

This article talks about the basic commands, tools, and techniques to monitor JVM’s Memory and CPU. I will be providing details about the nuances of these tools and when and how they could be used. I believe, a Java developer should leverage some of these techniques to fine-tune the code and set the right JVM parameters, while taking the code, all ...

Staring Into My Java Crystal Ball

 Mark As Read    

Many years ago, when I was working at Sun doing Java Evangelism, a friend of mine bought me a genuine crystal ball. He said I was always trying to tell people about the future of Java, so I might as well be appropriately equipped. Since this is the first week of 2017 (happy new year), I thought I’d get my crystal ball out and risk making some pre...

Groovy Calamari - Issue 63 - 6th Jan 2017

 Mark As Read    

Comment Happy new year! Ready for GR8Conf India ? It starts tomorrow and the tracks look interesting. I will probably link to some of its content in the next weeks. In the wo...

GroovyBlogs.org 10 days ago

Significant Software Development Developments of 2016

 Mark As Read    

This post is my personal and opinionated assessment of some of the most significant developments related to software development in 2016. This is my tenth year for this annual post and my previous years' assessment are available for 2015, 2014, 2013, 2012, 2011, 2010, 2009, 2008, and 2007. As with these previous years' assessments, this assessment ...

GR8Conf IN is back!

 Mark As Read    

After the successful GR8Conf IN 2016, we are proud to host GR8Conf IN 2017, India's biggest developer conference dedicated to the Grails and Groovy community. Like last year, we have received co...

GroovyBlogs.org 10 days ago

The Truth of Java Exceptions: What's Really Going on Under the Hood?

 Mark As Read    

For more like this, visit the Takipi blog. Unlike finding out how a sausage gets made, a deeper understanding of Java exceptions is a piece of knowledge you wouldn’t regret learning more about.

Java Gotcha: Parsing Strings Using SimpleDateFormat

 Mark As Read    

The other day, I was trying to parse a date string into a date object using SimpleDateFormat to check for the validity of the date string. I had the SimpleDateFormat defined as: SimpleDateFormat expiryDateFormat = new SimpleDateFormat("dd/MM/yyyy");

Java SE 8, 9 and Beyond [Slides]

 Mark As Read    

The Philly JUG continues to march forward under new leadership and I was honored to deliver the September talk(s!?) myself. As ironic as it may seem, the Philly JUG had not had a dedicated talk on Java SE 8 and it was definitely time to close that gap. Fortunately, I have just such as talk handy titled "JavaSE.Next — Java SE 8, Java SE 9 and B...

New @RequestParam Annotations in Spring 4.3

 Mark As Read    

Earlier in Spring/Spring Boot, to Map a GET or POST or DELETE or any HTTP method request handler, we would write something like below: @RestController @RequestMapping("/api/books") public class BookAPIController { @RequestMapping public ResponseEntity<?> getBooks(){ } @RequestMapping("/{book_id}") public Respon...

How to Reduce Long GC Pauses

 Mark As Read    

Long GC pauses are undesirable for applications. It affects your SLAs, it results in poor customer experiences, and it causes severe damages to mission-critical applications. Thus, in this article, I have laid out key reasons that can lead to long GC pauses as well as potential solutions to solve them. 1. High Object Creation Rate If your applicati...

This Week in Spring: Spring 5.0 M4, AMQP, and Unit Testing

 Mark As Read    

Welcome to another installment of This Week in Spring! We’re now squarely in 2017, and as always, there is much to cover! This is also the first week of the year. I note it with some pride because it also marks the 6th anniversary of the first installment of This Week in Spring, in January 2011, which I’ve since continued every Tuesday without fail...

''Tell, Don't Ask'' in Elixir: A Story of Pattern Matching

 Mark As Read    

“Tell, Don’t Ask” is a well-covered topic within object-oriented programming communities. Its goal? Encourage encapsulation by having the caller tell an object to do something instead of checking on state and acting upon it. Almost at odds with the control couple code smell, our goal is to have the caller issue explicit commands without concerning ...

A Fast, Flexible JSON Library for Java

 Mark As Read    

Don't we already have objectMapper.readValue? Why another JSON library? I found myself stuck in a couple of situations, and jsoniter (json-iterator) really worked for me: Working with PHP: You want to int, so they might give you 100 or "100". You want an object, so they might give you [] as an empty object.

Java EE, Microservices, and HTTP/2 at App Dev Trends [Slides]

 Mark As Read    

The App Dev Trends conference was held Dec. 4-9 in Orlando, Florida. Focused on practical enterprise development, it is a brand new part of the popular Live! 360 events. It is chaired by the well-respected veteran technical journalist John K. Waters, editor-in-chief of the Application Development Trends magazine. App Dev Trends helped bring a Java ...

Implementing DFS and BFS With Java 8 Streams

 Mark As Read    

Hello, everybody! Searching through trees is one of the standard problems of every programmer. Not least because it is a standard job interview question. And as I read and watched a lot about functional programming in Java 8, I considered writing an implementation of the BFS and the DFS with the help of streams.

JUnit Testing Using EasyMock

 Mark As Read    

JUnit is one of the most popular frameworks for performing Java UT. Mocking is also an aspect that goes hand in hand with JUnit. Unit testing is, of course, performed by developers to test the code they've written. Let’s consider:

The Non-Jigsaw Improvements of Java 9

 Mark As Read    

Although the flagship feature of Java 9 is modularity, a large number of other enhancements are planned for this release. This article will provide an overview of those features that are scheduled for Java 9 release but are not as famous and glorious as the Jigsaw. Reactive Streams Reactive Streams are a contract for asynchronous stream processing ...

If You Wrote Java in 2016, Here Are the Trends You Couldn't Have Missed

 Mark As Read    

See more posts like this at Takipi. There are a lot of trending topics when it comes to code, and trying to keep up with everything that’s going on is a full-time job on its own. If you’re wondering how to separate the wheat from the chaff, we’ve gone ahead and done the work for you.

Grails Diary - weeks 50-52 in 2016

 Mark As Read    

Three weeks has passed since the last edition, and GR8Conf India is taking place in the end of this week. Merry Christmas and Happy New Year greatings is almost a tad late - but here is the 137th...

GroovyBlogs.org 13 days ago

Programming Android

 Mark As Read    

What does it take to build well-engineered Android applications? Explore Android's core building blocks and APIs in depth with this authoritative guide (updated to cover the Ice Cream Sandwich version of Android), and learn how to create compelling apps that work on a full range of Android devices. You'll work with proven approaches to app design a...

Java 13 days ago

How to Perform event on successful login via Spring Security in Grails

 Mark As Read    

Some applications require to store and show last login of the user which is quite common. With this feature a user can verify the last login date and time upon successful login. I would like to explai...

GroovyBlogs.org 13 days ago

Gradle Goodness: Getting Project Info Into Rule-Based Model Configuration

 Mark As Read    

Rule-based model configuration in Gradle allows us to have a graph of objects with dependencies that are resolved by Gradle. To make this work, Gradle needs to know about the objects in this model spa...

GroovyBlogs.org 13 days ago

Learn Drools (Part 7): Salience

 Mark As Read    

Let's quickly summarize how Drools works. Rules are written on .drl files, facts or POJOs are inserted in the Knowledge Base, then rules are applied on each fact. If a "When" part of a rule satisfies a fact, the "Then" part will execute. Having said that, one question just popped into my mind. If multiple rules match a fact, in ...

Gradle Goodness: Getting Project Info Into Rule-Based Model Configuration

 Mark As Read    

Rule-based model configuration in Gradle allows us to have a graph of objects with dependencies that are resolved by Gradle. To make this work, Gradle needs to know about the objects in this model space. The model space is populated with objects of our own and with objects from Gradle. At the time of writing this blog post, we cannot interact with ...

Developing a Geospatial Webservice With Kotlin and Spring Boot [Video]

 Mark As Read    

As described in this announcement on the Spring blog, it is now easy to create a Spring Boot application using Kotlin. Thanks to a sample geospatial messenger application, we will show how Spring Boot and Kotlin share the same pragmatic, innovative, and opinionated mindset to allow you to build simple but powerful projects.

The Essential Java 9 Feature You Probably Never Heard Of

 Mark As Read    

For more articles like this, visit Takipi. Java 9 is set to release in July 2017, and it will come with a list of new and revised features, methods, and other elements. In our search through the JDK enhancement proposals (JEP), we came across JEP 266. It holds some interesting updates to CompletableFuture, Concurrency updates and support for React...

Spring Boot Starters

 Mark As Read    

Ho, ho, hooo! It looks like all members of Infinispan Community have been nice and Santa brought you Spring Boot Starters! This will make you even more productive and your code less verbose!

Java Bullshifier: Generate Massive Random Code Bases

 Mark As Read    

For more articles like this, visit Takipi. It's the command line tool you’ve been waiting for. Or not. After all, it’s pretty esoteric. Either way, it’s pretty useful to some and an amusing utility to others. Bullshifier is an internal OverOps tool developed by David Levanon and Hodaya Gamliel. It’s used in order to test some of our monitoring capa...

Enhancing JAX-RS Project Analysis With JavaDoc [Video]

 Mark As Read    

Recently, I released version 0.12 of the JAX-RS Analyzer. As a main improvement, JavaDocs of JAX-RS resources will now be taken into account for Swagger JSON. The Maven plugin usage is updated to:

Java and the Blockchain [Slides]

 Mark As Read    

I spoke last month at the Sydney JVM Meetup about Ethereum and web3j. The slides from the talk are available below. Java and the Blockchain: Introducing Web3j from Conor Svensson

Get release details into your Grails-3 application . . .

 Mark As Read    

It is always a good practice to make application release details like: commit id, version number and build tag etc. available within the application for display as a reference to know the current depl...

GroovyBlogs.org 15 days ago
Java
Welcome!
OnlyJava aggregates blogs for the Java industry.
Custom Feeds
Add any RSS feed to the information you read daily.
Blocked Feeds
Block feeds to remove blogs you’re not interested in.
Account Settings
Customize the site by adding or removing feeds.

About Us

OnlyJava is your source for all your Java news.

Have a Suggestion for Us?
Know of a Java blog that we're missing? Let us know!

Share OnlyJava.com