Can we write bussiness methods in servlets? if yes, then how can u access that from out side of the servlets?

Questions by sivasivasiva

Showing Answers 1 - 8 of 8 Answers

Manish Patel

  • Feb 24th, 2006
 

No we can't write business methods inside a servlet..only we can write BL inside service() ..if u write bus methods inside a servlet, client can not call because GenericServlet or HS doesn't implements Remote interface..So u can't call from remote places.

  Was this answer useful?  Yes

heath2in

  • Feb 24th, 2006
 

No its not possible to write bl inside Servlets' 'coz they don'nt allow us to write to write the content in it

  Was this answer useful?  Yes

Ranjeeta

  • Sep 26th, 2007
 

Yes we can write business methods inside a servlet and these methods can be accessed only within the same servlet and not from outside of servlet.

  Was this answer useful?  Yes

sampra

  • Mar 4th, 2008
 

No its not possible to write bl inside Servlets' 'coz they don'nt allow us to write to write the content in it

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions