Re: flowscript vs javaflow - pros and cons?
Even if this thread might be a little old, I thought I shoud give my feedback on this. I am currently usinf JavaFlow in two big Projects. The first one is a fully equipped logistic portal for a big German logistic company The second is an Internet Community (http://www.technoclub.tc) The first reason for using JavaFlow, was that we had big Problems with Flowscript when deploying on Bea. The ease of debuging is ceratinly a really big pro of JavaFlow. Unfortunately I can't provide any performance details, but since JavaFlow is not interpreted (As far as I undestood - they do some dynamic recoding when loading the Class) I should run a little faster ... but this is only an assumption. One thing I can say: we never had any performance Problems related to JavaFlow. There are several downsides though, even if they are not no-go-problems: in JavaScript a modified Script can be loaded at RunTime. If a JavaFlow Class changes, the Servlet Enginge usually crashes. There were some comments on a RelaodingClassloader but I have no experiance with this. There are some Problems using Static stuff. When doing the DB-Typical try-catch-block in a finally block (As usually needed for closing up a DB connection) the Rewriting component sort of breaks. Usually I have a JavaFlow and a Helper Class bundled together. Since only the JavaFlow Class is rewritten when loaded, a lot of problems can be solved through this. Hope this helps. Chris stevecam schrieb: Hello, I am a new Cocoon user (via Lenya), are there any major pros and/or cons for using the javascript continuations (flowscript) vs java ones (javaflow). I am particularly interested in interaction with a relational database to determine the 'flow' of pages. Ease of debugging seems important as well. Performance is not a big issue. If I can write and debug javaflow in Eclipse then that seems to be a superior solution, but the fact that continuations require 'add-ons' to java objects to make them useable maybe causes some side-effects that can be 'gotchas'. Thanks for any insights. Steve Cameron - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Build properties, source.vm
Hi, Can someone please explain what the source.vm property in build.properties should be. Should it be set accordingly to the JDK installed? Thanks, Miguel --- José Miguel Vieira Centre for Computing in the Humanities King's College London 26 - 29 Drury Lane WC2B 5RL London Email: [EMAIL PROTECTED] Tel: +44 (0)20 7848 1242 Faxl: +44 (0)20 7848 2980 http://www.kcl.ac.uk/cch/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Build properties, source.vm
On Thu, 2007-12-13 at 11:25 +, José Miguel Vieira wrote: Hi, Can someone please explain what the source.vm property in build.properties should be. Should it be set accordingly to the JDK installed? ASAIR that is what compatibility the source has. Meaning the minimum version which jgk you need to have installed. You should not have to change this. salu2 Thanks, Miguel --- José Miguel Vieira Centre for Computing in the Humanities King's College London 26 - 29 Drury Lane WC2B 5RL London Email: [EMAIL PROTECTED] Tel: +44 (0)20 7848 1242 Faxl: +44 (0)20 7848 2980 http://www.kcl.ac.uk/cch/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Thorsten Scherler thorsten.at.apache.org Open Source Java consulting, training and solutions - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Java security policy
Hello, Does anybody have a working java security policy for cocoon 2.1.10 / tomcat 5.5 / java 1.5? Thanks, Miguel --- José Miguel Vieira Centre for Computing in the Humanities King's College London 26 - 29 Drury Lane WC2B 5RL London Email: [EMAIL PROTECTED] Tel: +44 (0)20 7848 1242 Faxl: +44 (0)20 7848 2980 http://www.kcl.ac.uk/cch/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Problem integrating with websphere 6
I found the solution : we have to modify Websphere classLoader, particularly jdtcore.jar. Stephane -- View this message in context: http://www.nabble.com/Problem-integrating-with-websphere-6-tp14303866p14318107.html Sent from the Cocoon - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
performance cocoon
Hello, I want know the performance,problem and bugs of cocoon on exist-db. The query that i run on my databse xml can have result 60.000 records and the see them on website. I want work with cocoon for the front-end website Thank you
RE: help me cocoon-2.1.10-with-eXist-1.1.1.war
erasmo marciano wrote: I have installed, Tomcat5 and cocoon-2.1.10-with-eXist-1.1.1.war Where i can change the parameter of connection? Which connection do you want to configure? Can you please give us more details about your problem? Kai - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Problem integrating with websphere 6
hello, the solution for this problem is to add a reference to jdtcore.jar into the classloader of the container. Modify applicationserverserver1process definitionJava virtual machine and add $MYHOME\lib\jdtcore-2.1.0.jar into classes access repository. Stephane -- View this message in context: http://www.nabble.com/Problem-integrating-with-websphere-6-tp14303866p14319390.html Sent from the Cocoon - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Problem integrating with websphere 6
Hello, i've just find a solution : adding xerces and xalan libraries into WAS_HOME/java/jre/lib/endorsed . This works but i would prefered to find any other solution. any idea ? Thanks, -- View this message in context: http://www.nabble.com/Problem-integrating-with-websphere-6-tp14303866p14319313.html Sent from the Cocoon - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
help me cocoon-2.1.10-with-eXist-1.1.1.war
I have installed, Tomcat5 and cocoon-2.1.10-with-eXist-1.1.1.war Where i can change the parameter of connection?
RE: Problem integrating with websphere 6
Hi Stephane, I've had problems running (2.1.9) in Websphere also. Would you mind providing more details on your solution? Thanks, gary -Original Message- From: roro [mailto:[EMAIL PROTECTED] Sent: Thursday, December 13, 2007 10:32 AM To: users@cocoon.apache.org Subject: Re: Problem integrating with websphere 6 I found the solution : we have to modify Websphere classLoader, particularly jdtcore.jar. Stephane -- View this message in context: http://www.nabble.com/Problem-integrating- with-websphere-6-tp14303866p14318107.html Sent from the Cocoon - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Problem integrating with websphere 6
Thanks for the pointer! gary -Original Message- From: roro [mailto:[EMAIL PROTECTED] Sent: Thursday, December 13, 2007 11:26 AM To: users@cocoon.apache.org Subject: RE: Problem integrating with websphere 6 hello, the solution for this problem is to add a reference to jdtcore.jar into the classloader of the container. Modify applicationserverserver1process definitionJava virtual machine and add $MYHOME\lib\jdtcore-2.1.0.jar into classes access repository. Stephane -- View this message in context: http://www.nabble.com/Problem-integrating- with-websphere-6-tp14303866p14319390.html Sent from the Cocoon - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: help me cocoon-2.1.10-with-eXist-1.1.1.war
Thank you for the answer I have installed exist-db standard with IZPack I have the following url xmldb:exist://localhost:8080/exist/xmlrpc I want run the example xquery on my db installed. thnks you 2007/12/13, Kai Mütz [EMAIL PROTECTED]: erasmo marciano wrote: I have installed, Tomcat5 and cocoon-2.1.10-with-eXist-1.1.1.war Where i can change the parameter of connection? Which connection do you want to configure? Can you please give us more details about your problem? Kai - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: help me cocoon-2.1.10-with-eXist-1.1.1.war
I modified the file Tomcat 5.0\webapps\cocoon-2.1.10-with-eXist-1.1.1\samples\blocks\exist\sitemap.xmap i have replace map:generate src=xmldb:exist:///{1}/ with map:generate src=xmldb:exist:/localhost:8080//{1}/ But when run the xquery non found result http://localhost:9090/cocoon-2.1.10-with-eXist-1.1.1/samples/blocks/exist/sandbox/sandbox.xql in the text-area i write for $speech in //SPEECH[SPEAKER = 'witch' and near(., 'fenny snake')] return $speech thanks you 2007/12/13, erasmo marciano [EMAIL PROTECTED]: Thank you for the answer I have installed exist-db standard with IZPack I have the following url xmldb:exist://localhost:8080/exist/xmlrpc I want run the example xquery on my db installed. thnks you 2007/12/13, Kai Mütz [EMAIL PROTECTED]: erasmo marciano wrote: I have installed, Tomcat5 and cocoon-2.1.10-with-eXist-1.1.1.war Where i can change the parameter of connection? Which connection do you want to configure? Can you please give us more details about your problem? Kai - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Posting html forms
I'm somewhat new to cocoon and have inherited a site developed using cocoon 2.1.5. I have some experience with Struts, jsp's and portlets. From what I can see the original developer created a component that extends ServiceableGenerator. This is basically used to handle all requests to the website and perform any business logic. Is this an established principal when using cocoon? The reason I ask is that the code is rather clumsy and is akin to the Magic Servlet antipattern. Also with flow control, given the following : map:generate type=WebsiteTxn/ map:transform src=postForm.xsl/ map:serialize type=html/ If there is an error using the generator we are committed to using postForm.xsl, is there anyway one could redirect to another section in the sitemap? Thanks.
Re: Posting html forms
Hi Super, Welcome to Cocoon. 1. Best Practices There is a schism between people using Cocoon as a framework for Java development and people using Cocoon because Cocoon is a very cool URL parser and XML/XSL engine. Your original developer belonged to the first group. While I love writing Java and have written Cocoon Generators, I believe only new standard components should require programming Java with Cocoon. The previous developer was not using Cocoon well. You could ask this ML how to reproduce the function of the WebsiteTxn Generator with standard components. Our responses improve when posts include details like what is desired, 2. Error Handling http://cocoon.apache.org/2.1/userdocs/concepts/errorhandling.html Just add map:handle-errors. There is an undocumented feature that error handling does not work if map:act is used in a higher pipeline. solprovider On 12/13/07, super unknown [EMAIL PROTECTED] wrote: I'm somewhat new to cocoon and have inherited a site developed using cocoon 2.1.5. I have some experience with Struts, jsp's and portlets. From what I can see the original developer created a component that extends ServiceableGenerator. This is basically used to handle all requests to the website and perform any business logic. Is this an established principal when using cocoon? The reason I ask is that the code is rather clumsy and is akin to the Magic Servlet antipattern. Also with flow control, given the following : map:generate type=WebsiteTxn/ map:transform src=postForm.xsl/ map:serialize type=html/ If there is an error using the generator we are committed to using postForm.xsl, is there anyway one could redirect to another section in the sitemap? Thanks. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]