Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



Use Java code in PHP

Software Development


Reply
 
Thread Tools Search this Thread
  #1  
Old 02-08-2010
Member
 
Join Date: Jan 2010
Posts: 311
Use Java code in PHP
  

Hello,
I have java code and I am currently working on the php project, now the problem is that I can not import the java code in php. Is there a way to do this? I want the functionality of the java code in the php project. How can I do this? Any help will be great. Thank you.

Reply With Quote
  #2  
Old 02-08-2010
Member
 
Join Date: Nov 2009
Posts: 343
Re: Use Java code in PHP

It depends on what you give to "include", if it is an applet, then yes you can do it. Java code as it is not compatible with php you will need to import some of the libraries. Calling a Java application from PHP code, certainly.
Reply With Quote
  #3  
Old 02-08-2010
Member
 
Join Date: Dec 2009
Posts: 202
Re: Use Java code in PHP

So, you want your Java application running on the client.

The fact that you have the php or not does not change nothing, since php runs on the server. Once the client runs the application, is that i received the HTML page that was generated by PHP.

So you have two options:
1) The applet, which you should obviously not
2) Java Web Start, which you'll easily find a preview with Google
Reply With Quote
  #4  
Old 02-08-2010
Member
 
Join Date: Nov 2009
Posts: 347
Re: Use Java code in PHP

The user does not need to download the program, it must turn on the local server. It runs continuously and must be visible from just a web page as it is a graphics application. Any more information on this is appreciated. Thank you.
Reply With Quote
  #5  
Old 02-08-2010
Member
 
Join Date: May 2008
Posts: 222
Re: Use Java code in PHP

How do you want your Java application, when executed on the server, to display Frames and Graphics Tables and post customer and react Inter-cable? An applet is downloaded entirely on the client and runs on the client. How do you want, just by turning in an applet JFrame, change where it happens?
Reply With Quote
  #6  
Old 11-08-2010
Member
 
Join Date: Mar 2010
Posts: 338
Re: Use Java code in PHP

Should not be interactive, it just needs to show what is received and Oracle the application is just a formatting.
Reply With Quote
  #7  
Old 12-08-2010
Member
 
Join Date: Mar 2010
Posts: 303
Re: Use Java code in PHP

I do not think that php bridge matches the need yann999. It is rather to use Java servlets, particularly in their form of webservice. Desires that the client has access to a real application "heavy" in Java that displays the table, Panels and more. It is also possible that I read too quickly the possibilities offered by php bridge, but it seems to me that, precisely, it is quickly seen.
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags: , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Use Java code in PHP"
Thread Thread Starter Forum Replies Last Post
help me to understand java code (calendar java code) ? so0oma Software Development 2 09-01-2011 11:01 PM
help with java code unikshegz Software Development 2 24-10-2010 02:47 PM
Need Explanation for java code javainfo Software Development 2 10-12-2009 12:56 AM
Cleaning Up Java Code Namchan Software Development 3 20-04-2009 11:48 AM
Code execution in JAVA jasonR Software Development 1 27-01-2009 12:13 PM


All times are GMT +5.5. The time now is 02:22 PM.