I use struts extensively, and although I think EJB can be an asset on some 
projects that require object relational mapping or complex deployment 
configurations, I find it entirely unessesary for the JSP and business 
logic layers of my current project and would be just another step for me to 
do when deploying.

In my current tomcat applciation I create a "factory pattern" object and 
let it deligate the implementations that are passed to the client from each 
layer. For my data store I emulate the entity and home (finders) patterns.

this seems to work for me very well, but of course the implementations have 
some stuff in there that might be better placed ina descriptor file if I 
was deploying to a clustered environment or working with other developers 
and configurations.

basically EJB is another layer, each layer you add is going to add some 
complexity, sometimes its worth it, sometimes it isn't. doing architecture 
is about making that call.

clay




-----Original Message-----
From:   Struts Newsgroup (@Basebeans.com) [SMTP:[EMAIL PROTECTED]]
Sent:   Sunday, July 07, 2002 11:10 PM
To:     [EMAIL PROTECTED]
Subject:        Re: Struts + EJB ?

Subject: Re: Struts + EJB 1 2 3 4 5 6 7 8 9
From: "Vic C." <[EMAIL PROTECTED]>
 ===
You might want to look at some EJB experiences on www.proj.com/bad.jsp,
the first 4 links are worth reading (the 3rd and 4th are new, and the
4th talk about PetStore)

Vic

Boney Sze wrote:
> can struts and EJB be used together in an application
> ?
> im kinda new to EJB but i could say i know struts
> already.
>
> can anybody provide any references or ideas about
> this?
> thanks
>
> Boney
>
> __________________________________________________
> Do You Yahoo!?
> Sign up for SBC Yahoo! Dial - First Month Free
> http://sbc.yahoo.com
>
> --
> To unsubscribe, e-mail: 
  <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: 
<mailto:[EMAIL PROTECTED]>
>


--
To unsubscribe, e-mail: 
  <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: 
<mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to