Results 1 to 6 of 6
- 10-05-2009, 04:58 PM #1
Member
- Join Date
- Feb 2009
- Posts
- 57
- Rep Power
- 0
how to protect java codes from being seen?
i have a web database application, i want to deploy it to other pc by exporting it as WAR file and importing it to other pc. i don't want them to view the java and servlet codes.. 1. how do i do it? i had done it accidentally i exported the project as WAR file from my desktop and imported it into my laptop.. when i run the project on my laptop it has no problem except when it that the codes are not available for viewing.. im using Eclipse IDE
2nd question: how to autorun tomcat v6.0 server at localhost during windows boot? (to run web application i need to press run, green icon, on eclipse. i want the server to autorun once the pc finished booting)Last edited by anthrax; 10-05-2009 at 05:08 PM.
- 10-05-2009, 09:39 PM #2
for 1: see Obfuscation
for 2: see Tomcat Windows Service HOWTO
- 10-06-2009, 06:16 AM #3
Member
- Join Date
- Oct 2009
- Posts
- 2
- Rep Power
- 0
Excelsior JET 7.0 will enable you to protect Tomcat web apps through native compilation. There is a public beta available.
- 10-06-2009, 12:29 PM #4
Member
- Join Date
- Feb 2009
- Posts
- 57
- Rep Power
- 0
tnx guys :D
- 10-12-2009, 05:56 PM #5
Member
- Join Date
- Feb 2009
- Posts
- 57
- Rep Power
- 0
im not sure Excelsior JET 7.0 works on my application, this i my project description: my user interface is a web browser, i have html and jsp for my interface, i have java and servlets that process data to/from my PostgreSQL database.
is there any other options that i may have missed in exporting my project as WAR file so that when it is imported to other pc the codes will not be seen or obfuscated?
- 10-14-2009, 03:43 PM #6
Member
- Join Date
- Feb 2009
- Posts
- 57
- Rep Power
- 0
i think i've found the solution.. i exported the project as WAR file but i unchecked the "export sources ".. when u import the war file without the sources, the packages will be grayed, u can't get into the package and u wont be able to see the java files :D and the project runs perfectly. unfortunately the web pages codes are still editable. im wondering how was the project still able to run without the source files? :confused:
by the way thanks travishein :D ur links helped me solved my tomcat concern :DLast edited by anthrax; 10-14-2009 at 04:58 PM.
Similar Threads
-
Missing 4 ISO 3166-1 codes in java.util.Locale
By fkeller in forum Advanced JavaReplies: 1Last Post: 01-16-2009, 05:41 PM -
java codes
By Balajee in forum AWT / SwingReplies: 1Last Post: 09-30-2008, 05:04 PM -
Make Java codes more simplier (Multidimensional Arrays)
By javanewbie in forum JCreatorReplies: 9Last Post: 06-25-2008, 04:48 AM -
Algorithm statement in my Java codes
By javanewbie in forum New To JavaReplies: 2Last Post: 06-24-2008, 02:52 PM -
How to get error codes using java program
By kasipandian in forum Web FrameworksReplies: 10Last Post: 05-25-2008, 05:00 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks