Java application Integration

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

Java application Integration

Alexandru Ionita


Hello guys,


First, I can tell you that I'm very new to Orbeon and I already noticed that there is a huge lack of documentation available on internet for this project. 
I'm trying to integrate a Java application (j2ee app) with Orbeon and I'm facing some issues (orbeon-dev-3.7.1.200905272119).

The behavior is that the response from orbeon engine is empty (MyHttpServletResponseWrapper returned is an empty object) in the OrbeonXFormsFilter.doFiler() method.
I have set the context of my application in tomcat container as being crossContext, but I don't know if it really works (btw, it there a straight forward way of testing this?)

The second question is if I can integrate this with a MVC framework like struts or Spring webflow?

regards,
Alexandru


--
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
Reply | Threaded
Open this post in threaded view
|

Re: Java application Integration

Alexandru Ionita

Hello again,

has anyone faced this issue before? I saw a similar issue on this forum but without a concrete solution.

regards,
Alexandru

iga wrote
Hello guys,


First, I can tell you that I'm very new to Orbeon and I already noticed that
there is a huge lack of documentation available on internet for this
project.
I'm trying to integrate a Java application (j2ee app) with Orbeon and I'm
facing some issues (orbeon-dev-3.7.1.200905272119).

The behavior is that the response from orbeon engine is empty
(MyHttpServletResponseWrapper returned is an empty object) in
the OrbeonXFormsFilter.doFiler() method.
I have set the context of my application in tomcat container as being
crossContext, but I don't know if it really works (btw, it there a straight
forward way of testing this?)

The second question is if I can integrate this with a MVC framework like
struts or Spring webflow?

regards,
Alexandru


--
You receive this message as a subscriber of the ops-users@ow2.org mailing list.
To unsubscribe: mailto:ops-users-unsubscribe@ow2.org
For general help: mailto:sympa@ow2.org?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: Java application Integration

Alessandro Vernet
Administrator
Alexandru,

On Mon, Sep 21, 2009 at 5:17 AM, iga <[hidden email]> wrote:
> has anyone faced this issue before? I saw a similar issue on this forum but
> without a concrete solution.

These problems are hard to deal with here on the list, as they depend
a lot on the specifics of your application. If you can package a very
simple / minimal app (war) that shows the behavior, maybe we can have
a look at it (but I can't promise!).

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
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Java application Integration

Alexandru Ionita


Hello Alex,

thanks for you amiability. Finally I was able to handle it. What was confusing me, was that orbeon is not actually returning a 404 not found for a misplaced resource - just a blank screen and the impression was that the orbeon engine is not working properly. This was totally a newbie issue. BTW, is there a log where I can see such errors, b'cos definitively they are not reaching the browser.

2nd, I would like to know if there are people who tried to integrate with web frameworks, like struts or webflow from Spring.


best regards,
Alexandru


On Tue, Sep 22, 2009 at 03:56, Alessandro Vernet <[hidden email]> wrote:
Alexandru,

On Mon, Sep 21, 2009 at 5:17 AM, iga <[hidden email]> wrote:
> has anyone faced this issue before? I saw a similar issue on this forum but
> without a concrete solution.

These problems are hard to deal with here on the list, as they depend
a lot on the specifics of your application. If you can package a very
simple / minimal app (war) that shows the behavior, maybe we can have
a look at it (but I can't promise!).

Alex
--


--
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
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Re: Java application Integration

Andrew Bailey
> 2nd, I would like to know if there are people who tried to integrate with
> web frameworks, like struts or webflow from Spring.
>
>
The short answer is yes.

If you want a specific answer you should ask a specific question.

Its not clear what you mean by integrate.

Orbeon can consume data from a struts or spring app.
and you can send a redirect from spring to an orbeon page.

In my opinion xforms and spring webflow are competing technologies, in
that they do essentialy the same thing.

xforms with xpl server side can implement a web workflow.

Please explain what you want to do.

Andy Bailey

http://www.hazlorealidad.com


--
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
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Re: Re: Java application Integration

Alexandru Ionita

Hello,

There are some areas where webflow backed by spring have a major advantage. 
For example if you are implementing a web discussion (wizard style) spread over few pages you need this discussion to be transactional (e.g. keeping a hibernate session open during this web discussion)
Is orbeon capable of doing this?

Thanks,
Alex


On Mon, Sep 28, 2009 at 23:51, Andrew Bailey <[hidden email]> wrote:
> 2nd, I would like to know if there are people who tried to integrate with
> web frameworks, like struts or webflow from Spring.
>
>
The short answer is yes.

If you want a specific answer you should ask a specific question.

Its not clear what you mean by integrate.

Orbeon can consume data from a struts or spring app.
and you can send a redirect from spring to an orbeon page.

In my opinion xforms and spring webflow are competing technologies, in
that they do essentialy the same thing.

xforms with xpl server side can implement a web workflow.

Please explain what you want to do.

Andy Bailey

http://www.hazlorealidad.com


--
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




--
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
Reply | Threaded
Open this post in threaded view
|

Re: Java application Integration

Erik Bruchez-3
In reply to this post by Alexandru Ionita
Alexandru,

Just on the topic of documentation: it is probably true that there is
a lack of information about integration with Java applications, but
that is probably because that has not been our main focus for a while
(instead, the focus has been on Form Runner/Form Builder). But this is
why we have this mailing-list, and we hope you can get help here!

As far as online sources of documentation, make sure you check:

Doc that ships with Orbeon Forms
http://www.orbeon.com/ops/doc/

Wiki
http://wiki.orbeon.com/forms/

-Erik

On Fri, Sep 18, 2009 at 12:30 AM, Alexandru Ionita
<[hidden email]> wrote:

>
>
> Hello guys,
>
> First, I can tell you that I'm very new to Orbeon and I already noticed that
> there is a huge lack of documentation available on internet for this
> project.
> I'm trying to integrate a Java application (j2ee app) with Orbeon and I'm
> facing some issues (orbeon-dev-3.7.1.200905272119).
> The behavior is that the response from orbeon engine is empty
> (MyHttpServletResponseWrapper returned is an empty object) in
> the OrbeonXFormsFilter.doFiler() method.
> I have set the context of my application in tomcat container as being
> crossContext, but I don't know if it really works (btw, it there a straight
> forward way of testing this?)
> The second question is if I can integrate this with a MVC framework like
> struts or Spring webflow?
> regards,
> Alexandru
>
> --
> 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
>
>


--
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
Reply | Threaded
Open this post in threaded view
|

Re: Java application Integration

Jiang Bian
In reply to this post by Alexandru Ionita
I'm getting the same error...
Alexandru -
Any results? or did you just give up eventually?

Reply | Threaded
Open this post in threaded view
|

Re: Re: Java application Integration

Alessandro  Vernet
Administrator
Jiang,

By "same error", you mean that MyHttpServletResponseWrapper returned
is an empty object?

Alex

On Tue, Apr 20, 2010 at 8:06 AM, Jiang Bian <[hidden email]> wrote:

>
> I'm getting the same error...
> Alexandru -
> Any results? or did you just give up eventually?
>
>
> --
> View this message in context: http://n4.nabble.com/Java-application-Integration-tp44751p2017525.html
> Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.com.
>
>
> --
> 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
>
>


--
Orbeon Forms - Web forms, open-source, for the Enterprise -
http://www.orbeon.com/
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
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Java application Integration

Jiang Bian
I thought so, but find out it was my spring part caused the problem.  
It didn't produce a good xhtml... Sorry for  the misunderstood...

Jiang

Sent from my iPhone

On Apr 21, 2010, at 18:38, Alessandro Vernet <[hidden email]> wrote:

> Jiang,
>
> By "same error", you mean that MyHttpServletResponseWrapper returned
> is an empty object?
>
> Alex
>
> On Tue, Apr 20, 2010 at 8:06 AM, Jiang Bian <[hidden email]> wrote:
>>
>> I'm getting the same error...
>> Alexandru -
>> Any results? or did you just give up eventually?
>>
>>
>> --
>> View this message in context: http://n4.nabble.com/Java-application-Integration-tp44751p2017525.html
>> Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.com
>> .
>>
>>
>> --
>> 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
>>
>>
>
>
>
> --
> Orbeon Forms - Web forms, open-source, for the Enterprise -
> http://www.orbeon.com/
> 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


--
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
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Re: Java application Integration

Alessandro  Vernet
Administrator
Jiang,

I'm glad you solved this one, and thanks for the update.

Alex

On Wed, Apr 21, 2010 at 5:30 PM, Jiang Bian <[hidden email]> wrote:

> I thought so, but find out it was my spring part caused the problem. It
> didn't produce a good xhtml... Sorry for  the misunderstood...
>
> Jiang
>
> Sent from my iPhone
>
> On Apr 21, 2010, at 18:38, Alessandro Vernet <[hidden email]> wrote:
>
>> Jiang,
>>
>> By "same error", you mean that MyHttpServletResponseWrapper returned
>> is an empty object?
>>
>> Alex
>>
>> On Tue, Apr 20, 2010 at 8:06 AM, Jiang Bian <[hidden email]> wrote:
>>>
>>> I'm getting the same error...
>>> Alexandru -
>>> Any results? or did you just give up eventually?
>>>
>>>
>>> --
>>> View this message in context:
>>> http://n4.nabble.com/Java-application-Integration-tp44751p2017525.html
>>> Sent from the Orbeon Forms (ops-users) mailing list archive at
>>> Nabble.com.
>>>
>>>
>>> --
>>> 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
>>>
>>>
>>
>>
>>
>> --
>> Orbeon Forms - Web forms, open-source, for the Enterprise -
>> http://www.orbeon.com/
>> 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
>
>
> --
> 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
>
>


--
Orbeon Forms - Web forms, open-source, for the Enterprise -
http://www.orbeon.com/
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