[英]What will be the best way to iterate the list as per business logic from performance point of view for the below described requirement
[英]Is it possible to connect to java from a firefox extension in the way described below
我的目標是:
使用Firefox獲取一系列screendump圖像並使用引用保存在本地Filesystem上。
也可以通過我的自定義擴展發送對執行ftp到遠程服務器的java程序的引用。
這非常令人生畏https://developer.mozilla.org/en/JavaScript/Guide/LiveConnect_Overview
可能嗎? 你能看到任何潛在的問題或需要考慮的事情嗎? (我知道文件系統問題,但僅供本地使用)是否有任何教程/參考可能很方便?
我試過鏈接到java,但使用我自己的類遇到問題我嘗試時得到一個類未找到異常
JS:
var myObj = new Packages.message();
Java文件:
public class Message {
private String message;
public Message()
{
this.message = "Hello";
}
public String getMessage()
{
return this.message;
}
}
不使用java方面的包。
只是試圖進行一次快速測試,看看它是否可行並且受到上述時間的壓力,所以只是想看看它是值得的時間投資還是死路一條
您可能會考慮使用此Java教程: http : //www.oracle.com/technetwork/java/javase/documentation/liveconnect-docs-349790.html 。
您使用的Java版本是什么? 您的消息類是Java applet中的對象嗎?
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.