Solved

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

Posted on 2010-08-26
3
423 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 500 total points
ID: 33548246
you could use something like jetty

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

Featured Post

Connect further...control easier

With the ATEN CE624, you can now enjoy a high-quality visual experience powered by HDBaseT technology and the convenience of a single Cat6 cable to transmit uncompressed video with zero latency and multi-streaming for dual-view applications where remote access is required.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
ArrayList Adding/settign data 3 37
Printer Access denied on reboot 5 90
FILE ACCESS/PERMISSION PROBLEM 6 28
Restore DC not visible on network 13 29
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
PRTG Network Monitor lets you monitor your bandwidth usage, so you know who is using up your bandwidth, and what they're using it for.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…
Suggested Courses

738 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