Archive for the 'J2EE' Category

MUSCLE + Marrow = Cross Platform, distributed, client-server application framework.

Tuesday, July 3rd, 2007

At least, that’s what it’s going to end up being someday if I ever finish it. I had some time today, and was able to spend some time on the Marrow MUSCLE front-controller. I slapped a Swing GUI on the server-side component, so you can keep an eye on what’s happening on the server-node end [...]

Marrow’s got MUSCLE.

Saturday, April 28th, 2007

I haven’t updated the main project webpage yet, or completely finished all the implementation details yet, but a good 95% of the functionality is in place. It’s more than enough to write a useful, fully working application. Over the last week, the Marrow client-server application framework has gained a new protocol, one that’s based upon [...]

EJB CMP 2.x inheritance… He ain’t heavy, he’s my brother.

Monday, February 14th, 2005

The official documentation from Sun Microsystems, and the CMP 2.x specification don’t implicitly allow and provide for inheritance. In fact, most of the documentation I’ve come across says it’s flat out not possible. Lies. Lies I tell you. With a basic understanding of how the CMP container maps object fields and relations to tables, some minor sacrifices of normalization in the database layer, a few abstract classes, added interfaces, and some patience it’s entirely possible to provide basic inheritance in CMP 2.x. The description makes it sound worse than it is, and from the testing I’ve done at work over the last few months, it’s definately worth it. Afterall, what good is CMP if you can’t use basic inheritance in your entities? The following banter is an example and overview of a simple object heirarchy that becomes fairly complex within the scope of implementing the CMP inheritance. Although a bit of extra work, it makes the business logic tier a lot eaiser to work with. This design has been working flawlessly in testing for several months now, and is being primed to go into production as soon as we get all the software in place.

Project Marrow: A glimpse at my day-job

Friday, January 14th, 2005

So over the last year we’ve been working on a migration to J2EE at work (from a sloppy hacked together method of writing heavily specialized servlets that started before I got there). It became apparent toward the end of getting the data objects organized, source feeds straightened out, etc, that we would need a framework [...]