Bill, although I think this thread needs to die, I really wanted to hopefully relieve 
some of your confusion.

EJB and Struts are COMPLETELY complementary technologies and I don't see how they 
"compete" with eachother at all.  Struts is a web-application framework based on MVC, 
EJB is really a "server side component architecture".

If you are faced with the task of delivering web-based access to an EJB backend, then 
Struts is a perfect fit.  Note, its not the only choice -- but IMHO it is one of the 
best choices from a framework standpoint.  In general, your Struts Action classes 
("the contoller") will acquire references to EJB objects (session/entity beans) and 
use them to implement business logic.

When using Struts in conjunction with EJB, Struts is really just concerned with the 
presentation logic and not so much with the business logic.  That should be handled by 
your EJB's.  In my development I routinely code pure-java (application) client to test 
out my EJB backend.  Once that works building the Web presentation stuff with JSP's 
and Action classes is pretty straight-forward.

I hope this is helpful, feel free to send me some email directly if you have more 
questions.

--Steve 


> -----Original Message-----
> From: Bill G [mailto:[EMAIL PROTECTED]]
> Sent: Monday, June 18, 2001 2:04 PM
> To: [EMAIL PROTECTED]
> Subject: RE: java report article says "bye-bye struts"
> 
> 
> Hi Craig,
> 
> "Although excellent in dealing with Web-based applications, 
> Struts is not
> ready to take on EJB."
> 
> This is a concern of mine as well but as a newbie to this 
> technology, I am
> wondering how to adopt the Struts framework knowing that I 
> will move to
> EJB's. Is it worth starting with Struts with the idea of 
> moving to EJB's or
> what? Any info on this matter is seriously appreciated!
> 
> Thanks
> BG...
> 
> 
> 
> -----Original Message-----
> From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
> Sent: Monday, June 18, 2001 11:14 AM
> To: '[EMAIL PROTECTED]'
> Subject: RE: java report article says "bye-bye struts"
> 
> 
> 
> 
> On Mon, 18 Jun 2001, Ritter, Steve wrote:
> 
> > Hi Hal, yeah I read the same article and couldn't help but laugh.
> > Prashant really made some outlandish comments and hopefully those
> > comments will diminish any negative impact his article might have on
> > Struts (or, the adoption of Struts I should say).
> >
> > Craig, if you read this thread it might not be a bad idea to send a
> > quick email to the editor's of Java Report and let them know about
> > some of the mis-leading statements.  Sounds like their review board
> > needs a little re-org.
> >
> 
> Looks like I'll have to go buy a copy -- I don't pay a lot of 
> attention to
> trade magazines in print, because production cycles make them 
> so far out
> of date.
> 
> Judging from the many thank-you's I've received for the 1.0 final
> release, I wouldn't worry to much about negative impact on Struts
> adoption.  :-)
> 
> > --Steve
> >
> 
> Craig
> 
> > > -----Original Message-----
> > > From: Deadman, Hal [mailto:[EMAIL PROTECTED]]
> > > Sent: Monday, June 18, 2001 7:52 AM
> > > To: 'Struts List'
> > > Subject: java report article says "bye-bye struts"
> > >
> > >
> > > Clearly there are too many java magazines and they will
> > > publish anything. In
> > > the July issue of Java Report there is an article titled
> > > "Writing a Reusable
> > > Implementation of the MVC Design Pattern" by Prashant Sarode
> > > from Brience.
> > > It's interesting because it has a section title of "Bye-Bye
> > > Struts". The
> > > section starts out as follows:
> > >
> > > "While the Struts framework is a powerful idea, it is not yet
> > > a product.
> > > Although excellent in dealing with Web-based applications,
> > > Struts is not
> > > ready to take on EJB."
> > >
> > > There are other gems in the article but I won't reproduce
> > > them all here.
> > >
> > > The premise of the article is that the author went 
> looking for an MVC
> > > framework. He found the Blueprint document and liked that but
> > > it was too
> > > complicated. He then found Struts but apparently it didn't
> > > meet his need for
> > > "a reusable implementation of the MVC pattern." Prashant must
> > > be a hard man
> > > to please. I think he wants one framework that can be used
> > > for both web
> > > applications and desktop applications. Personally I would
> > > rather share the
> > > model components and let my MVC framworks be a little less
> > > abstract and more
> > > useful to the task at hand.
> > >
> > > I couldn't find the article on-line. I just skimmed the rest
> > > of the article
> > > because it it was hard to concentrate or take it seriously
> > > after the Bye-Bye
> > > Struts section.
> > >
> > > Hal
> > >
> >
> 

Reply via email to