Monday, June 28, 2010

Dynamic Spring Beans

Ever wonder how to dynamically change the class used for a Spring Bean at runtime without modifying your war file in JBoss? After lots of trial and error i put the two important pieces of this puzzle together. The first and probably most important part of the process is the use of a Static or instance bean factory. This handy little device allows for dynamic determination of a bean's class at startup time. The easiest thing to do is to create a static factory because it involves less beans. Now dynamically changing the bean at jboss startup time without changing the war took a little more research. To handle this it involves some JNDI bindings in the jboss-services.XML and the addition of a J2EE property bean in your spring file. The spring property bean loads the value from the jndi binding and then it can be passed to the bean factory. VoilĂ  you can easily switch between implementations of an interface without a recompile and without changing your war file.

Sunday, June 27, 2010

Cape Cod Part Five, The Final Chapter

We had a fun filled and packed Friday with trips to the ocean beach, the yummy Corner Store burrito place, pond swimming, pizza and finally s'mores. Coming home yesterday was bittersweet, the obvious 'bitter' part being the leaving the vacation house and all of its fun, but sweet is being back at our own house and bed. The whole week was pretty amazing with the exception of Kaleb's sleeping patterns and occasional bad behavior. I definitely ate food like I was loading up prior to going on the Biggest Loser, ice cream, pizza, beer, two helpings of everything at dinner and big old sandwiches everyday. I probably spent a little too much time on the iPad, MacBook and iPhone, but that is relaxing to me. Unfortunately due mostly to the increased number of children in our family I was unable to work on iPhone-iPad apps, but I think I have some good ideas and hope to schedule a couple nights a week to them. As always it was great vacationing with Cara, Jeff and Maddox, many thanks to them for putting up with the chaos that comes along with our family and also Kaleb's nearly disconcerting obsession with "Cawa".

Now it is time to go back to work for a couple weeks before we once again head out for a week long vacation on the Jersey Shore with the extended Riebe family. The Cape trip was the perfect dry run leading up to the expected craziness that is bound to ensue down near home turf of Snookie and 'The Situation'. I hope Jersey can handle "Parkles", Kaleb's new nickname after trying pop rocks and announcing his mouth was 'parkling'.

Here is the last round of photos:

Cape Cod Part Five

Thursday, June 24, 2010

Cape Cod Three & Four

I am a bit late with Cape Code Part Three because of the internet problems at the house. Today we went to Nickerson State Park twice, we initially went to do a little beaching, but it was kind of cool with the wind so we went home and then came back later to do a little hiking. Kaleb was a champ and must have walked over a mile before requiring a lift up on my shoulders. We then went swimming for about a half an hour. Here are the photos.

Cape Cod Part Three


Cape Cod Part Four

Monday, June 21, 2010

Beach Day, Again ;-)

After another horrid night of sleeping by Kaleb, we gathered up the toys, blankets, bags, umbrellas, diapers, etc... and went to Head of the Meadow Beach We were one of like 6 cars there, which goes to show it pays to go in the offseason. Good times were had by all including the construction of a stone road for Kaleb's tractors and some very successful skipping of stones.

On the way home we stopped at this great Pizza/Ice Cream/Espresso shop and had lunch. The pizza was "fire kissed" and tasted delicious. The ice cream selection was amazing with flavors like, Maple Bacon, Mocha Fudge Brownie, and Celebration cake. We had our own individual ice creams and also bought some pints for the road. It was called Savory and the Sweet Escape, the web site seems to be down, but it is right on Route 6 in Truro.

I spent the rest of the day in a state of complete exhaustion, so now I am ready to hit the hay.
Cape Cod Part Two

Sunday, June 20, 2010

First Full Day of Vacation

We completed the first full day of vacation and so far it has been wonderful. The only bad part so far has been Kaleb's sleeping habits. He was up this morning at 2AM and then 5AM. This isn't really new for him and I think it is related to how damn bright it is at 5AM. We went to the beach today and set up our little tent in the 30MPH wind. Kaleb was really brave and went in the water and even got his hair wet which is a huge leap forward for him.

Jeff and Jennifer are getting dinner ready, tonight dinner consists of Bonanaza Steak tips(don't know what flavor that is, but it looked good in the store.) and Basil, parmesan, sun dried tomato chicken. Tonight I hope to do a little iPhone app development, my goal for the week is to improve the MoonLite app and to get started with a graphical app for the iPad. We'll see how far I get given my current level of exhaustion.

Here are some pictures:
Cape Cod Part One

Tuesday, June 1, 2010

More Photos

I took a little vacation and haven't been to work since last Thursday. Of course as of today I am now feeling sick and I don't know what symptoms are related to allergies and which are related to having a cold. Arghh! I have been doing a ton of family historian stuff which includes importing all the photos from the last few weeks and uploading to Picasa. So here they are.

Discovery Day at Joppa Flats


Day Trip to Portland


Annual Canoe Trip


Gagas Birthday


Parker River Visit