On 11/21/06, Charles Godfrey <[EMAIL PROTECTED]> wrote:
Thanks Rahul, In the question I posed earlier, I was referring to a stand-alone Java application that had no communication to the browser. Lets just assume that I want to create some vxml pages on the local drive.
<snip/>
OK.
From your response it sounds like it might be easier to just write some classes myself that will output vxml on the local drive.
<snap/> I wouldn't do it straight Java. It does depend, to an extent, on the particular requirements and size of your project, since the things to consider include: * Container services - The benefit of having a container (JSP in this case) is the availability of a number of services (be it filters, caching, encoding, security etc.) that otherwise have to be thought about afresh * Programming model - Its easier to write (and read, and maintain) tag files when the primary purpose is to emit markup (along the lines of servlets --> JSPs w/ scriptlets --> scriptlet-free JSPs but Java tag impls --> JSP >= 2.0) * Scaling and scope creep - Not sure how that would scale when the output vxml grows in content and configuration requirements
And yes, we can/probably will use some other templating technology, but I needed to get a better understanding of the question above, first. Thanks alot.
<snip/> I meant to say if you cannot use JSP, then probably some other templating technology (such as Velocity, for example) might alleviate the actual markup authoring. Finally, at some point, this markup will probably need to be served up, so it might be helpful to use a servlet container itself to do the dynamic generation à la RDCs (also hard to generate markup apriori if its heavily based on user interaction). -Rahul
-charles On 11/21/06, Rahul Akolkar <[EMAIL PROTECTED]> wrote: > > On 11/20/06, Charles Godfrey <[EMAIL PROTECTED]> wrote: > > Quick question, > > > > I'm building a stand-alone Java application that will output some VXML > > pages. > > Is there any way for me to use RDC to help with this? > > Is there a Java API for RDCs? > <snip/> > > One of the primary assumptions for the RDC taglib is that a JSP >= 2.0 > container is available for deployment. It should, ofcourse, be > possible to port the RDC design principles [1] to an alternative > implementation that is not so closely tied to JSP technology, but that > will require work. > > How is the standalone Java application communicating with the voice > browser? Can you use any other templating technology in your setup? > > -Rahul > > [1] > http://wiki.apache.org/jakarta-taglibs/ReusableDialogComponents/Tutorials > > > > > > Thanks, > > Charles > > > >
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]