File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JForum and the fly likes plugin Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JForum
Bookmark "plugin" Watch "plugin" New topic
Author

plugin

Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Hello hello,

Would anyone help me on how to create plugin for jforum? lets say I do have additional class or modify a code in jforum. I just don't want to modify the core code of jforum. what I want is to have a plugin and create a jar file of my additional class.

please help.
[originally posted on jforum.net by Anonymous]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Anonymous wrote:Hello hello,

Would anyone help me on how to create plugin for jforum? lets say I do have additional class or modify a code in jforum. I just don't want to modify the core code of jforum. what I want is to have a plugin and create a jar file of my additional class.

please help.


Won't you have to modify the "core code of jforum" to get it to recognize your "plugin?"

And you certainly don't give much information as to what you are trying to accomplish with your plugin ... details may be more helpful for a meaningful response.

[originally posted on jforum.net by GatorBait3]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
thanks for the immediate reply.. here's what I want...

I have to modify the core code of jforum 'coz I have other implementation that needs to modify the code. But I do not want to modify the core code. I just remain the original code.

For example in JForum.java I have additional module, and put JForum.java to another package let's say com.test so what I need now is to use the new JForum.java located in that package (com.test) and retain the original core code.

So I think plugin is the right term for this. lets say I create pluginJForum.jar in which the new JForum.java(com.test.JForum) was inside the plugin and use that on my Jforum. instead of using the original.

Do I explain this clear? please let me know i need help on this

Thanks
[originally posted on jforum.net by Anonymous]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
I second your thoughts, and a plugin engine would be very very helpful.
I have been evaluating some frameworks, and so far, http://jpf.sf.net is by far the best I found.

However, there is not - at least currently - any planned date to refactor JForum in order to support a plugin system. This is desired, but not done so far.

Rafael
[originally posted on jforum.net by Rafael Steil]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: plugin