Re: How do I create streaming XML response?

2015-04-20 Thread Marc Schneider
Thank you for your answer, Nelson. I was near to your solution. Thank you for reminding me to flush the writer. Now I detected the real problem in my application: I did not use the jetty adapter but the http-kit server. http-kit buffers whole response body from InputSt

How do I create streaming XML response?

2015-04-20 Thread Marc Schneider
I am writing an application that reads some data from a database and need to transform that data to XML. That XML should be streamed as a response to a web request. The code for creating the XML elements is already working. I am using clojure.data.xml for that and it works very nice. My proble

Domain modelling question

2013-07-05 Thread Marc Schneider
Hello, I'm trying to implement some business model in Clojure. I have several years of experience developing OO systems in Java. So it's still very hard to wrap my head to functional thinking. I hope you can help me with following questions. I need a domain model for customers, contracts and f