Meaningless Drivel is fun!*
The moose likes Applets and the fly likes How to create an applet plugin to run in php websites Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "How to create an applet plugin to run in php websites" Watch "How to create an applet plugin to run in php websites" New topic
Author

How to create an applet plugin to run in php websites

Sabarish Venkat
Ranch Hand

Joined: Jan 18, 2012
Posts: 136

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
Marshal

Joined: Mar 22, 2005
Posts: 42913
    
  68
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

Joined: Jan 18, 2012
Posts: 136

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

Joined: Jul 26, 2007
Posts: 10535
    
    9

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


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
Sabarish Venkat
Ranch Hand

Joined: Jan 18, 2012
Posts: 136

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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How to create an applet plugin to run in php websites