cancel
Showing results for 
Search instead for 
Did you mean: 

how to do jms with netweaverdeveloperstudio

Former Member
0 Kudos

hi,

can u pls tell how to do jms with nwds ?

which things i need to configure in webas?

how to write client for jms?

regards

Guru

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member187702
Active Participant
0 Kudos

Please try the J2EE engine (JMS) example first to have a better understanding of JMS given in portal/index.html

I hope the following references may also help you

http://help.sap.com/saphelp_nw04/helpdata/en/a3/63af1bbf09469fa1615c05f0daff6f/frameset.htm

http://help.sap.com/saphelp_nw04/helpdata/en/90/57849e5e3e45d784afc4e3bfa8136f/frameset.htm

Regards

iprieto
Contributor
0 Kudos

Hello Guruvulu,

You can use JMS how an other system platform. You need the vendor libraries for connecting to target system. These libraries need to be imported to the Java project.

Remenber if you use EJB you need import the libraries in configuration file into the ear project.

Only need configure Web AS in case that you implement EJB message driven.

For write a jms client you can use the same java code that other implementation type. In google there are a lot of java code for implement JMS client.

Regards

Iván Prieto

Former Member
0 Kudos

Hi Carlos,

Well, that is not quite so.

The classical standalone JMS client will lookup the JMS destinations and factories out of the server JNDI. So, you have to either use the default ones (not recommended, plus destination names like 'sapDemoQueue' will not be part of googled examples) or create the JMS resources on the Web AS.

How to create the resources is vendor and server version specific.

HTH

Peter

Former Member
0 Kudos

Hi,

For the

SAP NetWeaver Application Server, Java EE 5 Edition

There is a <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/55e7d51e-0e01-0010-7b84-a95ee55eadeb">detailed document</a> available. Since the JMS API hasn't changed a lot between J2EE 1.3 and Java EE 5, you can reuse the same code in earlier versions as well.

HTH

Peter