How to deploy OPS 3.0 as a XForms Proxy?

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

How to deploy OPS 3.0 as a XForms Proxy?

Michael Mayr
Hello list,

From looking at the examples on the OPS website I have
to say that I really like the new AJAXed XForms NG.
They look very nice and feel responsive. I would like
to use them for a thesis project.

In Erik Bruchez's talk at Xtech05 (Slide 50 and 51)
(http://idealliance.org/proceedings/xtech05/slides/bruchez/Server-Side%20XForms.ppt)
Erik says the new OPS 3.0 can be used as an XForms
proxy in front of any web framework (Struts, PHP,
etc). I think that would be THE ABSOLUTE KILLER
APPLICATION of OPS 3.0. But since I am an OPS newbie I
wasn't able to figure out how to do something like
that from reading the documentation on the website and
the mailing list archives. Maybe that would be obvious
for an OPS expert but for me it isn't.

Could someone describe in a (semi-)detailed newbie
friendly/howto way HOW to do something like that?

I would be endlessly grateful for that.

Michael





               
___________________________________________________________
Was denken Sie ?ber E-Mail? Wir h?ren auf Ihre Meinung: http://surveylink.yahoo.com/wix/p0379378.aspx



--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: How to deploy OPS 3.0 as a XForms Proxy?

Erik Bruchez
Administrator
Michael,

Agreed that this will be a killer! But I don't think the XTech talk
slides should be understood as "OPS 3.0 supports the proxy mode right
now" ;-) OPS should be made to work in proxy mode, but so far no work
has been done in this area.

I can see two approaches:

1. Generic proxy, which proxies to any type of server. In this case,
    Some piece of code needs to be written, which:

    1. Transparently forwards incoming requests

    2. Intercepts responses, parses them as XML, and sends them to the
       XForms engine.

    #2 seems fairly easy to do. I don't know about #1.

2. Java application proxy, which proxies only to applications within
    the same servlet container as OPS. In this case, this could simply
    be implemented as a ServletFilter. We already have the tools to do
    this in OPS, including ServletFilterGenerator and
    OXFServletFilter. This would allow providing XForms support for
    applications written with JSP and other Java web frameworks.

Ideas are of course welcome!

-Erik

Michael Mayr wrote:
 > Hello list,
 >
 > From looking at the examples on the OPS website I have
 > to say that I really like the new AJAXed XForms NG.
 > They look very nice and feel responsive. I would like
 > to use them for a thesis project.
 >
 > In Erik Bruchez's talk at Xtech05 (Slide 50 and 51)
 >
(http://idealliance.org/proceedings/xtech05/slides/bruchez/Server-Side%20XForms.ppt)
 > Erik says the new OPS 3.0 can be used as an XForms
 > proxy in front of any web framework (Struts, PHP,
 > etc). I think that would be THE ABSOLUTE KILLER
 > APPLICATION of OPS 3.0. But since I am an OPS newbie I
 > wasn't able to figure out how to do something like
 > that from reading the documentation on the website and
 > the mailing list archives. Maybe that would be obvious
 > for an OPS expert but for me it isn't.
 >
 > Could someone describe in a (semi-)detailed newbie
 > friendly/howto way HOW to do something like that?
 >
 > I would be endlessly grateful for that.
 >
 > Michael




--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Ant: Re: How to deploy OPS 3.0 as a XForms Proxy?

Michael Mayr
Hi Erik,

thanks for your reply. Then it's no surprise why I
didn't find it ;-) Seems I will have to take the full
OPS 3.0 Presentation Layer. I will take a closer look
at this usage scenario.

Cheers
Michael

--- Erik Bruchez <[hidden email]> schrieb:

> Michael,
>
> Agreed that this will be a killer! But I don't think
> the XTech talk
> slides should be understood as "OPS 3.0 supports the
> proxy mode right
> now" ;-) OPS should be made to work in proxy mode,
> but so far no work
> has been done in this area.
>
> I can see two approaches:
>
> 1. Generic proxy, which proxies to any type of
> server. In this case,
>     Some piece of code needs to be written, which:
>
>     1. Transparently forwards incoming requests
>
>     2. Intercepts responses, parses them as XML, and
> sends them to the
>        XForms engine.
>
>     #2 seems fairly easy to do. I don't know about
> #1.
>
> 2. Java application proxy, which proxies only to
> applications within
>     the same servlet container as OPS. In this case,
> this could simply
>     be implemented as a ServletFilter. We already
> have the tools to do
>     this in OPS, including ServletFilterGenerator
> and
>     OXFServletFilter. This would allow providing
> XForms support for
>     applications written with JSP and other Java web
> frameworks.
>
> Ideas are of course welcome!
>
> -Erik
>
> Michael Mayr wrote:
>  > Hello list,
>  >
>  > From looking at the examples on the OPS website I
> have
>  > to say that I really like the new AJAXed XForms
> NG.
>  > They look very nice and feel responsive. I would
> like
>  > to use them for a thesis project.
>  >
>  > In Erik Bruchez's talk at Xtech05 (Slide 50 and
> 51)
>  >
>
(http://idealliance.org/proceedings/xtech05/slides/bruchez/Server-Side%20XForms.ppt)

>  > Erik says the new OPS 3.0 can be used as an
> XForms
>  > proxy in front of any web framework (Struts, PHP,
>  > etc). I think that would be THE ABSOLUTE KILLER
>  > APPLICATION of OPS 3.0. But since I am an OPS
> newbie I
>  > wasn't able to figure out how to do something
> like
>  > that from reading the documentation on the
> website and
>  > the mailing list archives. Maybe that would be
> obvious
>  > for an OPS expert but for me it isn't.
>  >
>  > Could someone describe in a (semi-)detailed
> newbie
>  > friendly/howto way HOW to do something like that?
>  >
>  > I would be endlessly grateful for that.
>  >
>  > Michael
>
>
> >
> --
> 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
> ObjectWeb mailing lists service home page:
> http://www.objectweb.org/wws
>


       

       
               
___________________________________________________________
Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de



--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Servlet Filter!

Sebastian Kraus/INPLUS/DE

Hi!

I have problems to use a servlet filter inside the ops web.xml.

Following the standart I use following simple filter description

 <filter>
                <filter-name>TestFilter</filter-name>
                <filter-class>Filter.TestFilter</filter-class>
            </filter>
        <filter-mapping>
            <filter-name>TestFilter</filter-name>
            <url-pattern>/*</url-pattern>
        </filter-mapping>

If I test my filter inside another servlet the filter works fine.
What I'm doing wrong?

Greets

Sebastian


--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Servlet Filter!

Sebastian Kraus/INPLUS/DE

Please do not recognize this topic any more. Servlet filtering works quite well....
If you are not too stupid to deploy your application ;-)

Sebastian



"Sebastian Kraus/INPLUS/DE" <[hidden email]>

21.04.2006 17:10

Please respond to
[hidden email]

To
[hidden email]
cc
Subject
[ops-users] Servlet Filter!






Hi!


I have problems to use a servlet filter inside the ops web.xml.


Following the standart I use following simple filter description


<filter>

               <filter-name>TestFilter</filter-name>

               <filter-class>Filter.TestFilter</filter-class>

           </filter>

       <filter-mapping>

           <filter-name>TestFilter</filter-name>

           <url-pattern>/*</url-pattern>

       </filter-mapping>


If I test my filter inside another servlet the filter works fine.

What I'm doing wrong?


Greets


Sebastian

--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws



--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Servlet Filter!

Erik Bruchez
Administrator
Glad you figured it out ;-)

-Erik

Sebastian Kraus/INPLUS/DE wrote:

>
> Please do not recognize this topic any more. Servlet filtering works
> quite well....
> If you are not too stupid to deploy your application ;-)
>
> Sebastian
>
>
>
> *"Sebastian Kraus/INPLUS/DE" <[hidden email]>*
>
> 21.04.2006 17:10
> Please respond to
> [hidden email]
>
>
>
> To
> [hidden email]
> cc
>
> Subject
> [ops-users] Servlet Filter!
>
>
>
>
>
>
>
>
>
> Hi!
>
> I have problems to use a servlet filter inside the ops web.xml.
>
> Following the standart I use following simple filter description
>
> <filter>
>                <filter-name>TestFilter</filter-name>
>                <filter-class>Filter.TestFilter</filter-class>
>            </filter>
>        <filter-mapping>
>            <filter-name>TestFilter</filter-name>
>            <url-pattern>/*</url-pattern>
>        </filter-mapping>
>
> If I test my filter inside another servlet the filter works fine.
> What I'm doing wrong?
>
> Greets
>
> Sebastian
> --
> 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
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>
>
> ------------------------------------------------------------------------
>
>
> --
> 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
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws

--
Orbeon - XForms Everywhere:
http://www.orbeon.com/blog/



--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws