On Aug 15, 2004, at 7:47 PM, Sean Corfield wrote:

> On Sun, 15 Aug 2004 11:21:41 -0700, Dick Applebaum
> <[EMAIL PROTECTED]> wrote:
>  > JRun comes with a built-in JMS provider, but the docs are the pits
> --
>  > not even enough info to compile (where to find the javax.jms
> classes)
>
>  Hmm, I built my JMS event gateway using nothing but the JRun docs - it
>  even had a fully working code example that I copied (literally) from
>  the docs to use as my base code. I just added some configuration bells
>  and whistles and some robust exception handling.

I tried the JRun  code example you mentioned in your blog -- seemed
straight-forward, enough, but Java couldn't find the javax.jms class

>  jrun.jar contains all the classes you need so just put that on your
> classpath.

Jrun docs didn't mention this.  so I went to the Sun site.  Then I
really got lost -- you can dload jms for Java 1.3, but it is included
with Java 1.4 (which I use).

So I searched my hard disk Java & Java developer -- no jms.

I googled without success.

Switched over to OS X Server which has JBoss pre-installed.  and the
docs  referred to JMS & where the class files are (in the JBoss distro)

Finally, dloaded & installed the latest JBoss on my plain OS X & was
able to compile their examples by putting their jar in the classpath.

Then Matt pointed me to OpenJMS, where you compile with THEIR jar
containing jms

So, I realized that the location of the jms classes is dependent on the
implementor of jms & not part of the standard Java package. -- Seems
odd to a Java newbie.

I planned to revisit JRun's built-in jms provider, but I still didn't
know where to look for JRun's  jms classes.

Wasted a lot of hours doing the above.

With the info you provided, it should work & I would prefer using JRun,
because it is already there.

OpenJMS has much better examples & docs, though.

Dick

>  And of course I did all of the development on my PowerBook so I can
>  vouch for how easy it can be...
>
>  Contact me off-list if you have specific questions about using JRun's
>  JMS classes.
>  --

I was going to do that -- I like to do my homework first.

Dick
>  Sean A Corfield -- http://www.corfield.org/blog/
>
>  "If you're not annoying somebody, you're not really alive."
>  -- Margaret Atwood
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to