Birla Murugesan

Ranch Hand
+ Follow
since Nov 25, 2008
Chennai
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 Birla Murugesan

William Brogden wrote:Doing major computation with large numbers of records inside the servlet request/response cycle is a bad idea.

If this was my problem I would have the servlet create a separate process handling small numbers of records at one time and writing the results to a file where it could be downloaded when the job is done.

Bill




William,
Thanks for your response.
But technically, how this can be implemented?
Please provide your suggesions.
7 years ago

Hi,

on Report generation of high volume records(3 lakhs), Application server thrown a out of memory error.so that server crashes & went down.

Actually, we are using the stateless session bean to retrieve this 3 lakhs records from db & iterating the resulset & storing the each record values in vector. Finally returing these all vector objects(say 3 lakhs vector) to client i.e servlet. once again client servlet iterating this vector object & generating the report.

On analyzing the heap dump files, 60% of memory leakage caused due to this large no of created vector objects.

So decided to process the whole results into smaller, manageable chunks.

Please recommend any better design patterns or alternatives to implement this solution.



7 years ago
Hi,

Invoking a UserHome Entity bean in stateless session bean
Getting exception:
java.lag.ClassCastException : remote.com._UserHome_Stub incompatible with remote.com.UserHome
EJB Version : 2.1

App server: webspher 7


Please help me regarding this issue.

Regards,
Birla

Hi Rangers,

Actually i am running tomcat server. In that while Invoking Servlet,the following exception throws

java.lang.NoClassDefFoundError: HTTPClient/CookieModule

How to resolve this.

please help me out this.

Regards,
Birla.M
10 years ago
What is the use of Inner classes in OO perspective?
10 years ago

Hi Rangers,

Question is:

i am using tomcat as web server. i have to different web applications running successfully. These projects are hosted in 2 different places .how to provide common login for these applications. please provide the answer.


Regards,
Birla.M
10 years ago
seetharaman,

Thanks for you suggestions.Actually ,the problem was having same jars in my webapps context and webcontainer lib which was said by you.

once again i thank you for your response.

Regards,
Birla.M
10 years ago
JSP

Having a java class com.birla.NewAPI

Having the A.jsp file

In that jsp,while invoking the method of NewAPI

The below exception came

Servlet.service() for servlet jsp threw exception java.lang.LinkageError: com/birla/NewAPI


How to resolve this exception.

Regards,
Birla.M
10 years ago
JSP
How to we check if primitives like long,int becomes null?
10 years ago

what is the difference between this following code snippets?



and



which one is best interms of performance and which has to be used at which scenario?
10 years ago
Hi friends,

Thanks for the info given


Regards,
Birla.M
11 years ago

Hi Rangers,

please suggest me a effective Java book to score well in SCJP Exam

Thanks in advance,
Birla

11 years ago

Jaikiran Pai wrote:

Martijn has put up this wiki http://sourceforge.net/apps/mediawiki/ikasaneip/index.php?title=Welcome_Letter which has "How to join the project team" section. Please follow those steps to join the project.




while loading the link (which you given ),the blank page will get opened.
please do the needfull.
11 years ago
Hi,

I am also intrested to join in Ikasan Enterprise Integration Platform project.
please let me know what i need to do
11 years ago

Without iterating the array,Is there is any other way to do it.
11 years ago