Java Lobby Announcements

Subscribe to Java Lobby Announcements feed
Updated: 7 hours 59 min ago

A New Source for MEAN Stack Resources

Mon, 2014-11-10 07:30
One of the most useful aspects of MongoDB is the MEAN stack - a JavaScript-only web development stack that consists of MongoDB, Express, AngularJS, and Node.js. It's a great way to get a full web application working with MongoDB (try this for a look at how to get started). Preview Text:  One of the most useful aspects of MongoDB is the MEAN stack...
Categories: Java

Let’s Stream a Map in Java 8 with jOOλ

Fri, 2014-10-24 08:00
 wanted to find an easy way to stream a Map in Java 8. Guess what? There isn’t!What I would’ve expected for convenience is the following method: Preview Text:  I wanted to find an easy way to stream a Map in Java 8. Guess what? There isn’t! Legacy Sponsored:  ...
Categories: Java

Java Extension Mechanism Loads All JARs

Fri, 2014-10-24 08:00
The Java Extension Mechanism is described in the Java Tutorial as a "standard, scalable way to make custom APIs available to all applications running on the Java platform." As described in Understand Preview Text:  The Java Extension Mechanism is described in the Java Tutorial as a "standard, scalable way to make...
Categories: Java

Partial Commits with Git

Fri, 2014-10-24 08:00
Every once in a while I’m working on a feature, only to discover that I need to extend another part of the code first. If I was disciplined, I would create another branch at that point. But I’m not. I end up with both the extended utility class and the actual feature as pending changes. With git it is simple to make two separate commits while ensuring that every commit compiles. Preview...
Categories: Java

Assemble Your Custom Apache Karaf with the Karaf-Maven-Plugin

Fri, 2014-10-24 08:00
I was quite happy to find out there is a Maven Plugin with which you can assembly a full Apache Karaf and include your own features/bundles. From time to time I like to test my bundles in a real environment. Because of that the plugin is a great way to save the steps of unzipping a new Karaf, adding my feature and installing it. So the plugin basically serves my laziness. But before the...
Categories: Java

How to Avoid Hash Collisions When Using MySQL’s CRC32 Function

Fri, 2014-10-24 08:00
Originally Written by Arunjith Aravindan Preview Text:  Percona Toolkit’s pt-table-checksum performs an online replication consistency check by executing checksum queries on the master, which produces different results on replicas that are inconsistent with the master – and the tool pt-table-sync synchronizes data efficiently between MySQL...
Categories: Java

Legacy Code To Testable Code #2: Extract Method

Fri, 2014-10-24 08:00
This post is part of the “Legacy Code to Testable Code” series. In the series we’ll talk about making refactoring steps before writing tests for legacy code, and how they make our life easier.As with renaming, extracting a method helps us understand the code better. If you find it easy to name the method, it makes sense. Otherwise, you just enclosed code that does a lot of things. It can be...
Categories: Java

How Is Google Analytics So Damn Fast?

Fri, 2014-10-24 08:00
TL; DR: Google Analytics stores a massive amount of statistical data from web sites across the globe. Retrieving reports quickly from such a large amount of data requires Google to use a custom solution that is easily scalable whenever more data needs to be stored. Preview Text:  TL; DR: Google Analytics stores a massive amount of statistical...
Categories: Java

Why to Use String

Fri, 2014-10-24 07:30
Recently I was tutoring juniors during a training session. One of the task was to write a class that can dwarwle maps based on some string key. The result one of the juniors created contained the following method: Preview Text:  Recently I was tutoring juniors during a training session. One of the task was to write a class that can dwarwle maps...
Categories: Java

The DSL Jungle

Fri, 2014-10-24 07:30
DSLs are a common thing in the programming world nowadays. Many frameworks and tools decide to build a DSL for their…specific things. Builds tools are the primary candidates, but testing frameworks, web frameworks and whatnot also decide to define a DSL. With these DSLs you define build steps, web routing rules, test acceptance criteria, etc. Preview Text:  ...
Categories: Java

Testers may never be happy

Fri, 2014-10-24 07:30
A few months ago, the webinar “Learn Faster: Deploy what you have – Virtualize what you don’t” discussed the dissatisfaction testers had with the completeness of their testing. In a survey run by IBM of 250 senior testers, less than 10% of testers had complete confidence in the software that was released. Preview Text:  I suspect that the...
Categories: Java

Contracts for Agile

Fri, 2014-10-24 07:30
Last week I did a presentation to the Agile 4 Agencies meet up group on the topic of “Agile Contracts” - although I believe “Contracts for Agile” might have been a better title. Preview Text:  Last week I did a presentation to the Agile 4 Agencies meet up group on the topic of “Agile Contracts” - although I believe “Contracts for...
Categories: Java

Prepare for Connected Enterprise using REST APIs

Fri, 2014-10-24 07:30
We can quote innumerable stats to impress, but there is no need, it is apparent the world is getting more connected. Today’s connectivity will seem primitive in few years as the connectivity extends beyond smartphones, tablets and computers to concepts such as devices implanted in the human body. Preview Text:  A connected enterprise offers...
Categories: Java

Attending the Web Accessibility Day

Fri, 2014-10-24 07:30
Originally Written by Shannon KellyOne Day in Maryland Companies around the globe are looking to make their web content accessible for the visually impaired. But they want to do so in the most efficient, knowledge-based way they can, so that they don’t make mistakes and waste needless funds in the process. To do that, they need the right information. Preview Text:  ...
Categories: Java

AngularJS: Different Ways of Using Array Filters

Fri, 2014-10-24 07:30
AngularJS provides a filter feature which can be used to format input value or to filter an Array with the given matching input criteria. For example you can use 'date' filter to format a Date value into human readable Date representation like MM-DD-YYYY as {{dob | date}}.On the other hand there are Array filtering feature which is very useful while filtering data from an...
Categories: Java

How the Internet of Things Will Impact Your Employment

Fri, 2014-10-24 07:30
It's pretty clear: IoT is the future. If you're working in IoT or plan to be soon, it sounds like you won't have any trouble finding a job - and getting paid, for that matter - but what does this future of employment look like for everybody else?  Preview Text:  It's pretty clear: IoT is the future. If you're working in IoT or plan...
Categories: Java

Parsing a Tab Delimited File Using OpenCSV

Fri, 2014-10-24 07:00
I prefer OpenCSV for CSV parsing in Java.  That library also supports parsing of tab delimited files, here's how:Just a quick gist: Preview Text:  I prefer OpenCSV for CSV parsing in Java. That library also supports parsing of tab delimited files, here's how Legacy Sponsored:  ...
Categories: Java

Grouping Sets: Good to Know Feature TIP# 60

Fri, 2014-10-24 07:00
Grouping sets is one of the cool feature came in SQL SERVER 2008. Lets understand here with problem and solution. Problem:-  Suppose , We want  an aggregation result in a query with different groups. Firstly we want aggregated result on first column then combination of First & second column then other column combination. So, to resolve this problem a basic traditional way is to...
Categories: Java

Putting Code of Files into Special Section with the GNU Linker

Fri, 2014-10-24 07:00
The GNU Linker (ld) is very, very powerful. This time I wanted to put all my Processor Expert generated code into its own dedicated section. This is useful for example to have a bootloader or a library inside a special area in FLASH. It was not obvious to me how to do this with the linker, with some search on the internet and some trial and errors, I finally managed that. And as always with...
Categories: Java

How to Build a Successful API Program

Fri, 2014-10-24 07:00
[This article was written by Katie Doyle.] Preview Text:  Companies who identify and expose core capabilities as well-defined, well-managed APIs are essentially making their business “programmable.” For these businesses, APIs act as an innovation layer that allows them to quickly capitalize on new market opportunities and engage with their...
Categories: Java

Pages