Build a JS server inside of Java for Google AppEngine
I just needed to create a little interface for a project. So I decided to take given code and to run it on Google AppEngine. My problem is, that I'm experienced in JavaScript and got some basic knowledge of Java, but I got no clue how a Java webapp has to be structured. I started Eclipse and installed the AppEngine-addon, downloaded Rhino and env.js (which is necessary for the bunch of code I need to run) but then found me in the situation of sitting on this files not knowing where to put them.

It would be great if someone could tell me in which directory to put which files for Rhino (I assume it's _"/war/WEB-INF/lib/"_), how to add env.js and how to access all these files inside the .java-file which is the index of the app.
Build a JS server inside of Java for Google AppEngine
===

I just needed to create a little interface for a project. So I decided to take given code and to run it on Google AppEngine. My problem is, that I'm experienced in JavaScript and got some basic knowledge of Java, but I got no clue how a Java webapp has to be structured. I started Eclipse and installed the AppEngine-addon, downloaded Rhino and env.js (which is necessary for the bunch of code I need to run) but then found me in the situation of sitting on this files not knowing where to put them.

It would be great if someone could tell me in which directory to put which files for Rhino (I assume it's _"/war/WEB-INF/lib/"_), how to add env.js and how to access all these files inside the .java-file which is the index of the app.