my dog learned polymorphism
The moose likes EJB and other Java EE Technologies and the fly likes Problem in running session beans Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Problem in running session beans" Watch "Problem in running session beans" New topic
Author

Problem in running session beans

Rituparna Duttagupta
Ranch Hand

Joined: Feb 08, 2011
Posts: 55

Hello Friends !!

I am facing a verry strange problem, it goes like this.....

I have created this bean...



and call it through this code in a servlet/.jsp file(I have tried both)......



it is compiling alright but while executing it hang up my machine!!
but when i am coding it in a servlet like this...

... it's compiling and executing alright giving the required result!!!

Now, why is this happening?? where am i going wrong??
somewhere in the bean code??? or is it that i am creating a blunder in calling it??


With regards,
rituparna
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

You have a while loop that never ends. Why are you using a loop at all?


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Rituparna Duttagupta
Ranch Hand

Joined: Feb 08, 2011
Posts: 55

THANKS Paul, it's working now. actually i wanted to do something at first, then changed my mind.
thanks again.
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

You are welcome
 
jQuery in Action, 3rd edition
 
subject: Problem in running session beans
 
It's not a secret anymore!