News: Sensation!!! Trans union credit report agency Credit equifax report trans union Consumer credit debt consolidation Premier bank credit card California home loan sacramento Card company consolidation credit debt Citizen bank credit card California home improvement loan Bad credit personal signature loan Consolidation credit loan Bad credit mortgage loan lender Home loan low mortgage rate Cheap credit card Bad card credit gas people Bad credit credit card no fee Consolidation en language loan student Credit free obtain online report Credit report repair company 200 loan no payday telecheck teletrak Instant approve credit card Consumer credit counseling agency Credit card debt consolidation services Bad credit need a personal loan No credit personal loan Home equity loan Citibank home equity loan Best credit card after bankruptcy Account loan payday savings Alternative student loan for bad credit Cheap no fax payday loan Setup online credit card processing Master card credit application Free adult web cam no credit card Bankruptcy personal loan Home loa loan mortgage refinance Pennsylvania debt consolidation loan Bill consolidate consolidation debt loan Bad credit auto loan refinance Credit card 0 on life of balance Consumer credit service Debt consolidation defaulted student loan Reducing credit card debt Gas company credit card No apr credit card Bank federal finance home loan office Consolidation debt defaulted loan student Pay off credit card debt Home improvement loan missouri Apply bad canada card credit credit in Free sex video no credit card Student loan for people with bad credit Consolidation credit free Equity home loan minnesota rate Free credit score canada Ontario home loan Lowest rate credit card Business card credit small Free sex no credit card Non profit debt consolidation Bad credit mortgage texas Consolidation debt loan mortgage second Card consolidation credit debt service Monogram credit card bank New home buyer loan florida Home owner secured loan uk Personal loan instant approval Bad credit loan company Whats a good credit score Bad card credit credit history Pennsylvania home improvement loan Alaska home improvement loan Student loan debt Card credit master tribute Interest only home loan Providian pay pal credit card Equity hawaii home loan rate Bank of america credit card application Small bad credit loan Payday loan store Dept education loan student us Consumer credit repair Personal loan for people with bad credit Home loan mortgage refinance loan Consumer counseling counselor credit credit credit fix help Bad credit kansas loan mortgage wichita Perfect credit score Free debt consolidation program Bank dallas federal home loan Credit card fraud Card consolidation credit loan student Home equity loan rate colorado Bad credit fair loan mortgage Credit card debt solution 1.blogspot.com card credit debt link message California home loan stockton Free sex movie no credit card Bad cash credit mortgage refinance Federal home loan bank of new york Fight credit card company Chase credit card services Providian secured credit card Financing florida home loan Fixed rate credit card Consolidation government loan student Credit report rating Sears credit card account Bad card credit credit high limit Best home equity loan rate Bad credit debt consolidation loan Good credit card rate Bad credit loan mortgage rate Airline miles credit card Used credit card machine Calculator card consolidation debt credit Calculator card consolidation credit debt Texas credit repair Credit card high limit instant approval Bryant card credit lane payment Card credit credit free report Apply canada card credit jersey new American debt consolidation Apply master card credit card Credit repair scams Accepting credit card for business Credit dnb.com rating Wal mart discover credit card Federal student loan forgiveness American airline credit card Instant online payday loan Consolidation debt fee free no Free phone no credit card required Maryland home equity loan First time home buyer fha loan 0 intro rate credit card Annual credit free program report Georgia home loan College student loan consolidation 2nd bad credit loan mortgage After apply bankruptcy card credit Business credit equifax report 0 card credit interest rate Credit debt counseling services Consolidation credit debt loan poor Payday loan online Agency credit equifax report Bad credit home loan california Obtain a free credit report online Online credit report canada Average american credit score Bad credit florida loan mortgage Secured business credit card Free annual credit report with equifax Corp loan sc student Bad credit start up business loan Debt consolidation loan lead Kansas home equity loan Applicant bad credit loan mortgage Auto bad credit loan virginia Loan for people with bad credit Citibank credit card india Annual free credit report and score Budget credit and counseling Compare home equity loan Loan pay student Adjustable home loan mortgage rate Small business credit card application Payday cash loan World savings home loan 0 card credit interest uk Free personal credit report Company loan student uk Bad credit loan mortgage uk 0 credit card rate America bank card credit offer Approval canadian card credit instant Check credit report identity theft Bad credit credit card uk Consolidation credit debt repair Cash advance loan payday internet Instant online credit card Free credit score Credit repair business opportunity New home construction loan rate Free credit card numbers Citibank loan student Free debt consolidation quote Credit card terminal repair Bad credit home loan washington Free credit report and free credit score Article card consolidation credit debt Credit card debt consolidation loan Absolutely free online credit report Card chase commercial credit song Home equity loan for people with bad credit Bad credit home loan Cincinnati credit counseling Credit equifax report Bad debt credit card Auto bad bankruptcy credit loan Alabama credit free report Bad consolidation credit loan Credit card bad debt uk Three bureau credit report Credit counseling service Free porn site no credit card needed Ways to improve credit score First savings credit card master card Ways to increase your credit score College student credit card offer Bankruptcy credit repair Uk home loan online Bureau credit rating Prepaid credit debit card Compare credit card offer Illinois payday loan Debt consolidation for people with bad credit En language loan payday Completely credit free report Consolidation direct federal loan student Government home improvement grants loan Credit card merchant machine Consumer credit counseling program 3 bureau credit report with score Card credit online payment Oregon debt consolidation loan Free credit card Card debt consolidation Business credit card application Credit free ftc report Internet credit card payment processing Online credit card fraud How to get a home loan with bad credit Travel reward credit card Free credit repair help Average us credit score Application card credit sears usa Bad credit guaranteed loan unsecured Master card credit card Online credit card approval Consolidation credit debt poor Florida home equity loan Zero percent credit card offer Bad credit home loan need Credit card with a bad credit rating Car auto loan credit bad Apply for low rate credit card Bad card credit credit free people Experian credit report address Secured credit card high limit Mortgage with bad credit chicago Pay chase credit card Discover credit card application 0 interest rate credit card Government home income loan low Processing credit card transactions Business accept credit card Ditech from home loan mortgage second Michigan home equity loan Bad credit guaranteed loan personal Free credit report from trans union Get credit score Get credit report free online Capital one credit card login Instant online approval credit card Credit card debt management Guaranteed business credit card Va home loan certificate Credit score numbers Credit card consolidation uk Home improvement mortgage loan Bad credit loan mortgage people Consolidating credit card debt Christian credit counseling dallas Airway card card credit master us Bad credit loan mortgage refinancing Low rate credit card Application business card credit small Mobile home loan texas American credit card debt Poor credit debt consolidation loan Card consolidation credit credit debt free report resource Instant access credit card Bad credit mortgage canada Application bad card credit Connecticut home equity loan Small personal loan Free consumer credit report Card college credit debt statist student Credit free report texas Unsecured personal loan online Ten dollar payday loan Loan payday quick Online home loan California home mortgage loan rate Card credit down no payment Best small business credit card Credit card machine leasing Online credit card application Texas home equity loan law California bad credit mortgage loan California home jose loan san Bad credit school loan Cash loan online payday New york debt consolidation service Lowest home equity loan Card chase.com credit Florida home equity loan rate Credit card machine retail Loan program repayment student Card credit merchant service Online credit card processor Credit counseling seattle Credit counseling new york New hampshire home equity loan Government grants for home loan 0 balance card credit transfer Consolidation loan services student Credit repair organization act Cash loan payday reserve Bad credit good loan mortgage Personal debt consolidation Check credit score Washington mutual secured credit card Prepaid credit card orchard bank Ohio home loan Debt consolidation home equity loan How to get a credit card with no credit history 0 apr credit card Equifax free online credit report Credit card counseling services Credit free online report totally Best credit card interest rate 0 apr card credit student Personal debt consolidation loan Home owner loan corporation Credit debt help Free nonprofit debt consolidation quote Very bad credit auto loan Free experian credit report Bad credit mortgage loan texas Guaranteed loan student texas Credit card rating Bad credit guarantee loan mortgage Home loan manufactured va Free credit card debt consolidation Card consolidation counseling credit debt Maryland home improvement loan Approval bad card credit credit instant Minnesota home improvement loan Cheap find credit card Free credit card debt consolidation Capitol card credit one payment Buy a car with bad credit Credit card interest rate Home equity loan payment calculator Adjustable rate home loan College loan parent student Credit card services merchant account New jersey home equity loan Credit free jersey new report Credit card free porn Compare credit card reward Car loan for low credit score Credit report dispute form Bad credit loan Consolidation debt loan personal uk Bank card com credit orchard Credit card debt settlement Loan mexico new student Online credit card application instant approval Credit repair tip Credit fico free report score Second mortgage loan bad credit Eliminating credit card debt Citibank student credit card Credit debt consolidation loan Fixed home equity loan Chase cashbuilder credit card California christian consolidation debt Get free porn no credit card Direct government loan student Credit free report today.blogspot.com Credit free one report time Capital card com credit one Oregon home equity loan Citi credit card Free music download no credit card Business to business credit union Bad credit mortgage lead College student in credit card debt Home loan mobile va Offshore secured credit card Canada card consolidation credit Understanding credit score Unsecured business loan bad credit New mexico home equity loan Apply business card credit online Card consolidation credit debt program Bad credit en language loan Prepaid credit card deal New home loan Student loan for people with bad credit Credit counseling agency California equity home loan southern Free music download without credit card Personal loan for very bad credit Unsecured loan with bad credit history Chase bank one credit card Card credit debt reduction strategy Prepaid credit master card Bank of america credit card online Bad credit get loan mortgage Capital one credit card online Cheap.com link loan payday Credit card debt death Debt consolidation loan for people with bad credit Capital card co credit one Balance card credit transfer uk Bad credit mortgage in florida Accept credit card online free Current home loan interest rate Trans union credit report dispute Credit card deal uk Bad credit home loan lender Credit card with no bank account Debt consolidation loan for home owner Countrywide home loan Application card citi credit Europe prepaid credit card Connecticut home equity loan rate Discover student credit card Debt consolidation loan rate Manual credit card machine Instant bad credit loan Federal home loan bank rate Debt reduction solution credit card Approval card credit instant Canada credit equifax report Credit repair attorney Acs consolidation loan student 1000 cash loan payday advance Auto financing bad credit Credit union master card Credit free msnbc.msn.com report site Chevron gas credit card Bad credit home loan mortgage services Build credit score Card chase credit customer service Credit free indiana report Card consolidation credit debt oregon Bank card credit ge money Bad credit boat loan Bankruptcy loan personal unsecured Your own credit repair business Home equity loan tax Low rate credit card offer Consumer cooperative credit union Bad credit home loan score Card credit number online Loan national student Consolidation consumer credit International loan student Calculator loan repayment student Bad credit mortgage uk Home improvement loan florida Master credit card Business credit score No fee credit card Best airline miles credit card Get free credit score Consolidation debt non profit program Accept credit card by phone Bad credit loan uk Check credit loan no student Card credit fixed low rate First national merchant credit card Small business credit card Credit equifax free report Credit card debt bankruptcy Card compare credit from offer visa Get mortgage bad credit Free credit score no credit card Shell credit card online payment Family credit counseling Unsecured debt consolidation Establishing business credit 100 bad credit mortgage Accepting business card credit small Credit card for business poor credit High risk credit card processing 1000 advance cash loan payday Personal credit rating Consumer counseling credit services Student loan consolidation rate Unsecured business line of credit Va home loan refinance Credit repair program Fha home loan Card credit poor unsecured Georgia bad credit home loan Citibank credit card offer Bank of america credit card online payment Personal secured consolidation loan uk Capital one credit card customer service Credit free from report trans union Bad credit history credit card Copy credit free instant report Bank card credit credit one Repair credit report online Card credit student unsecured Bad credit home mortgage Card credit payment rbs Aspen card card credit gold master 3rd party credit card processing Card credit increase minimum payment Bad credit mortgage illinois Consolidation debt loan personal unsecured Chase continental credit card Online credit card services Credit free national report Stop credit card offer Bad card credit gas Canadian credit report Bad credit bank account Free credit repair Cheap loan long payday term Va mortgage loan bad credit Credit counseling detroit Credit counseling chicago Equifax credit rating Private student loan Excessive credit card debt Bad credit unsecured loan Business card credit mbna Bank personal loan for bad credit Card credit online payment shell California home loan southern Instant approval 0 credit card Consolidation credit debt loan poor Home loan loan mortgage refinance Wal mart credit card Credit card and student loan consolidation Free debt consolidation help Credit free report trans union Home loan columbus ohio Improve credit score fast Low interest rate visa credit card Moodys credit rating Fast cash personal loan Bad credit down loan mortgage zero Countrywide home loan refinance Colorado bad credit mortgage Free trans union credit report Bad credit student loan Home mortgage loan uk Business card credit prepaid Credit card debt consolodation Debt consolidation loan without owning a home Card credit hsbc payment Debt consolidation credit report California home loan mortgage rate Debt consolidation loan calculator Payday loan forum Credit repair report service Credit card consolidation help Las vegas home equity loan Bad credit fix repair report Best card credit rate uk Access card com credit mbna Card credit payment protection uk Sample credit repair letter Debt consolidation service uk Company consolidation debt minnesota Consolidation credit debt loan Christian consolidation debt loan Debt and bill consolidation 1 Home equity loan online Fleet credit card online Check credit free online report National student loan center canada Instant credit card application Bank of america credit card payment Credit counseling center of america Compare credit card processing Card counseling credit service Free credit report without a credit card Bank card card credit master tribute Access card com credit mbna net Debt consolidation advice National consumer credit Repair credit repair credit Credit card debt consolidation program Student loan consolidation center Bad credit education loan Cash until payday loan Cash fash loan payday Credit card merchant services Card credit low offer rate Alaska airline visa credit card Bureau credit equifax report Credit card vending machine Credit information report Check credit report Card credit debt help judgment Credit card debt elimination Consolidation debt lead mortgage No credit card needed porn Best credit card deal transfer Chase visa credit card Approval bad card credit credit guaranteed Bad bill consolidation credit Free online canadian credit report Delta airline credit card Free credit help Providian credit card services Bad credit home loan missouri Secured corporate credit card Credit card skimming machine Chase credit card online Cheap debt consolidation loan Credit card free balance transfer Consolidation debt loan uk Card credit interest low offer Card credit debt divorce Buy prepaid credit card 0 balance card credit interest transfer Free cell phone without credit card Card credit interest low transfer Whats my credit score Well fargo secured credit card Best secure credit card Card credit first premier secured Personal loan to consolidate debt Credit free online report view Broker home loan mortgage refinance Canadian prepaid credit card No equity home loan Western union prepaid credit card Atlanta bank federal home loan Credit card application for college student Clean credit report Home owner loan Apply for a business credit card Government home improvement loan Direct deposit prepaid credit card Credit card merchant Consumer credit management Bad credit 2nd mortgage refinance Christian consolidation counseling credit debt Bad card credit visa Quick credit repair 100 bad credit financing mortgage Christian company consolidation debt Bad credit special finance car loan First premier credit card account Boost credit score Bad credit re mortgage uk Credit free instantly online report Delaware bad credit mortgage Home improvement loan arizona Credit dispute report Credit report online equifax Card consolidate credit loan student Home equity loan bankruptcy Card consolidation credit debt management 0 credit card transfer rate Guaranteed bad credit personal loan Free credit rating score Experian credit score Home loan owner personal secured Commercial credit counseling Florida home loan south Accept credit card merchant account Washington home loan Business credit report repair Union plus credit card Bank des federal home loan moines 2nd mortgage loan bad credit Card consolidation credit debt unsecured Free instant copy of credit report Personal loan application Cell phone no credit card Debt consolidation loan bank Home improvement loan veteran Home equity loan comparison Consolidate government loan student Card credit hsbc nv Trafalgar home loan California free credit report Equity home loan mortgage rate Apply card credit department store Florida home jacksonville loan Bad credit mortgage company Instant payday loan Second mortgage bad credit Citibank business credit card Debt consolidation mortgage uk Approval business card credit instant Bad credit loan mortgage tennessee Credit card score Credit score range Secret credit report repair Christian consolidation counselers debt Credit card machine with check reader Home loan finance uk Arizona home mortgage loan Bad credit florida home loan Best credit card for bad credit Gas rebate credit card California home loan mortgage mortgage Card consolidation credit debt reduction Credit card debt law Student loan debt consolidation calculator Cosmetic surgery financing for bad credit Tampa home equity loan Business credit express Bad credit personal loan company S p credit rating Bad credit home improvement loan Credit card for those with bad credit Florida home improvement loan Credit card processing machine Acs loan servicing student Missouri payday loan Home interest loan rate Bad credit loan mortgage pennsylvania Unsecured credit card offer Fake credit card numbers Manufactured home refinance loan Oklahoma home equity loan 0 approval card credit instant Free credit repair kit Bad credit home equity loan Direct loan services student Current home loan rate Card chase credit payment Accept credit card cheap Payday loan faxless no fax Bad credit financing for notebook computer Cfs loan student Carolina loan south student Debt consolidation mortgage refinance Improve credit rating Instant bad credit personal loan Debt consolidation and reduction American express secured credit card Sample credit report dispute letter Credit card debt management uk Quick bad credit loan Community credit counseling Delaware debt consolidation loan Major credit card company Bad business credit loan small start up Credit card machine paper Loan nelnet student Bad credit home loan mortgage How to read a trans union credit report Unsecured personal loan bank Home loan low rate Home equity loan lowest rate Best credit card debt help Bad credit mortgage remortgage uk Secure credit card processing Credit card counseling debt consolidation Free gay porn no credit card Bad credit home mortgage loan quote Corp finance loan student Business debt consolidation loan Premier credit card Card company credit dealing Best credit card uk Trans union credit report history Personal loan California equity home loan online Credit card reward Consolidation credit debt management Mortgage loan refinance and debt consolidation California company home loan Home loan uk Card credit guaranteed unsecured American express credit card company Canadian credit card application Payday loan business Consumer credit and debt counseling Credit free online report Background check credit report Broker california home loan Payday loan personal New jersey home mortgage loan Ics payday loan Worst credit card company Fha home improvement loan New york and company credit card Home equity loan interest rate Refinance home loan texas Canadian student credit card Instant credit card offer How to start a credit card company Best card credit low rate Apply online for instant approval credit card Approval fast loan payday Agency consolidation consumer debt protection Mobile home park loan New york mortgage home loan Visa credit card offer Arizona bad car credit loan 0 interest credit card uk Christian consolidation counselor debt Capital one credit card phone number No credit card required credit report Wireless credit card processing terminal Debt settlement effect on credit report Home loan mortgage purchase refinance Legally eliminate credit card debt Free porn video no credit card needed Bad credit home loan Loan personal secured unsecured Increase credit score California equity home loan rate Score federal credit union Apply card credit unsecured Christian credit counseling services Credit card for international student Department education loan student Day loan payday quick same Good credit rating Check credit rating Best credit card merchant account College student credit card debt Government free credit report Credit repair lawyer Home land loan manufactured Consolidation credit debt rating Card credit instant prepaid Bad credit mortgage financing Rhode island bad credit mortgage Debt management credit counseling corp Equity florida home loan Sears credit card services Credit experian free report Credit card for online shop Home equity loan without perfect credit California credit free report Bad credit loan mortgage texas Accept credit card merchant Accept credit card internet Online credit card Capital one student credit card Poor credit home improvement loan Credit debt management Accept credit card transactions Ohio bad credit home loan 0 intrest free credit card Capital one credit card payment Best credit card reward program Direct student loan consolidation Online credit card casino Credit card terminal Bad credit mobile home loan Calculator consolidation debt loan student Bad credit mortgage loan ohio New jersey home improvement loan Advance cash loan payday software Bad credit credit card approval Fleet bank credit card No down payment credit card Washington mutual home mortgage loan Article card consolidation credit debt Credit free report Low interest credit card offer Georgia free credit report Balance transfer credit card for bad credit Accredited card credit secured Personal loan agreement Bad credit North carolina debt consolidation 125 second mortgage bad credit Accept credit card payment on line Punishment for credit card fraud Debt consolidation loan without owning a home 0 credit card with no balance transfer fee Chase platinum credit card Maryland debt consolidation Federal student loan default Aes student loan payment Credit online report Small business credit card terminal Fix your credit report Credit card debt counseling Bad credit payday loan Card credit free no porn required video Verifone credit card machine Bad credit no money down mortgage Bad card credit credit loan uk Online credit card machine Apply for capital one credit card Card credit intrest low rate Easy fast loan payday Bank card credit secured us Bad construction credit home loan Countrywide home equity loan Card credit internet payment processing 0 interest credit card offer Secured debt consolidation Card consolidation credit debt program.com Credit card for people with bad Bad card company credit debt Va home loan lender Credit free massachusetts report Consumer credit counselor Credit card merchant account Credit card and check processing Capital one credit card Debt consolidation service 1 Canada consolidation debt free No bank statement payday loan Best travel reward credit card Credit card rate uk Sears credit card application Business credit free report Sallie mae student loan consolidation Instant decision credit card American express student credit card 0 card credit interest percent 0 apr intro credit card Personal loan calculator Bankruptcy card credit unsecured Sallie mae student loan services Delaware home equity loan Home loan mortgage refinance mortgage Low apr credit card Card credit online use Bad card credit master visa Broker consolidation debt lead mortgage Chase credit card bill pay

July 4, 2006

Localization and JavaScript : best practices?

How do you do localization in a language which doesn’t allow you to import files?

The best possible way to do this would probably be to not keep any strings within your javascript files. By pushing all strings to the JSP/CGI layer, you allow a higher level language with internationalization support to take care of localization for you. However, that isn’t always possible and I’m going to talk about what to do in situations where you have to do this.

IBM has a nice page on internationalization and JavaScript that describes their suggestion : multiple versions of a file for each language. For the project I’ve been working on, I found this the best way to handle things. What I ended up doing was tokenizing all of the strings so that:

alert("Hello world");

became

alert ("@hello.message@");

Then, using ant and properties files, I was able to do token replacement to replace all tokens with corresponding key/value pairs from a properties file resource bundle. This allowed me to keep all of my internationalized strings in .properties files just like the rest of the application.

<loadfile srcfile="${src.file}" property="${src.file.replaced}">
<filterchain>
<filterreader classname="org.apache.tools.ant.filters.ReplaceTokens">
<param type="propertiesfile" value="sample.properties"/>
</filterreader>
</filterchain>
</loadfile>
<filterchain>

With multiple languages, the above probably isn’t optimal - I used ant macrodefs to define a macro for doing the replacement, and then just executed the macro with the properties file name and the locale for each language.

What is required here is a patch to ant that is going into Ant 1.7. Ant already does property/key replacement, so the patch was pretty easy. All of this is being done at build time, so there’s no performance hit, and only one version of the file (the one with the tokenized strings) needs to be maintained.

Another strategy that I thought of was to do an xmlhttp request for each string. I decided not to use this approach because it seemed like it was expensive - an extra request per page at least.

April 13, 2006

Internet Explorer / Eolas Update Causes Confusing Bugs

One of the first things I do at work is check out my newest bugs, and today my bug queue was filled with bugs regarding our upload control, which happens to use ActiveX.    I’m not a fan of using ActiveX for uploads - I hope to change to a hybrid use of single file HTTP upload and multi-file applet upload, but for now we do all of our multi-file uploads by using an Active X control.

The main problem I had with the patch was not the extra interaction required, but that enabling the ActiveX object with a click changes its position.     An HTML table that appears above the DIV containing the ActiveX object suddenly disappeared from the page once the ActiveX object was enabled by a user click.     We had previously thought that this update was not going to effect us since we could live with users being required to click on the ActiveX object before using it - but the repositioning of the object that we saw required a fix.

This article from devx talks about the lawsuit and is entitled “Users lose”.   I don’t think that’s entirely accurate - users don’t really lose in this, developers do.    The suggestion that Microsoft makes is that if you want to preserve current behavior, you simply use javascript to display the OBJECT, APPLET, or EMBED tag.     You can do this by using document.write(”") to print out the tag, or use the DOM to add an OBJECT/EMBED/APPLET element, but this extra scripting step is required so that the user can immediately interact with whatever multimedia element is being displayed.

From a technical standpoint, this is kind of ridiculous.    There’s no reason for these tags to work with the use of javascript but require user input otherwise.    Javascript simply provides an interaction which can provide a path around the patent.   

Who is to blame for this?    Are Software Patents to blame for providing protection for something which seems so obvious and generic in applicability as plugins?    Is Microsoft to blame for not respecting and licensing Eolas’s patent?    Is Eolas to blame for patenting this process?

February 2, 2006

Logging Abandoned Connections - possible with local-tx-datasource?

I’m currently tracking down database connection leaks, which is always fun.     In the new version of our product, we’re using JBoss’ local-tx-datasource.    In our last version, we were using a javax.sql.DataSource declared as a resource within a <context> (see here).    Does anyone know how to get JBoss’ local-tx-datasource to log abandoned connections?

I’m currently doing this by populating an exception in the initializer of our Database delegate class, setting it to null on a database close, and then printing it if it is not null on finalize.     I’d rather use the container to do this sort of thing though.

January 29, 2006

Maven vs. Ivy smackdown

During the last week, I’ve been playing around with Maven and Ivy, trying to figure out which one would be better for moving our dependencies out of CVS.      For a small project or a prototype, I’m not really sure that a dependency manager is necessary.     It’s probably easier to just check 3 or 4 jars into CVS and move on.

For our main CVS module though, we have upwards of 80 jars in the lib directory.   11 of these are xdoclet jars, 11 are Apache commons jars, and 9 are different versions of JOSSO jars that are used depending upon what version of Tomcat or JBoss is being used.     When dealing with this many JARs, it begins to make sense to have something to keep track of these other than CVS.    Since we aren’t strict with our compile classpath (we just build off everything inside the lib directory), I think there could be potential situations where we might build successfully against an obsoleted API, but we break in runtime because we only deploy a specific set of JARs.

Maven has taken some getting used to.    I’ve started using Maven 2.0.    The strengths seem to be the project archetypes, which gets you going quickly with a specific project structure.    I’m not sure that I agree with all of the project structure decisions that were made with Maven, such as the fact that tests are split out into a separate source hierarchy as the classes they test.

I also feel like I’m giving up a great deal of freedom in how I lay out my project in using the Maven 2.0 archetype to generate my project structure.     For example, when I generated Hibernate hbm.xml mapping files this weekend along with classes, I started by putting them in the main/java tree until realizing that Maven would not copy the hbm.xml files unless they were in main/resources.    Makes sense, but seems like sort of a waste to have three separate package hierarchies in java, resources, and tests.

The strengths of Maven are it’s dependency manager though.    It is easy to find jars