Java Lobby Announcements

Subscribe to Java Lobby Announcements feed
Updated: 4 hours 45 min ago

The Effects of Programming with Java 8 Streams on Algorithm Performance

Wed, 2014-05-07 07:30
Multi-paradigm programming with Java has been possible for many years, with its support for a mix of service oriented, object oriented and aspect oriented programming. Java 8 with its lambdas and java.util.stream.Stream class, is good news because it lets us add the functional programming paradigm into the mix. Indeed there has been a lot of hype around lambdas. But is changing our...
Categories: Java

Three-State Booleans in Java

Wed, 2014-05-07 07:30
Every now and then, I miss SQL’s three-valued BOOLEAN semantics in Java. In SQL, we have:TRUEFALSEUNKNOWN (also known as NULL)Every now and then, I find myself in a situation where I wish I could also express this UNKNOWN or UNINITIALISED semantics in Java, when plaintrue and false aren’t enough. Preview Text:  ...
Categories: Java

Tracking Exceptions - Part 6 - Building an Executable Jar

Wed, 2014-05-07 07:30
 If you’ve read the previous five blogs in this series, you’ll know that I’ve been building a Spring application that runs periodically to check a whole bunch of error logs for exceptions and then email you the results. Preview Text:  Having written the code and the tests, and being fairly certain it’ll work the next and final step is...
Categories: Java

Add Post Types To RSS Feed

Wed, 2014-05-07 07:30
By default WordPress comes with an in-built RSS feed allowing your visitors to subscribe to your RSS feeds to be alerted to your new articles. Preview Text:  The below code will look into getting other post types into your website RSS feed. Legacy Sponsored:  unsponsored ...
Categories: Java

See, always told you: testing is just a waste of time

Wed, 2014-05-07 07:30
Automated testing has become something people don't speak about any more. It matured to being a standard in software development, everyone is and should be practicing. No more talks at conferences, only a few blog posts and online articles from now and then. That radically changed recently, again becoming a hotly debated topic, at least after some of @dhh's quite provocative posts and his...
Categories: Java

The Five Axioms of the API Economy, Axiom #1— Everything and Everyone will be API-enabled

Wed, 2014-05-07 07:30
This is a joint post by Guest Author Craig Burton who writes at http://www.craigburton.com/ (craigburton) and 3scale’s Steven Willmott (njyx on twitter). The original axiom approach was dreamt up by Craig and we’ve iterated together since. Preview Text:  As we’ve already pointed out the claim that everything and everyone will be API enabled...
Categories: Java

Consider Using SSL? Don't Forget Choosing the Right CDN for that!

Wed, 2014-05-07 07:30
Fact #1: More and More Sites are using SSL to Secure Their Users' Transactions Everybody requires security and privacy these days. If you don't believe it, take a look at Google, Facebook and Twitter. All them are using HTTPS and SSL to secure all their webpages and API calls including simple feed presentation and search page presentation. Preview Text:  ...
Categories: Java

Unreasonable Defaults: Primary Key as Clustering Key

Wed, 2014-05-07 07:30
As you might have noticed—at least if you have read SQL Performance Explained—I don’t think clustered indexes are as useful as most people believe. That is mainly because it is just too darn difficult to choose a good clustering key. As a matter of fact, choosing a good—the “right”—clustering key is almost impossible if there are more than one or two indexes on the table. The result...
Categories: Java

MongoDB and the New PHP on Heroku

Wed, 2014-05-07 07:30
Update 5/5/14 10:45PM: Heroku’s default PHP buildpack now allows Composer to install the MongoDB extension. You do not need to use the develop branch. To enable, add “ext-mongo” to the composer.json file as described in the Solution section. Preview Text:  One of our close Platform-as-a-Service (PaaS) partners, Heroku, recently announced its...
Categories: Java

Different Root Cause Analysis Techniques and Tools

Wed, 2014-05-07 07:30
Preview Text:  It’s common to see people point fingers and play the blame game after a project fails. These blame games not only hurt the team members but also impact their morale as well. Is there a way to avoid these hurtful situations while focusing on improving process and identifying the failure’s root cause? Legacy ...
Categories: Java

Getting Things Done

Wed, 2014-05-07 07:30
No, not the book and personal productivity method by David Allen, though somewhat related in intent. I’m talking about getting things done in software development. Preview Text:  Both timebox-oriented [e.g. Scrum] and flow-oriented [e.g. Kanban] methods try to emphasize getting things done so that they can be used earlier and provide value. ...
Categories: Java

Groovy Goodness: Extra Methods for NIO Path

Wed, 2014-05-07 07:00
Groovy adds a lot of extra methods to the File object to work with the contents or find and filter files in a directory. These methods are now also added to the java.nio.file.Path class since Groovy 2.3. Preview Text:  Groovy adds a lot of extra methods to the File object to work with the contents or find and filter files in a...
Categories: Java

The Myth of the Clean Cut-Over and Security

Wed, 2014-05-07 07:00
[This article was originally written by Kim Singletary.] Preview Text:  Live migration is starting to become a cloud differentiator. Giving business an easy path to utilize the most efficient computing instances as they become available. This only relates to the optimized computing and storage options. Legacy ...
Categories: Java

Me and My Boss – The Saga Continues With Basic Tier Azure Virtual Machines

Wed, 2014-05-07 07:00
Man, my boss is always on my case. After what I did with Azure Mobile Services with him, he’s always after me. So this Friday, he calls me up in his office and following conversation happens between us: Boss: The Virtual Machines we’re hosting in Azure, we want to bring the cost of them down.
Categories: Java

@OneToOne With Shared Primary Key, Revisited :)

Tue, 2014-05-06 08:00
Long time ago, I wrote a post @OneToOne with shared primary key. Today I would like to return to this problem, with solution based on @MapsId annotation introduced in JPA 2.0 Preview Text:  Long time ago, I wrote a post @OneToOne with shared primary key. Today I would like to return to this problem, with solution based on @MapsId...
Categories: Java

Groovy Goodness: More Efficient Tail Recursion With TailRecursive Annotation

Tue, 2014-05-06 08:00
Since Groovy 1.8 we can use the trampoline method for a closure to get better recursive behavior for tail recursion. All closure invocations are then invoked sequentially instead of stacked, so there is no StackOverFlowError. As from Groovy 2.3 we can use this for recursive methods as well with the @TailRecursive AST transformation. Preview Text:  ...
Categories: Java

How to Generate a Random String in Java using Apache Commons Lang

Tue, 2014-05-06 08:00
In a previous post, we had shared a small function that generated random string in Java. It turns out that similar functionality is available from a class in the extremely useful apache commons lang library. If you are using maven, download the jar using the following dependency: Preview Text:  In a previous post, we had shared a small function...
Categories: Java

Java ME 8 Arrives

Tue, 2014-05-06 08:00
Java ME 8 is now here, just a short while after Java SE 8. From my personal experience many developers still strongly associate Java ME with feature phones and are far too quick to not pay enough attention to it. It is important to remember that Java ME is really about running Java on any small devices, not just feature phones. This means that Java ME can be hugely important for the emerging...
Categories: Java

NoSQL or NoACID: The Reality of the SQL vs. NoSQL Debate

Tue, 2014-05-06 08:00
NoSQL vs. SQL is a rather contentious topic: everybody loves comparing databases (to MongoDB, most of the time), explaining their reasons for abandoning NoSQL (or moving to it), and just generally trashing one solution or another. It's a very dramatic space. Preview Text:  NoSQL vs. SQL is a rather contentious topic: everybody loves comparing...
Categories: Java

Spring Scala Based Sample Bean Configuration

Tue, 2014-05-06 07:30
I have been using Spring Scala for a toy project for the last few days and I have to say that it is a fantastic project, it simplifies Spring configuration even further when compared to the already simple configuration purely based on  Preview Text:  I have been using Spring Scala for a toy project for the last few days and I have to...
Categories: Java

Pages