Ad:
 
  • JSP Discussion Thread
  • Unsolved
  • Views: 6025
  • JSP RSS
Similar Threads
Sep 12th, 2007
0

how to make exe file for jsp project

Expand Post »
Actually ,i made one project for web based application,but now i have to use for desktop application.and also i don't want to show my code to customer to whom i will give my project.While running WAR file in tomcat ,it automatically makes source code file,please help me out.


In advance thanx to you.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
sarfarazahmed is offline Offline
1 posts
since Sep 2007
Sep 12th, 2007
0

Re: how to make exe file for jsp project

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.
Moderator
Reputation Points: 1254
Solved Threads: 352
Posting Sensei
masijade is offline Offline
3,047 posts
since Feb 2006
Sep 12th, 2007
-1

Re: how to make exe file for jsp project

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
Reputation Points: 10
Solved Threads: 2
Junior Poster in Training
staneja is offline Offline
63 posts
since Dec 2006
Nov 5th, 2008
0

Re: how to make exe file for jsp project

Actually ,i made one project for web based application,but now i have to use for desktop application.and also i don't want to show my code to customer to whom i will give my project.While running WAR file in tomcat ,it automatically makes source code file,please help me out.


In advance thanx to you.
How to make a exe file for entire jspproject.
Project having the only jsp pages,it is not having the any servlets. can i create exe for project? how?
Reputation Points: 10
Solved Threads: 0
Newbie Poster
pradeep529 is offline Offline
1 posts
since Jun 2008
Nov 5th, 2008
1

Re: how to make exe file for jsp project

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.
Last edited by masijade; Nov 5th, 2008 at 1:34 am.
Moderator
Reputation Points: 1254
Solved Threads: 352
Posting Sensei
masijade is offline Offline
3,047 posts
since Feb 2006
Nov 5th, 2008
0

Re: how to make exe file for jsp project

Click to Expand / Collapse  Quote originally posted by staneja ...
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
Featured Poster
Reputation Points: 612
Solved Threads: 141
Nearly a Posting Virtuoso
stephen84s is offline Offline
1,280 posts
since Jul 2007
Jul 4th, 2010
-2

Re: how to make exe file for jsp project

I need to know the step of how to create .exe file of a jsp project. which software needed?
Please reply
Reputation Points: 4
Solved Threads: 0
Newbie Poster
lemon81 is offline Offline
1 posts
since Jul 2010
This thread is currently closed and is not accepting any new replies.
Previous Thread in JSP Forum Timeline: jsp cookies
Next Thread in JSP Forum Timeline: Please solve my send.redirect("") doubt.





About Us | Contact Us | Advertise | Acceptable Use Policy
Build Custom RSS Feed


Follow us on Twitter


© 2010 DaniWeb® LLC