Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 8 of 8 total
Thread EWB 2 and EWB modules
Fri, Jul 3 2015 6:40 AMPermanent Link

Godfrey

Ultimatesoft

Hi All

I bought EWB 1 and never used it, now I have upgraded to EWB2 and I really need to use it.  I just cannot get
my head around connecting to data via a web server.  I dont have any web development experience other than visual html.  I feel like a fool at this point, I have looked at the manuals/examples but cannot put everything together.

I have a development server available which has MS Sql.  I would like to create a simple web server(using EWB modules) on it and connect to to via EWB2.  I have looked at the EWB datasetmodule 2 example, and I can see how to connect to the database.  My problem is how do I deploy the EWB module(dll file) on my server?

Can someone give me some simple steps to try and understand the concept of what I should be doing?

Thanks
Godfrey  
Fri, Jul 3 2015 7:26 AMPermanent Link

Uli Becker

Godfrey,

> Can someone give me some simple steps to try and understand the concept of what I should be doing?

EWB modules are an extension of EWB Server, which is shipped with EWB:

<<
The Elevate Web Builder Web Server allows modules created using
Embarcadero RAD Studio and Delphi to be added to the web server and used
to handle dynamic requests to the web server. This allows the developer
to offload computationally-intensive or database-intensive work to the
natively-compiled web server modules, and then use simple server
requests in the front-end Elevate Web Builder applications to make
requests to the modules and receive back responses along with the
relevant data/content.
>>

Unless I missed something, I don't think you can use them with another
server.

Uli
Fri, Jul 3 2015 7:45 AMPermanent Link

Godfrey

Ultimatesoft

Uli Becker wrote:

Godfrey,


<<EWB modules are an extension of EWB Server, which is shipped with EWB:

Unless I missed something, I don't think you can use them with another
server.>>

I think you are misunderstanding me.  I want to use EWB modules as my server but I dont know how to deploy the dll created in Delphi, to my windows development server.  I can create the dll that links to my database but how do I deploy it to my server.  

Godfrey
Fri, Jul 3 2015 7:51 AMPermanent Link

Matthew Jones

Godfrey wrote:

> but how do I deploy it to my server.  

http://www.elevatesoft.com/manual?action=topics&id=ewb2&section=using_th
e_web_server has the details. The modules section doesn't say how to
deploy, only how to implement. The main manual has the deployment info.

--

Matthew Jones
Fri, Jul 3 2015 8:44 AMPermanent Link

Uli Becker

Godfrey,

> I think you are misunderstanding me.  I want to use EWB modules as my server but I dont know how to deploy the dll created in Delphi, to my windows development server.  I can create the dll that links to my database but how do I deploy it to my server.

But you wrote:
<<
I have a development server available which has MS Sql.  I would like to
create a simple web server(using EWB modules) on it and connect to to
via EWB2.
>>

Are you using EWBServer or a custom made server?

Uli
Fri, Jul 3 2015 9:21 AMPermanent Link

Godfrey

Ultimatesoft

"Matthew Jones" wrote:

Godfrey wrote:

> but how do I deploy it to my server.  

http://www.elevatesoft.com/manual?action=topics&id=ewb2§ion=using_th
e_web_server has the details. The modules section doesn't say how to
deploy, only how to implement. The main manual has the deployment info.>

Thanks I think I am starting to get the picture.

Is this the correct process to deploy the Elevate web server:
Copy the ewbsrvr.exe file from my development computer onto my windows server computer
Run the ewbsrvr.exe file and setup web server
Add custom modules

Then decide whether to run it as a service or conventional app

Godfey
 
Fri, Jul 3 2015 11:27 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Godrey,

<< I have a development server available which has MS Sql.  I would like to
create a simple web server(using EWB modules) on it and connect to to via
EWB2.  I have looked at the EWB datasetmodule 2 example, and I can see how
to connect to the database.  My problem is how do I deploy the EWB
module(dll file) on my server? >>

You simply copy/FTP it manually.  EWB does not handle deploying web server
modules because they could be in use and you wouldn't necessarily want to
give the FTP service the ability to overwrite your modules.

The steps are:

1) Copy/FTP the module to your remote web server machine.

2) Stop the EWB Web Server.

3) Move/copy the module into the desired location, overwriting any existing
module, if necessary.

4) Add the module to the EWB Web Server using the UI (run the EWB Web Server
as a normal application):

http://www.elevatesoft.com/manual?action=viewtopic&id=ewb2&topic=Configuring_Server

under "Modules".

If it's already added, just skip this step.

5) Restart the EWB Web Server.

Tim Young
Elevate Software
www.elevatesoft.com
Fri, Jul 3 2015 11:45 AMPermanent Link

Matthew Jones

Godfrey wrote:

> Is this the correct process to deploy the Elevate web server:
> Copy the ewbsrvr.exe file from my development computer onto my
> windows server computer Run the ewbsrvr.exe file and setup web server
> Add custom modules
>
> Then decide whether to run it as a service or conventional app

Certainly sounds right. I've not done it as I use a server made via
RemObjects SDK.

--

Matthew Jones
Image