User login

Java Lobby

Syndicate content
Updated: 21 min 18 sec ago

Breaking my Production Website: A Post-Mortem

Sun, 05/20/2012 - 04:56
The Really Short Story I had a failed deployment. I know how to handle complex deployments, and didn’t follow my own advice. In the future, I should change my automation so that it is easier to do the right thing than mess up in this way. I should also use higher bandwidth communication when discussing complex deployments with my developers. Preview Text:  ...

2-legged OAuth with OAuth 1.0 and 2.0

Sun, 05/20/2012 - 04:50
OAuth 1.0 emerged from the large social providers like Facebook, Yahoo!, AOL, and Google. Each had developed its own alternative to the password anti-pattern. OAuth 1.0 reflected their agreement on a single community standard. Preview Text:  OAuth was created to solve the problem of sharing two-legged credentials in three-legged situations. ...

The Cloudcast: PaaS Meets Data Gravity

Sun, 05/20/2012 - 04:43
The Cloudcast (.net) #37 - PaaS meets Data Gravity (43:20)Date: May 17, 2012 By: Aaron Delp and Brian Gracely Preview Text:  Brian talks with Dave McCrory (VMware Cloud Foundry) and Adron Hall (Tier 3) about the evolution of Cloud Foundry and how Tier 3 is developing and delivering their PaaS services. Sponsored:  ...

Developing a Sample Todo Desktop Application Using JavaFX and MongoDB

Sun, 05/20/2012 - 04:32
I wanted to explore learning to use MongoDB with Java and the best way to do this was to develop a toy application. And to add to this, I thought of using JavaFX and building a desktop application instead. I am building the application as I am writing this. I will upload the code onto Github once I am done with the application. Preview Text:  ...

Getting Started With RESTEasy and NetBeans IDE 7.1

Sun, 05/20/2012 - 04:31
RESTEasy is quickly becoming a favorite project of mine. RESTEasy allows you to easily and quickly create REST based services with Java. Today I’ll show you how fast you can have a minimal REST service running using NetBeans IDE 7.1 and RESTEasy.Create a new Maven Web Application using NetBeans 7.1 and call it HelloRESTEasy. Preview Text:  ...

Java 7: Closing NIO.2 File Channels Without Losing Data

Sun, 05/20/2012 - 04:27
Closing an asynchronous file channel can be very difficult. If you submitted I/O tasks to the asynchronous channel you want to be sure that the tasks are executed properly. This can actually be a tricky requirement on asynchronous channels for several reasons. The default channel group uses deamon threads as worker threads, which isn't a good choice, cause these threads just abandon if the...

Lucene Setup on OracleDB in 5 Minutes

Sat, 05/19/2012 - 09:24
This tutorial is for people who want to run an Apache Lucene example with OracleDB in just five minutes.What you need to run this example:Eclipse .Oracle DB... we will use SCOTT schema.Be Excited ;) First Minute: Quick introduction... What is Apache-Lucene ? Preview Text:  This tutorial is for people who want to run an Apache Lucene example with...

Basic XML Processing With Scala

Sat, 05/19/2012 - 04:18
Pretty much everybody knows what XML is: it is a structured, machine-readable text format for representing information that can be easily checked for the “grammaticality” of the tags, attributes, and their relationship to each other (e.g. using DTD’s). This contrasts with HTML, which can have elements that don’t close (e.g. <p>foo<p>bar rather than...

Development Without Constraint

Sat, 05/19/2012 - 04:16
A presentation on developing apps with the JCR as a data storage. This includes an interesting discussion of the general topic of RDBMS verus non-relational ( NoSQL ) database offerings. Preview Text:  A presentation on developing apps with the JCR as a data storage. This includes an interesting discussion of the general topic of RDBMS verus...

Posting a New ATOM Entry to Atom Hopper Using Node.js

Sat, 05/19/2012 - 04:14
Previously I blogged about how you can use Apache Abdera to post ATOM entries to an AtomPub server like Atom Hopper. Today I’ll show you how to do something similar but with Node.js.Note: The code below is a simplistic example and would need modifications to become production quality. This code can be used for testing purposes, etc. Preview Text:  ...

The Book That Every Programmer Should Read

Sat, 05/19/2012 - 04:06
No, it’s not Knuth’s “The Art of Programming”. I’m talking about quite an easy-to-read (compared to TAoP) book, which, in fact, does not require any engineering or mathematical background from the reader. I am talking about C. Petzold’s “CODE”. It is a truly remarkable book about how computers work. Let me explain why I think this book is so awesome. Preview Text:  ...

Learn What Platforms Can Do For You: Mini-Hacks

Sat, 05/19/2012 - 04:00
Free hands-on training and plenty of developer sessions are what you'll find at the Cloudstock portion of the Cloudforce 2012 tour, which is landing in London on May 22.   Preview Text:  Quinton Wall currently does Ruby development on Heroku, iOS programming, and defines blueprints for Social Enterprise applications. We had the chance to...

Poll: Would You Buy Facebook?

Fri, 05/18/2012 - 16:15
The hot topic in the tech world today is Facebook's IPO, wherein big-name investors are scrambling for Facebook shares initially priced at $38 per share.  These shares have already hit the market, and the price is rising quickly. We'd like to hear what you think of all this hullaballoo. Please participate in the poll below and let us know: Would you...

New Bio4j General Domain Model Schema Available

Fri, 05/18/2012 - 15:16
Hi everyone! Preview Text:  The creator of Bio4j made a general domain model including al node types and relationships in order to get a better picture of how data is related. Sponsored:  unsponsored

Real-Time Data: What To Do With It

Fri, 05/18/2012 - 14:55
At the CloudStock event in San Francisco this year, Alex Toussaint, Director, Product Management,  of Platform API Services at Salesforce.com, joined MuleSoft CTO and founder Ross Mason along with Dr. Preview Text:  I had a chance to talk with Alex Toussaint this month and ask him about some of the things he's working on. He comes from a...

Video: More Issues Around Cloud Adoption with Ben Kepes

Fri, 05/18/2012 - 14:06
CloudU Notebooks is a weekly blog series that explores topics from the CloudU certificate program in bite sized chunks, written by me, Ben Kepes, curator of CloudU. How-to’s, interviews with industry giants, and the occasional opinion piece are what you can expect to find. If that’s your cup of tea, you can subscribe here. Preview Text:  A...

Spring Integration - Splitter-Aggregator

Fri, 05/18/2012 - 05:50
Within Spring Integration, one form of EIP scatter-gather is provided by the splitter and aggregator constructs. Semantics for both of these are pretty straight forward to understand, the splitter receives an input message and returns a list of objects that are each turned into first-class messages. Those messages get routed to message handlers following which they are aggregated as a list ...

Setting up Console Debugging for PhoneGap and Android

Fri, 05/18/2012 - 04:56
In case you haven't figured it out yet, debugging in mobile is "sub-optimal". Preview Text:  In case you haven't figured it out yet, debugging in mobile is "sub-optimal". (Whatever you do - don't do a Google Images search on sub-optimal.) Brian Leroux has an epic presentation on the topic and I highly encourage taking...

Developing Your Own Solr Filter

Fri, 05/18/2012 - 04:56
Sometimes Lucene and Solr out of the box functionality is not enough. When such a time comes, we need to extend what Lucene and Solr gives us and create our own plugin. In today's post I’ll try to show you how to develop a custom filter and use it in Solr. Preview Text:  Sometimes Lucene and Solr out of the box functionality is not enough....

Infrastructure Tooling Anti-Patterns: Accumulator

Fri, 05/18/2012 - 04:34
As our (or our clients) infrastraucture grows and runs for longer durations, I have noticed that there are certaion parts of our infrastructure that are known only by certain people to a certain extent. Due to the nature of IT operations, most of the engineers stay in firefighting mode, and fix they some of the problem with a manual hotfix (be it stability related issues, security related...