Mathur Neni

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

Recent posts by Mathur Neni

>>1. how i'll pass the xml document to the service... using which apis
From the client, create a SOAPEnvelope and using Axis classes send it to the target end point using the api from axis library.
http://ws.apache.org/axis/.

2. how i'll recieve the doc as a string and how will i generate the original XML doc frm it and validate it against the schema.
>> I have seen and implemented the document based axis webserivices like this.

public Document SomeMethod(Document doc){
return Confirmdoc;
}

For converting XML string to java objects to store the info in DB, here is a nice one:
http://xstream.codehaus.org/
18 years ago
Thanks Joe, got it solved by using ByteArrayOutputStream. But without making a copy of another inputstream couldn't do it.

But as file size is not bigger (because some env constraints), it is good for this scenario.

Thanks all, sincerely appreciate your inputs.
18 years ago
Thanks Joe and Ernest for the reply.

Not able to do File.length() - file is dynamically built & InputStream is given as input.

The data is of 3MB max. Can it be considered as a big size to use PushBackInputStream. Yes, it looks like as I am traversing the data and trying to use the same inputstream again, thats why it is showing file length as 0.

This is for checking file size validation and pass on the stream to other classes for further processing.

Any solutions to retaining the inputstream after reading it or to check file length by retaining the file content.

Thanks.
18 years ago
I have to do check the file length from the passed InputStream. And after that, it has to be passed to another class. But after checking length of inputstream, getting file length as 0.

anything wrong in this method to check the file length:
checkFileLength(InputStream inpStr){
BufferedInputStream bufInput = new BufferedInputStream(inpStr);
int data, len = 0;
try {
do {
data = bufInput.read();
len += data;
} while (data > -1);
bufInput .close();
} catch (Exception e) {
}
}
if (len ........etc.,

}

I think "inpStr" is passed by reference here. Is there any way to copy a inputstream and pass the copy to this checklength method or retain the file content after checking the lenght of the file.

Is there any other ways?

Thanks in advance.
18 years ago
Chintan, Nick, and David,

Thanks for all the inputs.

Regards,
Neni
Your info is helpful and the links too.

In the finance domain, I am able to see many areas like: Fixed Income/Mortgage/Brokerage/Banking/Stock Trading/Securities/equities/mutual funds etc.,

Any thoughts on which finance area uses more of J2EE. Sorry, I know this question is vague. My thought behind this vague question is to get an idea on which area I need to proceed to get good knowledge and concept-wise.

Any suggestions or comments, thanks in advance.

Thanks,
Neni
Nick,

Thank you very much for the information. I will pursue further on this.

Thanks,
Neni
Hi NagaJyothi,

THANK YOU for the information.

For now, I am trying for finance domain.

This info will be surely helpful, if I've to go into insurance. Thank You for the info once again.

Thanks,
Neni
Nick,

Thanks for your response.

I am in J2EE, but interested in entering/joining as a developer position in finan market. From tech point, I am fine with skills, but they need domain as well.

Initially my thought is to get a certification, so that I can get some knowledge. And atleast after couple of years, I want to be myself in the fin. market.

Any suggestions on certification and other than certifications too?

Thanks in advance.

Mathur
I hope you would have taken some action on this. I am in the same situation (but not having financial exp).

Please suggest is the Series 7 worth to take to get into financial market?

How about Series 6 or any other certification?

Any suggestions/comments?

Thanks in advance.
Any suggestions on Series 6 or 7, which is better for the tech guys, as per the current financial market?

I have seen that the prerequisite for the certification is:
"You must be sponsored by a firm who is a member of the NASD or is a Self Regulatory Organization (SRO)."

What is this sponsored mean for?

Thanks in advance.
I guess this may be a basic question.

We have a Action class, which has a protected inner class, which contain some attributes. When multiple users are accessing, app is giving wrong info back (some others user data). Basically the same kind of problem happened in servlet and that was cleared by bringing attributes into the doGet method.

Is there any reason that the attributes in the inner class are being shared when multiple users access. And thus can cause any switched data being displayed to users.

Any suggestions are helpful.

Thanks in advance.
18 years ago
Thanks for the reply.

Is it the same case in struts action classes also. Just I am curious as we are having another scenario like this?

Thanks,
Neni
18 years ago
I guess this may be a basic question.

We have a servlet, which has a protected inner class, which contain some attributes. When multiple users are accessing, app is giving wrong info back.

Is there any reason that the attributes in the inner class are being shared when multiple users access. And thus can cause any switched data being displayed to users.

Any suggestions are helpful.

Thanks in advance.
18 years ago
My brother Planning to write Test-154 for Web Developer is this really helps him, when i tried for the resources on java ranch i did nt find any body took this test, So im in a confusion whether this test will help him or not?

can any body please advice on this?

Thanks in advance

Neni