Results 1 to 2 of 2
  1. #1
    sumosumo84 is offline Member
    Join Date
    Feb 2011
    Rep Power

    Default How to fetch java function from the internet

    Hi i am working on a program.

    I do not want some portions of the source code visible (in case there are people that decompile it)

    So is there anyway that i could fetch methods from a java program that i, say, have hosted on my website?


    Java Code:
    function dothis() {
          system.out.println("The function below is being called and the source for that function cannot be viewed in this file")
          external dothat()
    so basically dothat is a function in my other file being called to execute in the current file

    so basically i dont want dothat()'s source code shown, but i want it to execute

  2. #2
    rp181 is offline Member
    Join Date
    Mar 2009
    Rep Power


    Obfuscation is fairly effective, and much more simple to do. You could always download, say a executable JAR, and then run it. Or upload to a server program, do whatever, and send it back via networking (e.g sockets).

Similar Threads

  1. how to fetch 20,000 records from excel sheet & insert into access database using Java
    By santosh_tamse in forum JavaServer Pages (JSP) and JSTL
    Replies: 0
    Last Post: 02-22-2009, 10:24 AM
  2. Replies: 3
    Last Post: 12-09-2008, 08:17 AM
  3. I want to fetch last 7 days records in java
    By rasikow in forum New To Java
    Replies: 3
    Last Post: 12-05-2008, 12:34 PM
  4. Help - problem with java when using internet
    By badabing in forum New To Java
    Replies: 1
    Last Post: 08-07-2007, 01:39 PM
  5. Internet Explorer java version
    By shimer in forum Java Applets
    Replies: 2
    Last Post: 07-31-2007, 07:30 AM

Tags for this Thread

Posting Permissions

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