How to create a EJB application(project is already done in struts MVC)

Hi,I created a project in struts using MVC pattern.Now I want to do the same project using EJB.How to create it.I am using the eclipse IDEAny suggestions get appreciatedRegardsSudheesh
[219 byte] By [SudheeshKumara] at [2007-11-26 14:31:45]
# 1

> I created a project in struts using MVC

> pattern.Now I want to do the same project using

> EJB.How to create it.I am using the eclipse IDE

EJB is not a replacement for Struts. They are intended for two different purposes. Struts is a framework which advocates the MVC framework and focusses more on the View-Controller part. An EJB is intended to be a business component (Model). If you want to do something, you can add an EJB to your project and make calls to it from the Action classes to call business methods.

It makes me believe that you think EJB and Struts do the same thing, based on the way you framed the question.

If you are looking for a step-by-step answer of how to create an EJB project in Eclipse, I suggest that you go through the Eclipse tutorials that are already available (online as well as in Eclipse help).

annie79a at 2007-7-8 2:26:56 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...