Yes, it does, but that "source file" is still not any kind of standalone application code. It is a servlet. You do understand the differences between servlet/jsp (i.e. code that runs in an application container) and a standalone application, right?
And, since you would probably only be providing a compiled application to "the customer", you won't be providing him any "code", anyway, so there is no reason to attempt to turn it into a native application, either. They can also be decompiled, you know.
Also, if your "customer" is paying you to write this application, he may (and probably does) have a right to the code. You need to take a close look at whatever your agreement is and make sure of who has the rights to the code, according to the contract.
masijade
Industrious Poster
4,253 posts since Feb 2006
Reputation Points: 1,471
Solved Threads: 494
You do one thing before craeting a war file you remove Source folder from src directory and let it have only complied classes
In this way when you will paste it in the webapps folder it wont be having SRC folder only classes will be there
Well about the desktop application you need to create GUI from swings or AWT then define events on buttons and you can just called functions used in your webapplicaton
staneja
Junior Poster in Training
64 posts since Dec 2006
Reputation Points: 10
Solved Threads: 2
A JSP is nothing but a servlet template that the web container parses and then compiles. That is even less applicable for an "exe" than servlets are.
Gods, I'm sorry, but what is this fascination everyone seems to have for turning cross-platform Java applications into a native application? If you want a native application code in something that is designed to produce a native application.
masijade
Industrious Poster
4,253 posts since Feb 2006
Reputation Points: 1,471
Solved Threads: 494
You do one thing before craeting a war file you remove Source folder from src directory and let it have only complied classes
In this way when you will paste it in the webapps folder it wont be having SRC folder only classes will be there
Well about the desktop application you need to create GUI from swings or AWT then define events on buttons and you can just called functions used in your webapplicaton
Already masijade mentioned in his first post that even compiled java classes can be decompiled, So any point in mentioning this ????
You should also read replies of other posters (not to mention veterans like masijade) before simply increasing the post count ;)
stephen84s
Nearly a Posting Virtuoso
1,443 posts since Jul 2007
Reputation Points: 668
Solved Threads: 154