Web tier: servlets, JSP, Web frameworks: How to package a web application to give it to clients?

  1. Hello all,

    I have written a web application which has to be given to different clients. it should run on their server machines so that the users from the client side should be able to access it. How can I deliver the application to the client, without the actual code being visible to them? 

    Please let me know if the question is not clear. 

    Please help me resolve this issue. Thank you all in advance.

  2. Web application is not designed to be "packaged" but rather to be served remotely by a web server/app server. The output is HTML, Flash or some sort of rich client like GWT. If you want something that you can packaged as a binary and not source codes, which can be reversed engineered easily, you need to look at thick client solution like MS .Net/WPF/XAML, which is inherently two tier platform, connecting to the database directly and not a web app.