Hi,

Ok, Just to clear things up... I have created a web app with a web.xml to
serve my crossdomain.xml because I want to access ofbiz services (custom and
in the future the exported ones) in Flex. The flash player has security and
needs the crossdomain.xml if I am hosting the swf from a different location
to ofbiz. Which is the case for me.

By using BlazeDS I can call Java Objects in the Ofbiz Server directly... why
would I want to do that you might ask? well
1. The wsdl cannot be generated for quite complex services so I had to write
soap envelopes in actionscript to call exported services in ofbiz, which is
time consuming as well as requiring more maintainence if the ofbiz services
change.
2. Using BlazeDS I can take advantage of the AMF features, to send objects
over the wire and minimize bandwidth.
3. I can create a Java Facade in my application to make my solution more
loosely coupled.
4. I can also integrate my solution into a 3rd party Single Sign On Solution
thus for intranet usage I can authenticate user on LDAP.

So basically exporting the services using Ofbiz is good, but not exactly
what I need, so using BlazeDS and Flex I can create a Rich Internet App with
the powerful Ofbiz service and entity layer!

I will try to blog some of the tricks I have used on
http://blog.catalystic.com



On Sun, Apr 6, 2008 at 6:55 PM, BJ Freeman <[EMAIL PROTECTED]> wrote:

> I think the important distinction here is what is Web resources.
> and the services from the service engine are not exposed as web
> resources by using the crossdomain.xml.
> I believe that was the original statement.
>
> Raj Saini sent the following on 4/5/2008 9:16 AM:
> > I am afraid this is not correct. Every application (containing a
> > web.xml) is a stand alone application. And to serve the contents from
> > root context create a ROOT application (i.e. mount the application as
> > ROOT). Web resources in this application will be served from root
> context.
> >
> > Other option is to use Apache Web server fronting the Ofbiz and you can
> > configure a directory as DocumentRoot in Apache. To access the Ofbiz
> > application you can use mod_ajp_proxy or mod_jk.
> >
> > Thanks,
> >
> > Raj
> >
> > BJ Freeman wrote:
> >> Not sure that will work. I may be wrong.
> >> ofbiz works as one application.
> >> application in the hot deploy are not exposed to tomcat directly but
> are
> >> part of ofbiz.
> >>
> >> Mark Ellul sent the following on 4/3/2008 9:45 AM:
> >>
> >>> Hi BJ,
> >>>
> >>> well basically If I have a ofbiz installation at www.myofbiz.com I
> >>> need to
> >>> serve a crossdomain.xml from this address
> >>> http://www.myofbiz.com/crossdomain.xml
> >>>
> >>> I was thinking that I create a web app in my hot deploy that uses /
> >>> as its
> >>> context and put the file in there... and allow that as a welcome file
> >>> in the
> >>> web.xml
> >>>
> >>> Otherwise is there a folder which we can serve files in the root
> context
> >>> from?
> >>>
> >>> Does that make sense?
> >>>
> >>> Thanks and Regards
> >>>
> >>> Mark
> >>>
> >>> On Thu, Apr 3, 2008 at 6:37 PM, BJ Freeman <[EMAIL PROTECTED]>
> wrote:
> >>>
> >>>
> >>>> not sure how that fits into ofbiz.
> >>>> so can't answer.
> >>>>
> >>>> Mark Ellul sent the following on 4/3/2008 9:23 AM:
> >>>>
> >>>>> Hi BJ,
> >>>>>
> >>>>> Its my own services I have written, using the BlazeDS jars.
> >>>>>
> >>>>> Regards
> >>>>>
> >>>>> Mark
> >>>>>
> >>>>>
> >>>>>
> >>>>> On Thu, Apr 3, 2008 at 5:54 PM, BJ Freeman <[EMAIL PROTECTED]>
> >>>>> wrote:
> >>>>>
> >>>>>
> >>>>>> are you referring to the ofbiz service engine, services?
> >>>>>>
> >>>>>> Mark Ellul sent the following on 4/3/2008 7:50 AM:
> >>>>>>
> >>>>>>> Hi,
> >>>>>>>
> >>>>>>> I want to use a crossdomain.xml to allow users from a domain to
> >>>>>>> access
> >>>>>>>
> >>>>>> my
> >>>>>>
> >>>>>>> services, where would I put it?
> >>>>>>>
> >>>>>>> Regards
> >>>>>>>
> >>>>>>> Mark
> >>>>>>>
> >>>>>>>
> >>
> >>
> >>
> >
> >
> >
> >
>
>

Reply via email to