Java code as plugin

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • m6s
    New Member
    • Aug 2007
    • 55

    Java code as plugin

    Good morning.

    I was looking for building a plugin code, for using it as module for billing policies in a java program. Looking that, I saw many libraries, equinox, jpf, all hard to implement for nothing really curious and bizzarre.

    The only thing I wanted is to have a jar, once-compiled. One jar that always gets compiled and has inside it the pricing parameter functionality. If it is with the same signature then just compile the pricing plugin, and load it by reloading the main core of java application. Simple? Yes.

    In the end, I made a test. I created an app. I compiled it once. Then the plugin. Then I attached the fresh and fresher plugin version to the directory, and I had the results. Always new data. Without compiling the main big java code.

    Question, I don't get it why I hadn't the answer in front of me? Why so many frameworks? In the end is...java so loveable really?
  • Dököll
    Recognized Expert Top Contributor
    • Nov 2006
    • 2379

    #2
    I believe you are trying to build your own plug ins or jar files:
    how to build own plugins + jar files "step by step tutorial" - Google Search

    Comment

    Working...