I am building distributed calculator using java server, corba, .net client side UI that can load plugins at server side on runtime.
plugins are .class files stored on server side and on client side plugins are added by getting list of all plugins(.class) in "plugins" folder and adding buttons dynamically.
I want to get additional info about plugin(.class) file.
I want to send info about plugin(.class) like how many buttons and names of that buttons in addition to filename.
I am getting list of file names by using that:
File folder = new File(path); File files = folder.listFiles();
this says make two buttons named "toF" and "toC" and plugin is "temp".
so I can code on client side and make buttons according to given info with .class name.
or any one can give me other way to handle plugins generically.
Edited 3 Years Ago by Reverend Jim: Fixed formatting