Results 1 to 6 of 6
  1. #1
    anthrax is offline Member
    Join Date
    Feb 2009
    Posts
    57
    Rep Power
    0

    Default 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.

  2. #2
    travishein's Avatar
    travishein is offline Senior Member
    Join Date
    Sep 2009
    Location
    Canada
    Posts
    684
    Rep Power
    6

  3. #3
    dleskov is offline Member
    Join Date
    Oct 2009
    Posts
    2
    Rep Power
    0

    Default

    Excelsior JET 7.0 will enable you to protect Tomcat web apps through native compilation. There is a public beta available.

  4. #4
    anthrax is offline Member
    Join Date
    Feb 2009
    Posts
    57
    Rep Power
    0

    Default

    tnx guys :D

  5. #5
    anthrax is offline Member
    Join Date
    Feb 2009
    Posts
    57
    Rep Power
    0

    Default

    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?

  6. #6
    anthrax is offline Member
    Join Date
    Feb 2009
    Posts
    57
    Rep Power
    0

    Default

    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 :D
    Last edited by anthrax; 10-14-2009 at 04:58 PM.

Similar Threads

  1. Missing 4 ISO 3166-1 codes in java.util.Locale
    By fkeller in forum Advanced Java
    Replies: 1
    Last Post: 01-16-2009, 05:41 PM
  2. java codes
    By Balajee in forum AWT / Swing
    Replies: 1
    Last Post: 09-30-2008, 05:04 PM
  3. Replies: 9
    Last Post: 06-25-2008, 04:48 AM
  4. Algorithm statement in my Java codes
    By javanewbie in forum New To Java
    Replies: 2
    Last Post: 06-24-2008, 02:52 PM
  5. How to get error codes using java program
    By kasipandian in forum Web Frameworks
    Replies: 10
    Last Post: 05-25-2008, 05:00 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •