Why should i use ejb as i can do it in servlet?

I dont know can any body give it me

Showing Answers 1 - 5 of 5 Answers

Pankaj Kumar Thakur

  • Oct 8th, 2005
 

Servlet can not be used as a business logic component which EJB can be used.

  Was this answer useful?  Yes

Manikant

  • Oct 31st, 2005
 

while using ejb, ejb container provides some services like persistence,transaction,security etc implicitly it doesn't require coding.

  Was this answer useful?  Yes

littlebuddha

  • Oct 31st, 2005
 

If any of these requirements hold for your application :-

1.the application must be scalable and distributable
2.Transactions will be required to ensure data integrity
3.the application will have a variety of clients

little

  Was this answer useful?  Yes

samyukta

  • Nov 15th, 2005
 

ejb is a 3-tire architecture (client,server,database).servlet  is simple client server architecture i.e 2-tire.

  Was this answer useful?  Yes

pavani

  • Nov 18th, 2005
 

By using ejb, we are seperating the business logic. This is used when we have distributed environment where the client can access the remote object as if it were in the same local machine.

  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