Solved

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

Posted on 2010-08-26
3
424 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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

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…
WARNING:   If you follow the instructions here, you will wipe out your VTP and VLAN configurations.  Make sure you have backed up your switch!!! I recently had some issues with a few low-end Cisco routers (RV325) and I opened a case with Cisco TA…
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
Suggested Courses

628 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