Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to create an applet plugin to run in php websites

 
Sabarish Venkat
Ranch Hand
Posts: 136
Java MySQL Database Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a scenario like i need to develop an applet plugin where that plugin will be integrated in php programming. I can create an applet but no idea about creating an applet plugin for other technology. Could anyone suggest me how to create an applet plugin where i can integrate it with php technology.
 
Ulf Dittmer
Rancher
Pie
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is an "applet plugin" and what does "integrate with PHP technology" mean? An applet tag is just HTML - it can be created by any server-side web technology.
 
Sabarish Venkat
Ranch Hand
Posts: 136
Java MySQL Database Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My scenario is, In a PHP website i need to run java applet images(Like Advertisements). In that case i need to create a applet and make them run in the website. Hope now you understood my problem
 
Maneesh Godbole
Saloon Keeper
Posts: 11021
12
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
From what I have understood, you need
1) Write an applet
2) "Plug it into your page" generated by the PHP code

Which part are you having problems? Like Ulf mentioned, it is just the same like embedding any other tag, say like an img tag for example.
More on applets here http://docs.oracle.com/javase/tutorial/uiswing/components/applet.html
 
Sabarish Venkat
Ranch Hand
Posts: 136
Java MySQL Database Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Now i understood all i need is just to create an applet in usual way and storing the jar in PHP source, from the HTML file in PHP i have to embed the applet code. Thanks for your support maneesh and Ulf
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic