Vishwanathan Nagarajan

Ranch Hand
+ Follow
since Jan 28, 2009
Merit badge: grant badges
For More
Cows and Likes
Total received
In last 30 days
Total given
Total received
Received in last 30 days
Total given
Given in last 30 days
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Vishwanathan Nagarajan


What is the size of the payload that is returned in the SOAP message.

10 years ago

For just the stock price why return the xml and later ask client to parse it.

If the response from the Web Service is just bundle of atomic values to be displayed in a client like browser, you can instead have a JSON based web service instead of a XML based web service. This will reduce the hassle of parsing the XML at client side since JSON could be easily parsed in Javascript.

10 years ago

@ directive include is static include, when the content in task1.jsp is static then you can include that inside task3.jsp using @ include.

In this case if task1.jsp has changed in the runtime, it will not reflect in task3.jsp.

In the case of jsp action include (jsp:include), it is a dynamic include; in this case if task1.jsp has changed in the runtime, it will reflect in task3.jsp.

So for the common pages which are used accross all pages, like the header, menu bars etc., should be included using jsp:include so that whenever changes happen to these common pages, it gets reflected across all pages during runtime.

13 years ago

One possibility is that from you spring application you are sending the message to the queue in the transactional mode, in this case when the message is sent you might see the message depth increasing in the MQMonitor, but from your spring applicaton you would not have commited the transaction.

In the above case though you see the queue depth increasing, but you cannot browse the message in the queue from MQMonitor. For the same reason when you terminate your application the queue depth will return back to 0.

Please check this out.

13 years ago

If I understand your question correctly, you want to read the messages comes in a queue from an external system and send it to another queue, nothing else. Is this right?

If this is right;

1. if you want to do it in java use* and create a java class which would act as an receiver for the messages coming in the queue and you can write the same message to some other queue. Again you have to schedule this java class to pick up the messages at regular intervals

2. you can create an message driven bean for this queue, and inside the bean re-route the message to another queue

3. as you have mentioned about Websphere MQ Broker tools, I can think of many IBM tools which will do this, but if what is stated above is the only job you wanted to do, no use going for IBM products which do much more than just re-routing messages

4. if you want to manually just browse through the MQ, you can use RFHUTIL

With limited information you have provided, these are the things I can think of.
13 years ago
please refer to the "Specifying dependencies outside the application server directory" section in the following link,
13 years ago

Please refer to the following link for examples on interceptor,
14 years ago
You can use Altova XML Spy to generate xml from DTD.

DOM or SAX could be use to parse the xml in java, but they are used in different scenarios.

When to use DOM parser :

- Manipulate the document
- Traverse the document back and forth
- Small XML files
Drawbacks of DOM parser :
- Consumes lot of memory

When to use SAX parser :

- No structural modification
- Huge XML files

By default websphere uses xerces parser.
14 years ago
Following are the issues with your code;


public static void main(String s[])

StaticTest s1=new StaticTest();


you need to include a } at the end
2. inside the static block, j should also have a type specifier as; int j = 6 (or) int i = ...,j=...;
3. you don't need to use the this keyword inside the constructor
4. you cannot access the variable k that is inside the static block inside the constructor. Basically any static member should be accessed from any other static block or method or directly through the class.

I would suggest you brush up with the basics of java before continuing with your coding.
14 years ago

purushotham podaralla wrote:Hi Vishwanathan,

please let me know how to get the logo for SCBCD5.0. i cleared this exam on 24th Jan 2009 with 91%. please do the needful.

thanks in advance.


Please use the below link;
14 years ago
Thank you all, for your appreciation.
14 years ago

Vimal Panchal wrote:
Can you please give me the links for the preparation of this exam.

Hi Vimal,

Please find below the links that I have used. - study guide by MZ - EJB 3.0 spec

for some exam objectives I was not able to find the material in MZ EJB 3.0, which I was able to find in the below link of MZ EJB 2.0

These are some of the standard links that I used, other than this, for every exam objective whenever you do not understand anything or when you need to see the code example, just google the objective. There are no standard links, when I googled with the objectives, I found plentiful number of links with both good explanation for the objectives as well as with clear code samples which you can try out in JBOSS.

I hope it helps, let me know how it goes.
14 years ago

Vijay Nimkarde wrote:
I was searching for like book for EJB. thanks.

There is no one book which is currently available in the market which would be enough for SCBCD 5.0

Actually I have read a mix of spec, Oreilly EJB 3.0, EJB 3 in Action and Mikalai Zaikin study notes. MZ and spec I read fully, other 2 books I did not read it fully. Mainly I concentrated on spec and MZ.

Please go through the following thread where I have explained my learning experience for SCBCD 5.0