[Lift] Re: Multi-Database Transactions

2009-12-09 Thread deadfolk
As Jeppe says, I'm avoiding XA.. This is because when we tried it in a Java project, we had a problem where connections were dropped over time and no new ones could be created. Luckily this never got past our test system. We were unable to recreate it and so could never verify any fix. After

[Lift] Re: Multi-Database Transactions

2009-12-08 Thread deadfolk
Nejsum Madsen je...@ingolfs.dk wrote: deadfolk deadf...@gmail.com writes: [...] I'll likely be using plain JDBC or JPA.  What would be my options in Lift?  Can I get a list of connections and just use a filter (or equivalent) to begin/commit/rollback on each within every request? I've

[Lift] Re: JSON Reponses

2009-12-04 Thread deadfolk
this through View instead of Snippet. Don't forget to add the specific View page to Sitemap otherwise it won't be accessible when you call it. Hope this is accurate / helpful. Dan On Dec 3, 11:06 am, deadfolk deadf...@gmail.com wrote: Hi all, I'm still at the evaluation stage of Lift, so

[Lift] JSON Reponses

2009-12-03 Thread deadfolk
Hi all, I'm still at the evaluation stage of Lift, so please forgive my ignorance, but I cannot figure out how to render any non-XML reponses. I'm looking to create a simple web service which can send reponses back in either XML or JSON. I have the XML side covered, but I can't figure out how

[Lift] Multi-Database Transactions

2009-12-02 Thread deadfolk
Hi all, I'm currently evaluating Lift for a new project I'll be working on soon, and I'm looking for a little input regarding if/how I can manage transactions across two databases. It's going to be a bunch of web services over two MySQL databases. I'll need to synchronize transactions across the