| At line 11 changed 1 line. | 
| __4.__ Copy your war file to {{felini}} and copy your JBDC Driver and jta.jar to {{lib}} directory; | 
| __4.__ Copy your war file to {{felini}} directory; | 
| At line 16 changed 1 line. | 
| <pre>java -jar winstone-0.8.1.jar --warfile=feline.war</pre> | 
| <pre>java -jar winstone-0.8.1.jar --warfile=feline.war --useJasper</pre> | 
|  | 
| That's it! No more no less! But wait, it has more ... | 
|  | 
| %%note __NOTE:__ This is from Winstone docs: | 
| <h2><a name="embedding">Embedding Winstone</a></h2> | 
| <p>The design of Winstone has always allowed its easy embedding within another application. It's as simple | 
| as:</p> | 
| <pre> // at startup | 
| Map args = new HashMap(); | 
| args.put("webroot", "<my webroot dir>"); // or any other command line args, eg port | 
| Launcher.initLogger(args); | 
| Launcher winstone = new Launcher(args); // spawns threads, so your application doesn't block | 
|  | 
| ... (your application code) | 
|  | 
| // before shutdown | 
| winstone.shutdown(); </pre> | 
|  | 
| <p>From v0.8 though, there is also the ability to embed in the opposite direction: that is, to | 
| <b>embed your warfile into the winstone JAR itself</b>. This allows an all-in-one container plus | 
| web-application JAR file to be downloaded, and then unpacked at execution time.</p> | 
| <p>To use this, simply unpack the winstone JAR, and place your WAR file inside the unpacked | 
| folder at the top level (with the same parent as the folder named "winstone"). Then rename | 
| your WAR file to "embedded.war", and repack the jar as before (make sure to preserve the | 
| META-INF and manifest).</p> | 
| <p>Now if you type: <code>"java -jar winstone.jar"</code>, your application should | 
| automatically deploy as the ROOT web application. Try <code>http://localhost:8080/</code> to | 
| check it out.</p> | 
| <p>If you need to add any default command-line arguments (eg ports or prefixes), you can embed | 
| a properties file in exactly the same way, except that the file must be named | 
| "embedded.properties".</p> | 
| %% | 
|  | 
|  | 
| Thanks Matt, for this space and Rick Knowles for their attention and support on [Winstone|http://winstone.sourceforge.net/]. |