• Post Reply Bookmark Topic Watch Topic
  • New Topic

JMs EJb  RSS feed

 
Hakan Akkaya
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
i�m trying to make this:
I want a Client to invoke a Webservice(an EJB).This runs by SOAP.No Problem.
but i want the client to call the web service with a number (like Person number) and the ejb should make a connection to a JMSQueue. Does anybody know how to do that.I�ve tried it as rpc-style and all worked fine.but i don�t know how to do this as message style web service.

thank you very much
 
Kyle Brown
author
Ranch Hand
Posts: 3892
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What applicatoin server and toolkit are you running with?
Kyle
------------------
Kyle Brown,
Author of Enterprise Java (tm) Programming with IBM Websphere
See my homepage at http://members.aol.com/kgb1001001 for other WebSphere information.
 
Hakan Akkaya
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I know you don�t want to hear that but i�m running a WebLogic Server and have no Toolkit. Bea makes it all for me.

Thank you
 
Hakan Akkaya
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Kyle,

i know you don�t want to hear that but i�m running a Weblogic Server. Toolkits ? I don�t have anyone!
 
Kyle Brown
author
Ranch Hand
Posts: 3892
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So, now I'm confused. Do you want to build a web service that works over JMS to invoke the other web service that you built on top of your EJB? Or do you want your EJB to call some web service over JMS? I don't understand exactly what you're asking for...
Kyle
P.S. Too bad about your using BEA. Have you considered using a real application server instead
------------------
Kyle Brown,
Author of Enterprise Java (tm) Programming with IBM Websphere
See my homepage at http://members.aol.com/kgb1001001 for other WebSphere information.
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does Weblogic come with a JSM implementation? If not the SwiftMQ - version 2.x is free at: http://www.swiftmq.com/
I used this for the SOAP & Messaging chapter in my upcoming book. JMS is well adapted to SOAP messaging - I did both point to point and publish-subscribe implementations.
Bill
------------------
author of:
 
Jim Baiter
Ranch Hand
Posts: 532
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yeah, BEA has a JMS provider - check out this link for the overview of their SOAP integration.
http://e-docs.bea.com/wls/docs61/webServices/overview.html#1023889
 
Hakan Akkaya
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Kyle,

thank you very much for your reply .Know i know how to do it. I have written a Client as Jframe and this contains a Textfield. If i write some Person number into this textfield and click a Button follwing happens:
THe Client gets a Connection by Soap to the EJB and the EJb makes a XMl Message around the Person number and drops it into a JMS Queue. That was the thing i wanted to do .

thank you very much
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!