struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Filion <mfil...@csc.com>
Subject Re: [S2] Working with other technologies
Date Fri, 02 Mar 2007 21:54:48 GMT
Some basic google searches will reveal most of this information for you. 

Here are a few links i found that will be helpful.
http://lijinjoseji.wordpress.com/2007/01/04/three-advantages-of-integrating-structs-into-spring-2/
http://www-128.ibm.com/developerworks/java/library/j-sr2.html

One of the projects I worked on took advantage of Spring to inject 
"services" into an action. I wasnt a huge fan of it because of how closely 
it tied the business logic in with what i feel the view layer is (struts), 
although this was mostly due to the poor architectural design of the 
overall system. I also thought the Injection was clumsy because you not 
only had to specify a configuration within an XML file but you had to make 
sure that you had a getter and setter for the different "services" you 
were going to inject. Again, this may all have been a problem with the 
specfic implemetnation. However, I feel that frameworks, while providing 
flexability, should naturally guide a user to the proper implementation. 
With struts both 1 and 2 the implementation is clear, define an action, 
define your mappings and call your action and with struts 2 you can add 
interceptors and results to further manipulate your view. To me, these are 
well defined frameworks, struts 2 more so, but they both provide all the 
flexability you need to accomplish the task at hand while also guiding you 
to the proper implementation naturally (through the struts.xml file). With 
spring there are so many ways you can take advantage of and misuse it in a 
lot of cases, due to "magazine architects" or your "hack-ademicly inclined 
engineers", its more dangerous than it is helpful.

Anyway, thats my $.02. Dont worry, you can keep the change.

Matt Filion
CSC - GTS --> Raytheon - ISF
(818) 468-6271
mfilion@csc.com


--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
This is a PRIVATE message. If you are not the intended recipient, please 
delete without copying and kindly advise us by e-mail of the mistake in 
delivery. NOTE: Regardless of content, this e-mail shall not operate to 
bind CSC to any order or other contract unless pursuant to explicit 
written agreement or government initiative expressly permitting the use of 
e-mail for such purpose.
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------




puchacz <zmychu@wp.pl> 
03/02/2007 01:36 PM
Please respond to
"Struts Users Mailing List" <user@struts.apache.org>


To
user@struts.apache.org
cc

Subject
Re: [S2] Working with other technologies







I was searching in struts 1 lib directory and there is nothing like
"struts-2-{plugin name}-plugin.jar". I found it in Struts 2 but I would 
like
to know how the situation looks in Struts 1.

I know that i am bothering You, but I am a student who's compering
Frameworks and I do this with Struts 1, Spring , and others. PLEASE tell 
me
with what  technologies I can intagrate STRUTS 1 ( all posibilities).
Please :)
 

Dave Newton-4 wrote:
> 
> S1-Spring integration is also quite simple and the
> Spring distro includes several classes that make
> Actions-as-beans configuration trivial.
> 
> --- puchacz <zmychu@wp.pl> wrote:
> 
>> 
>> Ok thank YOu very much for Your answer, but I will
>> ask You for something else
>> :-). All You told me it's for Struts 2, but do You
>> know if there was the
>> same situation with Strus 1 ???
>> 
>> Thanx
>> 
>> Matt Filion wrote:
>> > 
>> > There are a lot of plugins that are shipped with
>> the full struts release 
>> > (if you look at the lib folder they have the name
>> struts-2-{plugin 
>> > name}-plugin.jar). There is one in there for
>> spring and another for JSF.
>> > 
>> > There are also example applications shipped with
>> struts 2 the one I 
>> > suggest you take a look at is the "showcase". It
>> has an example of struts 
>> > 2 with JSF.
>> > 
>> > As far as spring integration my understanding take
>> a look at this link. 
>> > Its says its for "webwork" but struts 2 is based
>> on webwork so it should 
>> > still apply.
>> >
>>
> http://www.learntechnology.net/content/webwork/webwork_crud_lm.jsp
>> > 
>> > If you are really interested in a specific
>> architectural implementation I 
>> > suggest that you just install struts 2 and start
>> playing around with it. 
>> > There is no better way to learn that trying it
>> out. However, from the way 
>> > you worded your question I think you may want to
>> gain a better 
>> > understanding of these specific technologies,
>> since they dont clash the 
>> > way your phrase implies. Both Spring and JSF both
>> compliment a Struts2 
>> > implementation.
>> > 
>> > Matt Filion
>> > CSC - GTS --> Raytheon - ISF
>> > (818) 468-6271
>> > mfilion@csc.com
>> > 
>> > 
>> >
>>
> 
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>> > This is a PRIVATE message. If you are not the
>> intended recipient, please 
>> > delete without copying and kindly advise us by
>> e-mail of the mistake in 
>> > delivery. NOTE: Regardless of content, this e-mail
>> shall not operate to 
>> > bind CSC to any order or other contract unless
>> pursuant to explicit 
>> > written agreement or government initiative
>> expressly permitting the use of 
>> > e-mail for such purpose.
>> >
>>
> 
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>> > 
>> > 
>> > 
>> > 
>> > puchacz <zmychu@wp.pl> 
>> > 03/02/2007 12:10 PM
>> > Please respond to
>> > "Struts Users Mailing List"
>> <user@struts.apache.org>
>> > 
>> > 
>> > To
>> > user@struts.apache.org
>> > cc
>> > 
>> > Subject
>> > Re: [S2] Working with other technologies
>> > 
>> > 
>> > 
>> > 
>> > 
>> > 
>> > 
>> > That I have my project in Struts Technologies ,
>> but I can add some
>> > functionality or component or anything from other
>> Framework technologies
>> > like Spring or JSF
>> > 
>> > Dave Newton-4 wrote:
>> >> 
>> >> --- puchacz <zmychu@wp.pl> wrote:
>> >>> I don't understand. In one article I found
>> >>> information that Spring can be
>> >>> intagrated with Struts, JSF, etc.... And the
>> author
>> >>> wrote that it's diffrent
>> >>> situation than in Struts. And now, You tell me
>> that
>> >>> the same situation is in
>> >>> Struts??? So this guy were telling that Spring
>> is
>> >>> better ???? I don't get
>> >>> it! :)
>> >> 
>> >> You asked an imprecise question, so you got an
>> >> imprecise answer.
>> >> 
>> >> What do you think you mean by "integration"?
>> >> 
>> >> d.
>> >> 
>> >> 
>> >> 
>> >> 
>> >> 
>> >
>>
> 
____________________________________________________________________________________
>> >> No need to miss a message. Get email on-the-go 
>> >> with Yahoo! Mail for Mobile. Get started.
>> >> http://mobile.yahoo.com/mail 
>> >> 
>> >>
>>
> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail:
>> user-unsubscribe@struts.apache.org
>> >> For additional commands, e-mail:
>> user-help@struts.apache.org
>> >> 
>> >> 
>> >> 
>> > 
>> > -- 
>> > View this message in context: 
>> >
>>
> 
http://www.nabble.com/Working-with-other-technologies-tf3334031.html#a9276459

>> > 
>> > Sent from the Struts - User mailing list archive
>> at Nabble.com.
>> > 
>> > 
>> >
>>
> ---------------------------------------------------------------------
>> > To unsubscribe, e-mail:
>> user-unsubscribe@struts.apache.org
>> > For additional commands, e-mail:
>> user-help@struts.apache.org
>> > 
>> > 
>> > 
>> > 
>> 
>> -- 
>> View this message in context:
>>
> 
http://www.nabble.com/Working-with-other-technologies-tf3334031.html#a9277327

>> Sent from the Struts - User mailing list archive at
>> Nabble.com.
>> 
>> 
>>
> ---------------------------------------------------------------------
>> To unsubscribe, e-mail:
>> user-unsubscribe@struts.apache.org
>> For additional commands, e-mail:
>> user-help@struts.apache.org
>> 
>> 
> 
> 
> 
> 
> 
____________________________________________________________________________________
> The fish are biting. 
> Get more visitors on your site using Yahoo! Search Marketing.
> http://searchmarketing.yahoo.com/arp/sponsoredsearch_v2.php
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Working-with-other-technologies-tf3334031.html#a9277867

Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org



Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message