Sri Rangan

Ranch Hand
+ Follow
since Dec 08, 2001
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 Sri Rangan

I have to process huge files (upto 80MB) and the structure of the file is as below. Basically a huge file has 'N' segments of data with the header and footer and may have to trim some elements at the end on each line. Then I have to take each segment (between start to end) and call my parser to create objects out of it. This is part of a high volume batch process where I will be reciveing large volume of these files.

I understand it is not advisable to read the entire file into memory which will lead to 'out of memory exception'.
I am planning to use the following approach to read the stream in chunks.



This seems to work for huge files. My question is how could I get each segment of data (between start and end) in this process so that I can take each segment and call my parser to covert objects
Thanks
Sri
19 years ago
I understand this book covers continuous integration with ANT and CRUISE CONTROL. Does this also talk about MAVEN+CRUISE CONTROL integration.

Thanks
Sri Rangan
19 years ago
Thanks Ilja.

This is the one I have been looking for

Sri Rangan
This may sound like a crazy idea. However, I have decided to ask this question.

We are working on a product which is similar to the concepts of Eclipse. There is a base Java based platform and we could add diffrent modules as plugins. This is not a Commercial Product and will have to be available for free distribution.

My question is, rather than Building this project from scratch Could I use the Eclipse code and write our own modules as plugins.

I tried to read the legal stuff on Eclipse.org. Could not get clear answer.

Thanks
Sri
Hi:
We use Novell mail servers and Groupwise clients in our shop. I am using JavaMail API to send email by using the SMTP server. It works fine.
In the receieving part, we don't have a seperate IMAP or POP3 servers where I could use JavaMail to read the mails from a inbox.
I have some issues how to track the bounced emails. Novell Groupwise has a COM API and I could successfully connect to it by using JNI. But it can run only on the Windos box. So that option is out.
I am looking for some ideas how could I get access to the returned/bounced mails.
I could set up some rules in my Groupwise to forward the bounced emails to another server (James or sendmail) so I could read the messages from the second server.(I am not sure how it will work).
Has anyone dealt with similar issues?
Thanks for your ideas.
Sri
19 years ago
In fact i am getting the "java.sql.Exception: missing in or out parameter at index:: 1"
But it seems I am setting all the parameter correctly.
I am trying to make a batch update work in EJB.
The following sample code works fine inside EJB:

But the foll0wing code causes "invalid batch command" Exception. I am not able to understand what is going wrong. The only difference here is I am creating the arraylist of objects and looping thru the array list to create my batch.

Thanks for your help
I am using java mail to send email notifications. I would like to read and notify the bounced emails which come back to the Groupwise. I am looking for some help how javamail would connect to Groupwise.
Novell provides some API NOVELL. But nothing is based on JAVA.
Thanks for your help
20 years ago
Steve,
Could you share your experience in writing Test cases using JFCUnit. I took a look at both Jemmy and JFCUnit and I assumed it is very time taking process compared to writing test cases for the back end services using JUnit
Thanks
Sri
20 years ago
Take a look at the example code postedhere.
Sri
20 years ago
This is an example to print the text from a JTextArea
20 years ago
How are the licensing prices for Jess?
20 years ago
Friends,
I am looking for an open source ( Bascically Free ) java rule engine to manage complex if, else logic.
thanks
Sri
20 years ago
I tried the following

As per the java doc. this is supposed change the JDialog with Frame properties. It does not work quite right.
Any help would be appreciated.
Thanks
20 years ago
Could we have maximize button on a JDialog.
Thanks
Sri
20 years ago