Monthly Archives: September 2004

stand alone bug tracker

I have to manage about 5 or 6 small independent projects I am working on. As for any projects, mines have bugs too. So, I have asked mr.google for some lite, stand alone bug tracker system. After browsing to a couple of company sites I have found out that all available solutions are web based. I do not need this. I would like to have something very simple – Java is prefered 🙂 – using a direct connection to some embedded database. Is there something like this?

Update: I have found one: BugCollector Pro Defect Tracking Software for Windows. As you can see from its name it has only one drawback (guess!).

3 Comments

Filed under personalog

marketing AOP

This (short) thinking process started when commenting on Cedric post: AOP Still Not There.
The first think I have in mind about this is: it is here, it is enabled to be here, but we are afraid of using it :-). Involving a new technology in your solutions is not an easy process, it must pass through different steps of beaurocracy, it must survive unaware critics, it must survive your real scenario. Moreover it must offer you a better solution. And I guess this is the criteria where AOP may fail :-(. I don’t want to be missunderstood! AOP will not fail the “better solution” criteria just because it is not best suited for solving a range field of problems, but because the war of acceptance takes place on wrong dimension. The tech guys fight this battle against the marketing, financial and management guys. It’s like saying let the tech guy sell some stuff. While they will be (maybe) able to present it from a technical point of view in the brightest colors and they may underline a full set of benefits, the other army has a way to large strategy/tactics to contra-atack. A short version of this fight would look like
Tech Guy: – Hey, I have analysed this problem and I consider that the benefits of adopting this solution will be outrageous. I do not count here the fact that the code will become clearer and more maintanable, but I see some oportunities in here to solve those damn issues we are facing for some time.
Others: – Hmmm…, ya, you are right. But how well do we know this stuff? Who are the supporters of this? (is there any giant company supporting this?)
Tech Guys: You know there are in fact some big supporters of it…
Others: Oke… let’s see. Why isn’t X offering a commercial solution for this? Why isn’t offering Y an integrated solution?
Tech Guys: (???)
Others: Oke… where shall we have to look for support? Any company offering trainings?
Tech Guys: The creators are doing a lot of good job, they organize all the time conferences, and presentations. Not to count some forums (…. on the other side: silent yakkkk) where they publish their knowledge
Others: Does our IDE support it?
Tech Guys: You know, there is some work to support this in [product] and they improve it all the time…
Others: we cannot shift all the dev guys to that product
Tech Guys: not all of us must use it, just those involved into this kind of tasks.
Others: Oke… do we have to buy some books on it? Are there any published?
Tech Guys: oh yes, it should be nice to have some, but in fact we can count them on one-hand fingers. But you know they are in fact really good and they help you a lot…
Others: … so we don’t have a real support for this. How it is supposed to solve some problems that may occur?
[… the discussion continues…. after some time]
Others: you know, shifting all of our dev line to this is not affordable to us. High risks are involved, and the support sucks. We cannot encourage you to go to niche solutions.
Tech Guys: … but it is not…
Others: Come back when you are able to show me a real solution. Thank you!

Concluding, I think that if we, the tech guys, are not able to adopt a solution or at least encourage it (finding best scenarios, telling the truth), the “others” will not jump to it. Passing around a full circle of fears, will not solve our problems and will not help good technologies to become big ones (large adopted).

1 Comment

Filed under Uncategorized

remove access checks in reflection

A nice method in AccessibleObject: setAccessible(boolean). [quote] A value of true indicates that the reflected object should suppress Java language access checking when it is used.[/quote] This way you can improve a bean access tool. Nice to know (i missed this till now [oops/]). I guess many guys already know this.

Leave a comment

Filed under Uncategorized

books on the list

The list of the books I need/want is increasing. Here it is:
* Java Transaction Processing : Design and Implementation
* Java Platform Exception Handling
* Eclipse AspectJ : Aspect-Oriented Programming with AspectJ and the Eclipse AspectJ Development Tools
* Professional Hibernate
* Professional Java Development with the Spring Framework
* The Definitive Guide to SWT and JFACE
* SWT: The Standard Widget Toolkit, Volume 1 (The Eclipse Series)
* Eclipse: Building Commercial-Quality Plug-ins (Eclipse Series)

If you are a between-the-lines reader you can easily figure out my interests ;-).

3 Comments

Filed under links, personalog

Domain model and DTO

I have found a nice project about taking snapshots out of model and puttin this on DTOs (XSnapshot). As in my current project we have lots of DTOs I’ve jumped on board and try it. I am generating the domain model classes from Hibernate mapping files. I have found a way to include in the generated files the javadoc tags required by XSnapshot (by using the <meta> element 😉 ) and then I fired the XSnapshot Ant task. Wow! I got my first DTO directly from domain model objects without having to write a single line of code. Nice!
Now the second step. I have some DTOs which are made up from properties fetched from different domain model objects. Oke, let’s get these generated too. Taking a fast look at available tags I have found that @xsnapshot.property has a match attribute which can have as a value a list of comma separeted DTO names. Fine, so it might work… but surprise… it isn’t :-(.
I jumped to the sources and after some digging I saw something strange (for me, at least). I thought that for being able to have the a/m scenario working the guys should use some kind of repository before generating the code, but they haven’t. So there is no possible solution.
I’ve started the mail and asked a question to the dev guys. Only after a few hours I got the solution from the guys: if I want my scenario to work I should do some coding. Yakkk!
XSnapshot supports the generation of DTOs by initial domain model object. So if I want to gather info from more than one domain model object I should write down a class to include the generated DTOs. Why, oh why?

I think I will start my own version of xsnapshot – forked. (to be continued)

Leave a comment

Filed under personalog