Home Server
New Blog Posts: Merging Reports - Part 1 and Part 2

is Webtier and websnap compatible ?

edited March 2003 in Server
Hello,

Since 3 day I test webtier application and I have some questions

1. Why if i Put an rswebtiers component on a webdatamodule or webpagemodule
i have not
action editor mode on the rswebtiers (it disapear) ?

2. If I include a webmodule (like RBserver sample) in my websnap project all
work fine in debug mode,
but in an isapi dll I alwyas obtain an Exception ' Error violation' when i
use rsWebTier1.ProcessWebRequest()
method.

3. I obtain the same 'Access violation error' if i work with rswebtiers on
webpagemodule ?


Is rswebtiers component is websnap compatible, and how can i use it in this
context ?

Can somebody can Help me ?

Thank you

Comments

  • edited March 2003

    I do not have experience with WebSnap. However, it is my understanding that
    WebSnap is built on top of WebBroker. You should be able to incorporate the
    WebTier into a WebSnap application. From looking at it, there is no
    ActionEditor in WebSnap, it looks like it has a different architecture for
    dispatching webrequests. I think the first step is to build some simple
    WebSnap applications to determine how requests are dispatched/routed. I have
    limited time to research this, but I can try to research it next week. If
    you or anyone else finds a solution, please share it.

    --
    Nard Moseley
    Digital Metaphors
    http://www.digital-metaphors.com

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited March 2003
    Thank for your time
    I have worked lot of time on this subject without result.
    I think in this state there is not easy way to incorporate the
    WebTier into a WebSnap application (I hope to be mistaken)
    some elements perhaps can help you :
    1.Yes WebSnap is built on top of WebBroker.
    2. WebSnap requests are dispatched by adapter (3 types adapter,
    pagedadapter, datasetadapter).
    Wich this adapter you can define actions. These actions are include in an
    adapterpageproducer by the way of
    an adaptercommandgroup.
    The request are dispatched by an adapterdispatcher (see help in delphi).
    3. Using Twebmodule in websnap (or descendent object like your sample)
    don't work because there are two
    differents dispatchers.
    4.Using TrsWebtier in an wepsnap page cause an 'acces violation'.

    I am not enought qualified for going further and, i have not enought time to
    work more in this way (I must find another solution to print my customers
    report !!) .

    Perhaps contact nick hodge on the borland.public.delphi.internet.websnap
    forum, can help you.









This discussion has been closed.