Results 1 to 3 of 3
- 08-16-2012, 11:53 AM #1
Member
- Join Date
- Aug 2012
- Posts
- 1
- Rep Power
- 0
Compile Java API into transparent files
Hi,
Since I'm not actually new to Java programming but to its integration, I thought my post is better here.
My situation is I have java API (.java classes that use mySQL database) which are a part of a package in a NetBeans project. I have a php developer on a remote computer who needs to write a web interface (in php) that calls methods from this API.
My question is what type of files can I send him to allow him to call the API without giving him access to the actual code? I tried compiling the .java into .class but I think those can be easily decompiled back into .java making the code visible.
Any suggestions?
Thanks
- 08-16-2012, 08:01 PM #2
Member
- Join Date
- Aug 2012
- Posts
- 10
- Rep Power
- 0
Re: Compile Java API into transparent files
You designed the API. Without knowing what kind it is, nobody can really tell you how to expose it because we have no context to work in. Typically for things like this you design a SOAP or similar protocol in the api and the remote php dude just makes requests against the server based on the protocol you implement. Neither cares what the other's code is.
- 08-17-2012, 06:38 PM #3
- Join Date
- Sep 2008
- Location
- Voorschoten, the Netherlands
- Posts
- 11,406
- Blog Entries
- 7
- Rep Power
- 17
Similar Threads
-
Need help to compile java files to class
By Candesco in forum New To JavaReplies: 13Last Post: 12-24-2011, 07:24 PM -
Compile a set of java files for a sudoku program
By kanishk.dudeja in forum New To JavaReplies: 3Last Post: 06-16-2011, 04:52 PM -
[Compiling] How to compile .java files with .jar and put in another folder
By szmitek in forum New To JavaReplies: 0Last Post: 11-26-2010, 09:34 PM -
How to Compile JavaScript source into Java class files
By tosreejith in forum New To JavaReplies: 0Last Post: 04-06-2009, 03:12 PM -
Running .java-files won't work/compile does!(Code inside)
By wyldstyle in forum New To JavaReplies: 6Last Post: 02-06-2009, 08:05 PM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks