Hi,
I have to save my instance data in database. For this one I want to write a Servlet/ JSP(possibly Servlet) that reads the instance data and if necessary process the data and finally stores it in database. -- Phani. S M.Tech(Software Engineering) Motilal Nehru National Institute of Technology (+91) 9010093398 -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Administrator
|
Phani,
You might find some inspiration on how to do this in service-search.jsp, which implements a service called from XForms with an xforms:submission. It is a JSP and not a servlet, but the code in your servlet can be essentially the same. Alex |
In reply to this post by Phani S
Hello Karolin,
I am sending the java code file and the sample jsp file. In this I am trying to save the stream as an xml file. If you have any difficulty let me know. On Mon, Oct 12, 2009 at 5:25 PM, Karolin Krieg <[hidden email]> wrote: Hallo Phani -- Phani. S M.Tech(Software Engineering) Motilal Nehru National Institute of Technology (+91) 9010093398 -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Hey Phani
Thank your for your answer. It works, but i wonder if it is a good solution to handle the instance data in the servlet? Should the handling be better doen in a custom persistance layer? Karo >>> Phani Sajja <[hidden email]> 10/12/2009 4:53 >>> Hello Karolin, I am sending the java code file and the sample jsp file. In this I am trying to save the stream as an xml file. If you have any difficulty let me know. On Mon, Oct 12, 2009 at 5:25 PM, Karolin Krieg <[hidden email]>wrote: > Hallo Phani > > Did you work out how to handle the instance in your servlet? > If so, do you have any example code? I appreciate your help. > > Thankx, > Karolin > > > > > > ABACUS Research AG > Ziegeleistrasse 12 > CH-9302 Kronbühl-St. Gallen > > Tel. +41 (0)71 292 25 25 > Fax +41 (0)71 292 25 00 > [hidden email] > http://www.abacus.ch > >>> Alessandro Vernet <[hidden email]> 8/8/2009 8:01 >>> > > Phani, > > > Phani Sajja wrote: > > > > I have to save my instance data in database. For this one I want to > > write a Servlet/ JSP(possibly Servlet) that reads the instance data and > if > > necessary process the data and finally stores it in database. > > > > You might find some inspiration on how to do this in service-search.jsp, > which implements a service called from XForms with an xforms:submission. It > is a JSP and not a servlet, but the code in your servlet can be essentially > the same. > > Alex > > ----- > Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise > Orbeon's Blog: http://www.orbeon.com/blog/ > Personal Blog: http://avernet.blogspot.com/ > Twitter - http://twitter.com/avernet > -- > View this message in context: > http://www.nabble.com/Handling-instance-data-to-Servlet-tp24844489p24878038.html > Sent from the ObjectWeb OPS - Users mailing list archive at Nabble.com. > > > -- Phani. S M.Tech(Software Engineering) Motilal Nehru National Institute of Technology (+91) 9010093398 -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Administrator
|
Karo,
On Wed, Oct 14, 2009 at 5:45 AM, Karolin Krieg <[hidden email]> wrote: > Thank your for your answer. It works, but i wonder if it is a good solution to handle the instance data in the servlet? > Should the handling be better doen in a custom persistance layer? By "persistence layer", we usually mean a service (or set of services) that does data persistence. You could implement a persistence layer with pipelines (XPL, processors), servlets, Ruby... I don't think that any of those technologies can be said to be bad in itself to implement a persistence layer. Alex -- Orbeon Forms - Web forms, open-source, for the Enterprise Orbeon's Blog: http://www.orbeon.com/blog/ My Twitter: http://twitter.com/avernet -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
Free forum by Nabble | Edit this page |