🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.api
Article #1620

To anyone interested in writing plugin based applications

#1620
From: John Baker
Date: Wed, 07 Nov 2001 15:23
21 lines
1789 bytes
I have just updated the example Jbuilder4 project to include a demo gui app
that loads plugin jars from the app plugin directory and show them attached
dynamically. Uzip into a fresh directory and open the project. It should
work by hitting run.

http://www.softcomms.com/java/plugin.zip

This illustrates a flexible way to make an application modular, use of
custom classloaders, multiple resource usage etc. There is only one plugin -
the hello plugin. This is enough to get the idea though. Any problems just
mail me. To add a new plugin for practice look at the way the
HelloInitializer works and write a similar class. Also look at the
properties of the Hello jar which is how a plugin should be packaged.

Hope this helps those who have been interested in modularity,
John

----------------------------
SoftComms Ltd.
Tel/Fax: + 44 (0)1273 600 785
http://www.softcomms.com
Technical Details
Message-ID: <3be94f00_1@dnews>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!news-peer-west.sprintlink.net!news.sprintlink.net!enews.sgi.com!news.xtra.co.nz!newsfeeds.ihug.co.nz!ihug.co.nz!dnews

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1089d0,74637c92385a4a1e,start
X-Google-Attributes: gid1089d0,public
X-Google-ArrivalTime: 2001-11-07 07:19:40 PST
From: "John Baker" <jbaker@SoftComms.com>
Newsgroups: borland.public.jbuilder.java.api
Subject: To anyone interested in writing plugin based applications
Date: Wed, 7 Nov 2001 15:23:12 -0000
Lines: 25
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2314.1300
X-MIMEOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
NNTP-Posting-Host: 217.134.198.85
Message-ID: <3be94f00_1@dnews>
X-Trace: dnews 1005145856 217.134.198.85 (7 Nov 2001 07:10:56 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!news-peer-west.sprintlink.net!news.sprintlink.net!enews.sgi.com!news.xtra.co.nz!newsfeeds.ihug.co.nz!ihug.co.nz!dnews