I can't claim to have worked with WebLogic & MQSeries, but having worked
with WebSphere and MQSeries, I can give you some input that may prove
useful.
>
> My project involves integration of MQSeries with WebLogic server,
> this mainly makes use of applications already written on the
> mainframe side, weblogic is used to provide the web interface
> and do some fancy stuff.
>
> I am planning to use MQSeries to send/get talk to Mainframe.
> Now my questions are:
> 1. Can I use the JMS interface of WebLogic to connect to MQSeries.
I suppose so. It should be interesting marrying the WL JMS interface to the
MQ Series provider.
The biggest problem we found with using the JMS interface with MQ was the
'functional logon' to the mainframe. JMS spec specifies that the username is
set by the provider and on a NT machine it is the username of the person who
had started the MQ Q manager. This was a pain for us and thus we have
temporarily reverted back to the native API to fix the authentication
problem. We have our transport layer abstracted so that we can switch
between JMS and the MQ native api.
The other problem was that for the MQ IMS and CICS bridges, the headers are
provided as nice C structures. We have had to reverse engineer them to Java
classes. The minor problem here is to fiddle with the provider options to
get the right MQ message format sent to the mainframe for the IMS header.
> 2. What about connection pooling to MQSeries.
We are not doing connection pooling to MQ at the moment, but relying on the
instance pooling of the application server to perform that function. The
beans that do the MQ interface are isolated to the data tier and we know
exactly how many and how max they can grow to.
> 3. I will be using BMP entity beans to be created from MQSeries
> messages, has anyone done this.
We use SSB's. Interesting with BMP beans. Why ? Do your messages follow a
relational format ? How will you provide finders etc... ?
> 4. I want to use XML messages in MQSeries, I read somewhere that
> MQSeries can convert and pass XML messages. [I know there is another
> product - MQSeries Integrator, this can convert Cobol Copybooks
> and C structures to XML], but can MQSeries basic version do some
> stuff like this.
>
Yes, it can do that and more.
But if you are using JMS, just extend TextMessage and supply the XML data.
Here is an article that goes to greater detail.
http://javaworld.com/javaworld/jw-02-2000/jw-02-jmsxml_p.html
-- Aravind
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".