Hi!
Magnus Sandberg wrote:
> > Magnus Sandberg wrote:
> > > All I really want to do is to start a couple of Threads as jBoss
> > > starts. Can this be achived?
> >
> > Absolutely.
> >
> > > Could you giva a short example, what interfaces to implement etc.
> >
> > Well, you could start with the Web service and modify it to suit your
> > needs. Check out org.jboss.web.WebService and the
> > org.jboss.web.WebServiceMBean interface. Its pretty self-explanatory.
>
> Ok very easy thank you.
>
> > Then copy/paste the web service lines in jboss.conf and set it to create
> > your own module. That's all there is to it.
>
> Hmmm, is it possible to to this with making an archive? I can't make
> jBoss load the plugin from a classpath.
>
> --
> <MLET CODE = "myclass" ARCHIVE="" CODEBASE="D:/myclasses/">
> </MLET>
> --
>
> I don't even get an error.
I think you need to make a JAR file. However, you could do a JAR file
that doesn't contain any classes, but *do* container a Class-Path:
manifest header which points to a directory with your classes. That
would allow you to not re-jar your module each time you compile.
Look in the JDK docs for more info on how Class-Path: and JAR's work.
/Rickard
--
Rickard �berg
@home: +46 13 177937
Email: [EMAIL PROTECTED]
http://www.telkel.com
http://www.jboss.org
http://www.dreambean.com
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]