thanks! I'll (already downloaded but not really looked).

I'm also looking forward to Peter Antman's work:
               (from Peter:)
               I have started writing a J2EE Connector JMS resource
adapter, which will
     bring JMS as a true resource (transacted) to JBoss also for publishing
     and not only (as now) for message driven  beasn;-)

This can be used to implement a workflow engine, which will use rule
engine.

Kai





David Jencks <[EMAIL PROTECTED]>@lists.sourceforge.net on
04/20/2001 08:06:37 PM

Please respond to [EMAIL PROTECTED]

Sent by:  [EMAIL PROTECTED]


To:   [EMAIL PROTECTED]
cc:

Subject:  Re: [JBoss-user] Can JBoss allow native code in beans/one JVM per
      bean?

hi,
I don't really see how you are going to get a jvm per bean no matter what
you do.  Are you planning to have many processes of this legacy code
running at once?  how are you going to start/stop them at appropriate
times?

Another approach, I think officially sanctioned, to accessing legacy code
is to write a JCA resource adapter.  You can then make sure only one bean
is accessing one process at a time.  This is actually not very hard to do,
in my opinion.  There are the blackbox-tx examples from sun, you might also
look at my rule engine integration (source available at the moment at
http://home.earthlink.net/~davidjencks/) which includes a simple resource
adapter.

david jencks

On 2001.04.20 12:15:04 -0400 [EMAIL PROTECTED] wrote:
>
>
> I have the same question about the native code and JVM per bean.
>
> Also, I thought about using mbean. This leads to an interesting question:
> what is the
> pro/cons?
>
> thanks
>
> Kai
>
>
>
>
> "Cook, Richard" <[EMAIL PROTECTED]>@lists.sourceforge.net on 04/20/2001
> 09:29:35 AM
>
> Please respond to [EMAIL PROTECTED]
>
> Sent by:  [EMAIL PROTECTED]
>
>
> To:   [EMAIL PROTECTED]
> cc:
>
> Subject:  [JBoss-user] Can JBoss allow native code in beans/one JVM per
>       bean?
>
> I'm wondering about JBoss' ability to run JNI/native code in beans. We
> would most likely have stateless session beans that would call legacy C
> code, code that is not thread-safe. This brings up two questions:
>
>
> Is it possible to use native code in JBoss? The J2EE spec states that you
> cannot load native librares in a bean, only the container can do that,
> but
> you can call native code in a bean. Looking at mailing lists,
> documentation
> for varios J2EE vendors it appears that this is an obscure part of the
> spec
> that not a lot of attention is given to, and how or if it's done varies
> from vendor to vendor.
>
>
> Is it possible to set up JBoss so that each bean would be run in its own
> JVM, either on one machine or on multiple machines? This way we can
> ensure
> that the legacy non-thread-safe code would run OK.
>
>
> Thanks,
> Richard
>
>
>
>
>
>
>
>
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
>


_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user





_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to