?
Solved

How do I deploy Direct Web Remoting (DWR) without a 3rd party web server

Posted on 2010-08-26
3
Medium Priority
?
433 Views
Last Modified: 2013-12-14
Hi Experts

We require communication between a single JavaScript page on the client side and customised Java code on the server side.  The problem we face is that our code must be distributed as a single unit and we dont want to include a third party web server as this would make our installation process more complex and we don't need to server web pages (other than 1 JavaScript page).

Is there a simple way for us to utilise a web server with DWR ( such as by instantiating some web server class). All the references we have so far suggest we need to place the DWR.Jar into the lib directory and the xml file goes into the Web-Inf directory.  

Ideally, we would like some abstract class our code could call to serve the web page that hosts the JavaScript and at the same time control the JavaScript methods. We don't need a web server because we only ever want to serve the 1 and only page that frames the JavaScript as our application is 100% driven within the JavaScript context.

If we do have to include a full web server, what do you recommend we use that can be driven by classes alone and so naturally included with our deployment's code base?  Also, could you include an instructions as to how we would configure such a class based configuration. If we have to use an install orientated web server (non-class based) how can we distribute/deploy this easily with our existing code.

Thank you very much.

David
0
Comment
Question by:Apollo_Marketing
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 92

Accepted Solution

by:
objects earned 2000 total points
ID: 33548246
you could use something like jetty

http://jetty.codehaus.org/jetty/
0

Featured Post

Survive A High-Traffic Event with Percona

Your application or website rely on your database to deliver information about products and services to your customers. You can’t afford to have your database lose performance, lose availability or become unresponsive – even for just a few minutes.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When you try to share a printer , you may receive one of the following error messages. Error message when you use the Add Printer Wizard to share a printer: Windows could not share your printer. Operation could not be completed (Error 0x000006…
I had an issue with InstallShield not being able to use Computer Browser service on Windows Server 2012. Here is the solution I found.
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
Suggested Courses

719 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question