Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6864847
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T02:57:51+00:00 2026-05-27T02:57:51+00:00

We’ll start with a down-to-earth example and then return the coneptual question. I am

  • 0

We’ll start with a down-to-earth example and then return the coneptual question.

I am using Weblogic (10.3) as my Application Server. I want my application to have JMS capabilities and decided to let it use the Weblogic as the JMS / MOM provide. I setup a Queue in Weblogic and created an MDB class in my code.

Now I want to send a message to Weblgic queue. I used openJMS client. It required me to include the weblogic jar file in its classpath in order to send a message to weblogic.

And the same when I setup Weblogic to send message to the openJMS queue – I used Foreign Destination – it threw class not found exception until I placed openJMS jars in weblogic classpath.

This is becasue all JMS communication examples I saw use JNDI context to get the connection factory.

My question is: does that make sense? Isn’t JMS suppose to be some neutral communication protocol? Meaning I can’t decide to which JMS provider I am sending, at run-time, because I won’t have its context classes in my classpath?

Or did I simply miss something in the setup?

Is there another way to preapre the connection factory to the remote provider?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T02:57:51+00:00Added an answer on May 27, 2026 at 2:57 am

    Isn’t JMS suppose to be some neutral communication protocol?

    Good question. The answer is: it isn’t. JMS is only the API that defines how to connect and send messages to queues/topics. It is not a protocol, so JMS provider implementations are free to use their own internal message format — that’s why you need to import the jars of the provider. And also you can’t expect provider A to be able to exchange messages with provider B, unless both providers give such possibility explicitly.

    An open, cross platform messaging communication protocol is AMQP. There are also other commercial solutions, for example IBM Websphere MQ.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I have a French site that I want to parse, but am running into
I have thousands of HTML files to process using Groovy/Java and I need to
link Im having trouble converting the html entites into html characters, (&# 8217;) i
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I have just tried to save a simple *.rtf file with some websites and
I want to count how many characters a certain string has in PHP, but
I have a jquery bug and I've been looking for hours now, I can't
Specifically, suppose I start with the string string =hello \'i am \' me And
this is what i have right now Drawing an RSS feed into the php,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.