mraible wrote:
>
> On Tue, Sep 8, 2009 at 7:55 AM, measwel
> <marek_karczew...@yahoo.com.au>wrote:
>
>>
>> It does help, thank you. At the moment I lean towards struts2. A couple
>> additional questions:
>>
>> 1) How can I configure netbeans to run appfuse in jetty? Would you
>> recommend
>> using this container as standard?
>>
>
> If you're using NetBean's Maven support, it should be possible to run any
> of
> the Jetty plugin commands from w/in NetBeans. Typically, I run Maven
> commands from the command line and use an IDE as a fancy text editor. When
> I
> need to debug, I use the "remote debugging" support of my IDE, set the
> proper commands in a MAVEN_OPTS environment variable and attach a remote
> debugger to the process.
>
> - I will look into running maven in netbeans. Would you recommend jetty or
> tomcat? What remote debugger do you use?
>
>>
>> 2) As I understand it the main difference between jsf an struts is, that
>> jsf
>> is component based while struts is action based. In the first, we can
>> address the stateful components that get initiated on a per user basis.
>> In
>> the latter case, we map actions to controller methods and the controllers
>> in
>> struts are singletons serving all users? Please excuse if the question is
>> rather simple minded - I am learning.
>>
>
> Struts 2 is quite a bit different than Struts 1 and other servlet-based
> request frameworks. Each controller is "thrown away" after it's
> initialized
> and used for a particular user. This means you could ignore thread-safety
> and store state in member variables, but it's not recommended in case you
> ever want to make a controller into a singleton.
>
> What is meant by 'thrown away'? Does it stay in memory? Can it become
> detached?
> Are the controllers in appfuse implemented as singletons or per user
> basis? What is their lifecycle?
>
>>
>> 3) In the struts libs I do see a code-behind plugin, but not the
>> convention
>> plugin. What is the reason for using the former and not the latter?
>>
>
> I haven't updated Struts 2 support since May of 2008. ;-)
>
> What are the newer technologies that are not used in current appfuse?
> Maybe I could take a shot at reworking the basic appfuse intallation to
> incorporate some of it?
>
> Matt
>
>
>>
>> Regards,
>> MPK
>> --
>> View this message in context:
>> http://www.nabble.com/struts2-basic-not-running-tp25338334s2369p25346744.html
>> Sent from the AppFuse - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
>> For additional commands, e-mail: users-h...@appfuse.dev.java.net
>>
>>
>
>
--
View this message in context:
http://www.nabble.com/struts2-basic-not-running-tp25338334s2369p25348307.html
Sent from the AppFuse - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
For additional commands, e-mail: users-h...@appfuse.dev.java.net