cancel
Showing results for 
Search instead for 
Did you mean: 

While loop in custom EJB adapter module

Former Member
0 Kudos

Hi to all,

I have a question: can I use a "while" or a "for" loop in a java EJB custom adapter module?

Thanks!

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos
Former Member
0 Kudos

Of course , you can

Former Member
0 Kudos

Hi,

Yes, I think so, but my module doesn't work if I use a while loop into it. This loop contains only one instruction; also its condition is very simple. I don't know why...

Thanks!

Former Member
0 Kudos

check if that is endless loop otherwise while or for loop shouldn't be the problem. Typically multi threaded programs are not allowed in EJBs.

Check RWB to see whats happening at module processing.

Regards

Rajeev

Former Member
0 Kudos

Why dont you add a trace statement in your module and check in the RWB?

regards

krishna

prateek
Active Contributor
0 Kudos

In my opinion, Yes.

Regards,

Prateek