ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Good documentation about I/O with JavaNode

Post new topic  Reply to topic
 Good documentation about I/O with JavaNode « View previous topic :: View next topic » 
Author Message
mark.luebinski
PostPosted: Tue Apr 10, 2007 3:26 am    Post subject: Good documentation about I/O with JavaNode Reply with quote

Acolyte

Joined: 27 Mar 2006
Posts: 56

Dear Masters,

after our management don't like to buy FileAdapter I guess, it must be possible to use JavaNode to read and write data to the simple flat file or read Properties in the Java-way.

Is a simple documentation about this available? I can Java but haven't wrote any JavaNode before.

Thank you very much!!

Mark
Back to top
View user's profile Send private message
marcin.kasinski
PostPosted: Tue Apr 10, 2007 7:21 am    Post subject: Re: Good documentation about I/O with JavaNode Reply with quote

Sentinel

Joined: 21 Dec 2004
Posts: 850
Location: Poland / Warsaw

mark.luebinski wrote:
Dear Masters,

after our management don't like to buy FileAdapter I guess, it must be possible to use JavaNode to read and write data to the simple flat file or read Properties in the Java-way.

Is a simple documentation about this available? I can Java but haven't wrote any JavaNode before.

Thank you very much!!

Mark



I think there is no such documentation but...

there is documentation about JAVA IO (http://www.jchq.net/tutorial/11_05Tut.htm) and documentation about JAVACompute (http://publib.boulder.ibm.com/infocenter/wmbhelp/v6r0m0/index.jsp?topic=/com.ibm.etools.mft.doc/ac20805_.htm) and you have to combine this informations.
_________________
Marcin
Back to top
View user's profile Send private message Visit poster's website
jefflowrey
PostPosted: Tue Apr 10, 2007 8:03 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

http://www-128.ibm.com/developerworks/websphere/library/techarticles/0605_crocker/0605_crocker.html

I remember, a long time ago, seeing a sample User Defined Java node that read a file.

But knowing how to read & write files in Java, and reading the devWorks article above, should be enough for a competent programmer.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Michael Dag
PostPosted: Tue Apr 10, 2007 10:16 am    Post subject: Re: Good documentation about I/O with JavaNode Reply with quote

Jedi Knight

Joined: 13 Jun 2002
Posts: 2607
Location: The Netherlands (Amsterdam)

mark.luebinski wrote:
after our management don't like to buy FileAdapter I guess, it must be possible to use JavaNode to read and write data to the simple flat file or read Properties in the Java-way.
sure you can build your own FileAdapter, but remember to deal with transactionality yourself
_________________
Michael



MQSystems Facebook page
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
mark.luebinski
PostPosted: Wed Apr 11, 2007 6:08 am    Post subject: Reply with quote

Acolyte

Joined: 27 Mar 2006
Posts: 56

Thank you all!

My English is too bad, so that my questins seems to be misunderstood. I have no problem to read and write files in pure Java. I only have problems with descriptions like the Croker-one... It is a lot of new classes and no "simple" javaDoc and tutorials, like from Sun and Microsoft. So, how can I for example write the lines in Environment, so that I could get it in the next normal ESQL-Compute and so...

Thank you!

Mark
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Apr 11, 2007 6:13 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

You need to use the Java MB API, which is used in the Crocker article, and documented in the Info Center.

The full API is documented at
http://publib.boulder.ibm.com/infocenter/wmbhelp/v6r0m0/topic/com.ibm.etools.mft.doc/com/ibm/broker/plugin/package-overview.html

There is a more user oriented section of the Info Center on Writing Java here:
http://publib.boulder.ibm.com/infocenter/wmbhelp/v6r0m0/index.jsp?topic=/com.ibm.etools.mft.doc/ac30300_.htm
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Good documentation about I/O with JavaNode
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.