Bens Stuff

Thursday, May 13, 2004

More logging stuff

I'm not obsessed with logging, really I'm not. But our current logging system, while ahead of it's time when first written in 1998, is becoming antiquated. I'd love to replace it with log4j but that would be un-possible ;) for the time I have left at this company (more on that later). Anyways, the article below talks about asynchronous logging using JMS (and Hibernate too, which I couldn't care less about). I don't want to log to a database, but to a file, or perhaps to our mainframe. But doing it asynchronously would be really neat as we wouldn't take a performance hit for keeping it on.
I'd like to make it so I could use any JMS provider instead of the app server's built in one. We use Websphere 5 now, but the company is planning on switching over to Tomcat because of costs. I'm sure there are some open-source JMS packages out there...just have to find them. Anyways, here's the link: http://www.javaworld.com/javaworld/jw-05-2004/jw-0510-logging_p.html

AOP profiling

Performance Analysis of J2EE Applications Using AOP Techniques

I have been thinking about using AOP to add some stuff to my portal project. One of the ideas I and my boss have had for quite a while is allowing admins to emulate a customer for troubleshooting purposes. However I need a way to provide an audit trail for security purposes. Using AOP, I could add aspects to write a log message for each of my command procedures only if an admin is using it on behalf of a customer. Or I could keep it on always to provide an audit trail for everyone. Of course our server admins would need to keep that log file trimmed, or add additional diskspace to the server.

some thoughts about this blog

What am I going to use this blog for? That seems to be the question thats keeping me from being active in it. So lets see...I want to talk about Java programming, my job (or soon to be unemployment), my life, my wife, and my kats. Mostly I'll be talking about Java since that's what I do for a living. I may use this spot initially as a link repository. Then I'll come back and talk to myself about it and perhaps use the stuff in a project that I'll of course share.
Anyways, on to the links...

Tuesday, May 11, 2004

First Post!!!

Well this is my first blog and my first personal webpage since 1995. Ah...but don't let that fool you, I've been a web developer for many years now. Anyways, I'll update this as I have time to and hopefully you'll learn a little about me as we go along...