Patterns of Persistence
Ryan's Blog
Design | Tuesday April 22, 2008 | By ryan
Patterns of Persistence, and article written by myself, Jim Majure and Travis Klotz has been published. It can be found at the below links: Patterns of Persistence, Part 1 : Strategies and best practices for modern ORM tools Patterns of...
IBM DeveloperWorks Article
Mutant Mumblings
article developerworks hibernate ibm jim ryan | Hibernate | Tuesday April 22, 2008 | By travisklotz
It has taken almost six months, but the article Jim , Ryan and myself wrote for IBM DeveloperWorks has just been published!
Go check it out!
Patterns of persistence, Part 1: Strategies and best practices for modern ORM tools
Patterns of...
The Observer Pattern in Practice
Sud's Blog
observer patterns | Java | Tuesday April 15, 2008 | By sudhakar
If you've googled Design Patterns in general you've probably stumbled across many good sites ( www.sourcemaking.com being one of my favorites). This blog post is about how I used a specific design pattern (Observer in this case) to solve a specific problem....
How not to delete
Mutant Mumblings
annotations custom delete eric hibernate sql | Hibernate | Thursday April 10, 2008 | By travisklotz
I was talking to my buddy Eric the other day and he told me about a business logic problem he had been having and the very elegant solution he came up with using Hibernate. The problem was so common and the solution so simple (and now that I know it, so...
Pesky "Access Restriction" issue in Eclipse 3.2
Sud's Blog
eclipse rcp | Java | Monday March 31, 2008 | By sudhakar
If you are developing plugins using Eclipse PDE, here's an issue you might run into in Eclipse 3.2 (haven't confirmed on 3.3.x yet) when referencing classes in plugins listed in the dependencies tab of MANIFEST.MF
" Access restriction : The type...
JiBX Flexible Collections
Ryan's Blog
Design | Friday March 21, 2008 | By ryan
In a previous post I talked about some of the difficulties I had with JiBX. I was using JiBX to map to the vendor neutral Acord Life Insurance schemas. One recurring theme in the Acord schemas is repeating elements without a wrapping tag: ...
The JiBX Conundrum
Ryan's Blog
Programming | Monday February 18, 2008 | By ryan
Overview JiBX is a binding framework from XML to Java Objects and back. JiBX could be used in place of frameworks like XMLBeans, Castor or just plain JDOM parsing. JiBX works through a JiBX binding file. It essentially connects a...
Just getting my feet wet in Open Laszlo
Ying
code flash lzx openlaszlo php shoutbox source | Rich Internet application | Wednesday February 13, 2008 | By ying
here's my shoutBox written in openLaszlo frontend and PHP backend.
Try closing the shoutBox, it is animated :)
type="application/x-shockwave-flash">
Click here if you do not see the flash embeded
So the idea of writing this simple application is...
Implicate Polymorphism in Hibernate
Paul
hibernate | Java | Tuesday February 05, 2008 | By paul
Implicate polymorphism in hibernate is the ability to query on a superclass or interface and return a collection that is a mix of all of the sub classes or implementations that meet those criteria from several tables.
For example, lets say you have the...
Day 1 at Source Allies
Sud's Blog
getting started | General | Tuesday January 22, 2008 | By sudhakar
So today was my first day at Source Allies and I thought I'd kick of my blogging with what else but "My First Day at Work" post.
My morning commute to work was probably the most focussed driving I've ever done. The first thing I probably need to do is...
toString covers up nullpointer
Ying
java nullpointer tostring | Java | Tuesday December 04, 2007 | By ying
While the project I'm working on is ready for production, I've gotten a few bug reports from the end users. One of them comes from a print page of an event schedule.
Here's the data model
Event has many Timeslots which has many Appointments, Timeslots...
CRUD Applications in Spring MVC
Jim Majure's Blog
crud mvc spring | Java | Sunday November 18, 2007 | By jim
This blog describes the approach that I took in a recent project to implement simple CRUD functionality using Spring MVC. I had the following goals for this project:
Allow basic CRUD functionality for a set of Hibernate-persisted objects.
Maintain a...
Howto embed & configure Mule 2.0 and ActiveMQ in a...
Matt's Blog
2.0 activemq amq driven endpoints esb java jms message mule namespaces oss pojos spring | Java | Monday October 22, 2007 | By mattvincent
Embedded Mule, ActiveMQ & Spring Overview This post illustrates how to setup an open source Enterprise Service Bus (ESB), messaging broker and JMS 1.1 provider using Spring integration. After spending some time wiring up Mule 1.4.3 and...
Clear left workaround
Ying
clear-left css ui ui-design web-design workaround | UI Design | Thursday October 18, 2007 | By ying
You may have run into this problem, you may have not. But I found an acceptable workaround to this particular problem.
Here’s the scenario.
So I have a two column layout where my navigation list (red) is floated to the left and my main content is...
How to STYLE a table using CSS (JSF examples)
Ying
css framework java jsf single-application-multiple-clients table ui | UI Design | Thursday October 18, 2007 | By ying
Tables are very important parts of the web interface. They are (hopefully) used for tabular data. It is one of the oldest and most basic HTML presentation tag but in order for it to smoothly fit into the new CSS age, we need to look at the most practical way...
Flattening the Web App Stack.
Paul
Java | Monday October 15, 2007 | By paul
Last week I read an article by Allen Holub called "Why getter and setter methods are evil" (http://www.javaworld.com/javaworld/jw-09-2003/jw-0905-toolbox.html) It basically states that by creating getters and setters in objects you are exposing the inner...
Build Automation - Too Easy to Pass Up
Ryan's Blog
Programming | Monday October 15, 2007 | By ryan
This week I setup continuous builds and manual click-to-build sort of process using Luntbuild and Ant. I was really surprised at how easy it is to use and maintain. Then I began wondering why these automated build systems aren't more...
Integrating Acegi with a Windows 2003 Small Busine...
Mutant Mumblings
acegi ldap spring windows | Acegi | Tuesday October 09, 2007 | By travisklotz
After using Acegi for the last year or so, i have needed to integrate a half dozen applications with Microsoft Active Directory. Doing this the first time was fairly painful because I couldn't find any good examples of what the configuration should really...
Using Acegi with JSF and Facelets
Mutant Mumblings
acegi facelets jsf | JSF | Monday October 08, 2007 | By travisklotz
A few months ago I was having a hard time getting Facelets and Acegi working properly together. In the past I had gotten JSF+JSP to work with acegi following a great article over at the MyFaces Wiki , but replacing JSP with Facelets causes a few new issues...
Learn a New Language
Ryan's Blog
Programming | Thursday October 04, 2007 | By ryan
In the Pragmatic Programmer, Andy and Dave suggest learning a new programming language every year. I definitely agree with this! I think that it is very important for developers not to be stuck with just one language and another way to keep...
Eclipse Tips
Ying
assocations eclipse file myeclipse tips | General | Wednesday October 03, 2007 | By ying
In order to clean up the project view in Eclipse, you can hide the files you don't need. First of all, make sure you're in the Java Perspective (Window ? Open Perspective). Then click the little (down) arrow in the top right corner of the Package Explorer...
Cutest Firefox Poster Ever!
Ying
General | Thursday September 20, 2007 | By ying
Travis just sent me this cutest Firefox poster!! Everyone should get one.
I was very enraged by the JSF tag
h:selectOneRadio
Because it renders the radio buttons with the TABLE tag @_@ instead of something CSS friendly like list or div tags. ...
Exception Handling in Java
Jim Majure's Blog
Java | Thursday September 13, 2007 | By jim
As a consultant working on J2EE applications, it never ceases to amaze me how poorly exception handling is done in mission critical applications. It seems that often the first thing that I do when I begin working on an application in a new engagement is to...
Saving Time with Spring Extensible XML Authoring
Mutant Mumblings
java spring | Spring | Thursday August 30, 2007 | By travisklotz
The Problem
When building CRUD screens for hibernate objects you end up
building and configuring many different application layers for each and every
one of your CRUD objects. For example I usually
end up needing the following objects when...