Javalobby
How to Copy Bean Properties With a Single Line of Code
This article shows how to copy multiple properties from one bean to
another with a single line of code, even if the property names in the
source and target beans are different.
Copying properties from one bean is quite common especially if you are working with a lot of POJOs, for example working with JAXB
objects. Lets walk through the following example where we want to copy
all properties...
Categories: Java News
Weld Chugging Along
The first beta for the next version of JBoss' Weld is here. It has been approximately six months since JBoss released Weld 1.0.1, which added support for running on Google AppEngine. The new beta for Weld 1.1 features about 60 bugfixes and new EJB 3.1 features.
Categories: Java News
Daily Dose - New Digg CEO Enters Riot Zone
Kevin Rose announced that he's stepping down as the interim CEO at Digg and raising Matt Williams up to the position. Williams has worked in a variety of management roles at Amazon and GM. He was also the founder and CEO of LiveBid.com. From the comments below the Digg blog post, you notice the seething hostility of a Digg community that is still bitter over the revamped site (Digg 4.0). ...
Categories: Java News
Johnson: vFabric Delivers the Promise of VMware's Spring Acquisition
It didn't take VMware's SpringSource division long to integrate and wrap up some of their most recently acquired technologies into a bundling called "vFabric". In reference to today's announcement at VMworld, SpringSource CEO Rod Johnson said that vFabric was not only a new brand, but also a culmination of Spring and VMware's joint efforts since the merging of the two companies. ...
Categories: Java News
Which Continuous Integeration System is Most Popular?
Recently I've been looking into moving from Continuum to Hudson. Hudson sounds like a more complete solution to me and seems more popular. However, both solutions seem to share a similar feature set, including distributed builds. Maybe I'm swayed towards Hudson because of their mobile client and IDE integration.I'd be interested to see what CI solution you...
Categories: Java News
Conversational CRUD in Java EE 6
This tutorial will demonstrate a pattern for creating CRUD applications in JSF and Java EE 6. While this is not the only way of implementing this mechanism, it does promote re-use and can give you essentially zero code CRUD pages requiring just the view code. The goal is to provide a single structure that provides the particular feature of being both stateless or conversational where we might...
Categories: Java News
Clojure: Using Sets and Maps as Functions
Clojure sets and maps are functions. Since they are functions,
you don't need functions to get values out of them. You can use the map
or set as the example below shows.
James Sugrue
Categories: Java News
Five Things You Should Know About ...Java Generics
Generics are one of the most controversial Java language features. Generics allows a type or method to operate on objects of various types while providing compile-time type safety, making Java a fully statically typed language. In this article, I am going to talk about five things that every Java developer should know about Generics.Generics are implemented using Type Erasure
In Java a class or...
Categories: Java News
How to Clean Your Java Functions and Arguments
Have you ever been significantly impeded by bad code? (Uncle) Bob Martin, the CEO of Object Mentor, asked this question at the NDC 2010 conference this year in his first of two major presentations on the subjects of testing and code cleanliness. If you, or some developer you know is throwing bad code over the wall or passing it off to you, these two presentations will be a blessing to those...
Categories: Java News
Daily Dose - The Emotion Markup Language
The W3C is working to formalize a language of emotional states for computers. This would include more complex emoticons for human-to-human interaction as well as more human-like interaction capabilities for computers. Hopefully this means that some day our computers may be more friendly, literally.Ruby on Rails 3 Pulls Into the Station
Categories: Java News
Waste #3: Relearning
Welcome to episode three of our series "The Seven Wastes of Software Development." In episode one, we introduced the concept of eliminating waste from our software development efforts. Waste elimination can be traced all the way back to the the mid-1900's, the birth of lean manufacturing, and the Toyota Production System (TPS). This is how Taiichi Ohno, the father of the TPS, described...
Categories: Java News
Effective Road Mapping: Driving Change in Your Team
There are two things you must know in order to effectively create a roadmap. Although we'll be dealing with a technical roadmap, this applies to anyone wanting to drive change for yourself or a team.Where you are now (current location)Where you want to go (destination)
Article Type:
How-to
Categories: Java News
Hudson's in the Cloud
Fresh out of stealth-mode, the developers of CloudBees have announced their Java cloud platform to the world. The best part about this is PaaS, now in beta, is the inclusion of Hudson-based continuous integration. The service is built with ISVs in mind and it strives to be a true cloud-native infrastructure, not just a packaging of existing products with a cloud stamp on it. The CloudBees...
Categories: Java News
James Gosling Launches Java T-Shirt Campaign
James Gosling has just launched a few t-shirt designs to hold Oracle to their pledge to free Java. The CafePress store has a number of different tshirts all with the tagline "Just Free It. Hold Oracle to their Pledge", along with some mugs, buttons and magnets.
Categories: Java News
Persistent State Machine with Apache SCXML
I'm bored of reinventing the wheel. Everytime I need a state machine to
ensure my states traverse only valid transitions, I find myself either
not bothering, because I trust my coding (and write all the necessary
unit tests of course), or writing very similar code over again.
James Sugrue
Categories: Java News
Random Thoughts on Clojure Protocols
Great languages are those that offer orthogonality in design. Stated
simply it means that the language core offers a minimal set of
non-overlapping ways to compose abstractions. In an earlier article A Case for Orthogonality in Design
I discussed some features from languages like Haskell, C++ and Scala
that help you compose higher order abstractions from smaller ones using
techniques offered...
Categories: Java News
Can You Be Too Old For Software Development?
It has been a while since a good bitchmeme came about, so it is with
great pleasure that I participate in this one. Actually, is it not with
great pleasure as the issue hits close to home. The issue at hand is
regarding age in the software development
profession. This is important to me because I am 38 years old and have
been in software development for about 16 years.
Categories: Java News
Clojure Plugin For Grails
According to a post from XML co-creator Tim Bray from awhile back, Clojure is considered "the new hotness among people who think the JVM is an interesting platform" for other languages to build on, for people who think that "there's still life in that ol' Lisp beast," and for "people who worry about concurrency and state in the context of the multicore future." In...
Categories: Java News
Daily Dose - Do More with the Less Framework 2.0
The CSS3-based framework for dynamically resizing text columns on various form factors just got better. The Less Framework will resize columns in a browser from 2 columns on a smartphone, to 5 columns in a tablet or netbook, and up to 8 columns in a desktop. This framework will build sites that perform perfectly on all modern browsers (plus Android phones and iOS devices). For IE8 and...
Categories: Java News