Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2010-08-26
3
Medium Priority
?
434 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
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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

I had an issue with InstallShield not being able to use Computer Browser service on Windows Server 2012. Here is the solution I found.
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…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
Suggested Courses

916 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