Page 1 of 1
Rev as webserver
Posted: Wed May 26, 2010 1:55 pm
by lharris
Hi - I have an existing application written in Java that uses Tomcat to serve webpages and interact with a Mysql database.
The user interface is not that great and rather than rewriting in html and java, I was exploring using Rev to serve the webpages, so i could gradually convert the interface to rev without having to lose existing functionality. Right now the browser renders all files.
Thanks
Re: Rev as webserver
Posted: Sun May 30, 2010 11:51 pm
by Mark
lharris,
Do you want to create a server or do you want to create a front-end interface with Rev? What is your question exactly?
Mark
Re: Rev as webserver
Posted: Mon May 31, 2010 12:12 am
by lharris
I would like to be able to access an existing mysql database via a webrowser but be able to replace the java controls with rev controls. This is mainly for 2 reasons. To make maintenance easier and to allow a nicer user interface. The reason to keep the browser is that some forms to be printed are scanned in or PDFs with HTML code attached to allow checkboxes and other fields to be marked off (order firms and requisitions are from other places and we have no control over them)
thanks
Re: Rev as webserver
Posted: Mon May 31, 2010 1:25 am
by Mark
What is your question, lharris?
Mark
Re: Rev as webserver
Posted: Mon May 31, 2010 9:07 pm
by FourthWorld
lharris, I'm afraid I don't understand your request. A web server has no end-user interface, it's just a delivery system for media either copied from the server or generated there. The interface the end-user sees happens on the client side, in the browser.
If you're thinking about the client side, have you considered the RevWeb plugin?
Re: Rev as webserver
Posted: Tue Jun 01, 2010 3:34 am
by lharris
Hi- I guess what I'm trying to ask is: can I replace server side java code with rev code.
Presently my webserver is serving pages in HTML with embedded java code. The browser renders the HTML and executes the java code which uses the tomcat server to connect to the mysql database.
I don't like maintaining java and would like the same functionality with rev. Are Revlets used for this functionality? And is there a way to host it on my server.
Thanks
Re: Rev as webserver
Posted: Tue Jun 01, 2010 5:09 am
by FourthWorld
Revlets are stacks diplayed in the browser with the RevWeb plugin.
You can use Rev on a server as a CGI:
http://hyperactivesw.com/cgitutorial/tutorialtoc.html
Re: Rev as webserver
Posted: Tue Jun 01, 2010 5:40 am
by lharris
Thanks
that was what I was looking for
lharris