Ibatis Tutorial: Inheritance Strategies ~ C for Coding – I believe that Ibatis really is on the "sweet spot" of complexity vs capability for persistence frameworks, offering most of the (useful) features of JPA with significantly less complexity. This tutorial is another in the series that I hope will demonstrate that.
Adam Bien – press.adam-bien.com – This pragmatic book offers the real world knowledge and code you need to develop lean but still maintainable Java EE 5 / 6 applications. Real World Java EE Patterns – Rethinking Best Practices guides you to efficient patterns and best practices in a structured way, with real world code
JPA Implementation Patterns: Saving (Detached) Entities | Javalobby – When switching from Hibernate to JPA a lot of people are dismayed to find that method missing. The closest alternative seems to be the EntityManager.merge method, but there is a big difference that has important implications. The Session.saveOrUpdate method, and its cousin Session.update, attach the passed entity to the persistence context while EntityManager.merge method copies the state of the passed object to the persistent entity with the same identifier and then return a reference to that persistent entity.
Making the Good Programmer … Better | Javalobby – If there's one point that you can take away and implement from this article it's this one. Take pride in what you do. Everything else falls into place, and you will become a great programmer if you take this advice
Apple has 91% of market for $1,000+ PCs, says NPD | Betanews – Move over Microsoft. Apple can claim big, big market share numbers, too. According to NPD, in June, nine out of 10 dollars spent on computers costing $1,000 or more went to Apple. Mac revenue market share in the "premium" price segment was 91 percent, up from 88 percent in May
Ted Husted – Embrace Your Inner Google – A few years back, when I first tried IntelliJ IDEA's refactoring tools, I felt like I was pair programming with Commander Data. In the background, IDEA would compile my code, correct my syntax, and suggest fixes when my programming got sloppy. IDEA helped me write better code in less time.
JPA Implementation Patterns: Data Access Objects | Javalobby – The abstraction provided by JPA is pretty leaky and has ramifications for larger parts of your application than just your Data Access Objects (DAO's) and your domain objects. You need to make decisions on how to handle transactions, lazy loading, detached object (think web frameworks), inheritance, and more. And it turns out that the books and the articles don't really help you here.
JSP – Create Custom Tags for Beginners | Techie Zone – JSP Tags acts as a plugin to your JSP pages. These are basically Java Classes that get executed when jsp page get rendered by server and browser. JSP comes with in build Tags like jsp:include, jsp:forward, but they are not sufficient to cater to the Web World. To overcome this problem you can design tags based on your business requirement. This article will guide you how we can create an custom tags for JSP.
Memoization in Java Using Dynamic Proxy Classes | O’Reilly Media – Memoizing a function adds a transparent caching wrapper to the function, so that function values that have already been calculated are returned from a cache rather than being recomputed each time. Memoization can provide significant performance gains for computing-intensive calls. It is also a reusable solution to adding caching to arbitrary routines.
giver – Google Code – Giver is a simple file sharing desktop application. Other people running Giver on your network are automatically discovered and you can send files to them by simply dragging the files to their photo or icon shown in Giver. There is no knowledge or set up needed beyond what the person looks like or their name to use Giver.
InfoQ: Architecting for Green Computing – In an article entitled “Green Maturity Model for Virtualization”, Kevin Francis and Peter Richardson explain how to use virtualization to reduce energy consumption. They see 4 types of computing: Local, Logical, Data Center and Cloud Computing, the last offering the most advanced form of virtualization and therefore representing the greenest computing
InfoQ: Mark Little on Transactions, Web Services and REST – In this interview, recorded at QCon London 2008, Red Hat Director of Standards and Technical Development Manager for the SOA platform Mark Little talks about extended transaction models, the history of transaction standardization, their role for web servi
ScreenSteps: Rapid Documentation Tool – ScreenSteps takes the drudgery out of creating visual, step-by-step software tutorials/guides. With ScreenSteps you can communicate software instructions clearly and quickly.
Vespa: A better MVC » Semicolon – Vespa is a refinement of the old MVC (Model View Controller) architectural pattern that better reflects how Web applications actually work. I have refined the basic MVC pattern in light of typical usage patterns I’ve encountered
Google Code Blog: OAuth Available for Google Data APIs – We love open standards, and we've just added support for a new one: OAuth is now supported on all of the APIs. OAuth is an open standard for authentication that allows applications to authenticate users without ever directly handling usernames/passwords
InfoQ: Does TDD Really Ensure Quality? – Our main result is that Test-First programmers write more tests per unit of programming effort. In turn, a higher number of tests lead to proportionally higher levels of productivity. Thus through a chain effect, Test-First appears to improve productivity
InfoQ: Kent Beck on Implementation Patterns – Kent Beck is interviewed about his new book, "Implementation patterns", the relationship between these patterns and XP, problems when adopting agile and the current status of design patterns.
Enterprise Java Community: Introducing Apache Wicket – When you’re learning a new framework, it’s helpful to gain an understanding of the terms concepts, then move on to how the pieces come together. Wicket has a few core concepts to master, but once you understand them, you’ll find Wicket much more accessibl
rain city digest: 10 Reasons to Switch from Rails to Grails – After spending a few years really enjoying Rails it was difficult to bring myself to even try groovy and grails. But my latest contract forced me to look for alternatives, and I’m glad I did. Here are some reasons that you may want to switch
google-feedserver – Google Code – Google FeedServer is an open-source Atom Publishing provider based on the Abdera Framework. Google FeedServer has chosen to implement simple backend data adapters that allow the developer to quickly deploy a feed for an existing data source such as a db
Stevey’s Blog Rants: Code’s Worst Enemy – Bill Gates, Dave Thomas, Martin Fowler and James Duncan Davidson have independently reached the same conclusion: namely, that bloat is the worst thing that can happen to code. But they all got there via painful things happening to them.
Farata Systems » A dozen of 2008 predictions – The year of 2007 was a good one. The IT job market was stable. While there were no any revolutionary changes in the ways software was developed, I believe that this was a year of rich Internet applications and Web 2.0. What?s the next big thing in IT?
Ext JS Blog – » Ext Rises in Popularity – The exciting news is that the Ext framework, for the first time, was added to the list and in it?s first year demonstrated it?s popularity. Of the 2,619 respondents, 22.5% were using the Ext framework ranking it 3rd overall.
InfoQ: DDD: putting the model to work – This talk will outline some of the foundations of domain-driven design:How models are chosen and evaluated;How multiple models coexist;How the patterns help avoid the common pitfalls, such as overly interconnected models;How developers and domain experts
JavaRanch Journal – November 2007 Volume 6 Issue 2 – Spring offers a few helper classes to do some scheduling in your app. In Spring 2.0, both the JDK’s Timer objects and the OpenSymphony Quartz Scheduler are supported. Quartz is an open source job scheduling system that can be easily used with Spring.
What is the Google Collections Library? – Kevin Bourrillion & Jared Levy are the two primary creators of the Google Collections Library, which aims to provide an extension to the Java Collections Framework. They discuss what the library is all about, its genesis, and how it will be useful to you.
InfoQ: Scrum and XP from the Trenches – The tricky part to agile software development is that there is no manual telling you exactly how to do it. This book aims to give you a head start by providing a detailed down-to-earth account of how one Swedish company implemented Scrum and XP
InfoQ: Starting Struts 2 – Struts2 is the latest manifestation of the popular Struts Java web application framework. Like its predecessor, its goals are to make web application development faster, easier and more productive than ever before.
TSS Video: Christian Bauer on JBoss Seam – In this presentation, Christian Bauer discusses how JBoss Seam simplifies the handling of stateful conversations, multi-window operations and concurrent, fine-grained Ajax requests & integrates Facelets, Hibernate, jBPM, Drools, Groovy, iText and Lucene.
Asual | SWFAddress – Deep linking for Flash and Ajax – SWFAddress is a small, but powerful library that provides deep linking for Flash and Ajax. It’s a developer tool, allowing creation of unique virtual URLs that can point to a website section or an application state.
Interface21 Team Blog » The Spring Web Flow 2.0 Vision – The goal of 2.0 is to evolve Spring Web Flow into a complete controller engine capable of handling all types of user interactions, stateless and stateful alike, with support for multiple view technologies and asynchronous event handling (Ajax) natively
gwt-ext – Google Code – GWT-Ext is a powerful widget library that provides rich widgets like Grid with sort, paging and filtering, Tree’s with Drag & Drop support, highly customizable ComboBoxes, Tab Panels, Menus & Toolbars, Dialogs, Forms and a lot more
It’s Only Software » 5 Minute Guide to Spring and JMX – I recently augmented a Spring-based project to expose some of the Spring-managed beans via JMX. Spring makes this very easy, and even if you?ve never used JMX before, this quick tutorial will let you set up your Spring beans to be viewed (and edited!) t
Android’s SDK Now Available – Android, Google’s mobile platform, is finally open to the developers. Now you can download the SDK and start to develop great applications in Java. Google launched a competition that offers $10 million awards for the most interesting apps
Upgrading to Prototype 1.6: real world examples – Recently I have undertaken upgrading to Prototype 1.6.0. I will now show you some examples of what I?ve done, how I did it and why; you might find this writeup useful when doing the same in your application.